- java.lang.Object
-
- swim.uri.UriPart
-
- swim.uri.UriQuery
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UriQuery()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description UriQuery
appended(String value)
UriQuery
appended(String... keyValuePairs)
UriQuery
appended(String key, String value)
UriQuery
appended(Map<? extends String,? extends String> params)
static UriQueryBuilder
builder()
void
clear()
int
compareTo(UriQuery that)
boolean
containsKey(Object key)
boolean
containsValue(Object value)
protected abstract UriQuery
dealias()
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()
boolean
equals(Object other)
static UriQuery
from(Map<? extends String,? extends String> params)
String
get(Object key)
int
hashCode()
abstract Map.Entry<String,String>
head()
abstract boolean
isDefined()
abstract boolean
isEmpty()
Iterator<Map.Entry<String,String>>
iterator()
abstract String
key()
Set<String>
keySet()
static UriQuery
of(String... keyValuePairs)
static UriQuery
param(String value)
static UriQuery
param(String key, String value)
static UriQuery
parse(String string)
UriQuery
prepended(String value)
UriQuery
prepended(String... keyValuePairs)
UriQuery
prepended(String key, String value)
UriQuery
prepended(Map<? extends String,? extends String> params)
String
put(String key, String value)
void
putAll(Map<? extends String,? extends String> params)
String
remove(Object key)
UriQuery
removed(String key)
protected abstract void
setTail(UriQuery tail)
int
size()
abstract UriQuery
tail()
abstract String
toString()
static UriQuery
undefined()
UriQuery
updated(String key, String value)
abstract String
value()
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:
containsKey
in interfaceMap<String,String>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<String,String>
-
compareTo
public final int compareTo(UriQuery that)
- Specified by:
compareTo
in 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:Debug
Writes 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:Display
Writes a human readable, display-formatted string representation of this object tooutput
.
-
undefined
public static UriQuery undefined()
-
builder
public static UriQueryBuilder builder()
-
-