public class URIQueryProps extends Object
The order of the URI segments (any properties) are not preserved.
URI: [scheme:][//authority][path][?query][#fragment] w/ authority: [user-info@]host[:port] Note: 'path' starts w/ fwd slash
Modifier and Type | Method and Description |
---|---|
String |
appendQuery(String baseQuery) |
URI |
appendQuery(URI base) |
static URIQueryProps |
create(URI uri,
char querySeparator) |
Map<String,String> |
getProperties() |
char |
getQuerySeparator() |
public final char getQuerySeparator()
public final String appendQuery(String baseQuery) throws URISyntaxException
URISyntaxException
public final URI appendQuery(URI base) throws URISyntaxException
URISyntaxException
public static final URIQueryProps create(URI uri, char querySeparator) throws IllegalArgumentException
uri
- querySeparator
- should be either ; or &, ; is encouraged due to troubles of escaping &.IllegalArgumentException
- if querySeparator
is illegal, i.e. neither ; nor &