public final class URIQuery
extends java.lang.Object
?param=value¶m2=value2
in the URL.Constructor and Description |
---|
URIQuery(java.util.Map<java.lang.String,java.lang.String> byKey) |
URIQuery(java.lang.String fromURI) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asString() |
java.util.Optional<java.lang.String> |
get(java.lang.String key)
Obtain an URI parameter by key.
|
java.lang.String |
toString() |
public URIQuery(java.util.Map<java.lang.String,java.lang.String> byKey)
public URIQuery(java.lang.String fromURI)
public java.util.Optional<java.lang.String> get(java.lang.String key)
key
- Case-sensitive key, eg. 'param' in ?param=value¶m2=value2
public java.lang.String asString()
public java.lang.String toString()
toString
in class java.lang.Object