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
Since 2.3.0 renamed from URIQueryProps
to UriQueryProps
,
and using Uri
instead of URI
.
Modifier and Type | Method and Description |
---|---|
Uri.Encoded |
appendQuery(Uri.Encoded baseQuery) |
Uri |
appendQuery(Uri base) |
static UriQueryProps |
create(Uri uri,
char querySeparator) |
Map<String,String> |
getProperties() |
char |
getQuerySeparator() |
public final char getQuerySeparator()
public final Uri.Encoded appendQuery(Uri.Encoded baseQuery)
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 &