- java.lang.Object
-
- swim.uri.UriPart
-
- swim.uri.UriQuery
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUriQuery()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description UriQueryappended(String value)UriQueryappended(String... keyValuePairs)UriQueryappended(String key, String value)UriQueryappended(Map<? extends String,? extends String> params)static UriQueryBuilderbuilder()voidclear()intcompareTo(UriQuery that)booleancontainsKey(Object key)booleancontainsValue(Object value)protected abstract UriQuerydealias()abstract <T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.abstract <T> Output<T>display(Output<T> output)Writes a human readable, display-formatted string representation of this object tooutput.Set<Map.Entry<String,String>>entrySet()booleanequals(Object other)static UriQueryfrom(Map<? extends String,? extends String> params)Stringget(Object key)inthashCode()abstract Map.Entry<String,String>head()abstract booleanisDefined()abstract booleanisEmpty()Iterator<Map.Entry<String,String>>iterator()abstract Stringkey()Set<String>keySet()static UriQueryof(String... keyValuePairs)static UriQueryparam(String value)static UriQueryparam(String key, String value)static UriQueryparse(String string)UriQueryprepended(String value)UriQueryprepended(String... keyValuePairs)UriQueryprepended(String key, String value)UriQueryprepended(Map<? extends String,? extends String> params)Stringput(String key, String value)voidputAll(Map<? extends String,? extends String> params)Stringremove(Object key)UriQueryremoved(String key)protected abstract voidsetTail(UriQuery tail)intsize()abstract UriQuerytail()abstract StringtoString()static UriQueryundefined()UriQueryupdated(String key, String value)abstract Stringvalue()Collection<String>values()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
isDefined
public abstract boolean isDefined()
-
key
public abstract String key()
-
value
public abstract String value()
-
tail
public abstract UriQuery tail()
-
setTail
protected abstract void setTail(UriQuery tail)
-
dealias
protected abstract UriQuery dealias()
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,String>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,String>
-
compareTo
public final int compareTo(UriQuery that)
- Specified by:
compareToin interfaceComparable<UriQuery>
-
equals
public final boolean equals(Object other)
-
hashCode
public final int hashCode()
-
debug
public abstract <T> Output<T> debug(Output<T> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
display
public abstract <T> Output<T> display(Output<T> output)
Description copied from interface:DisplayWrites a human readable, display-formatted string representation of this object tooutput.
-
undefined
public static UriQuery undefined()
-
builder
public static UriQueryBuilder builder()
-
-