jaulib v1.3.0
Jau Support Library (C++, Java, ..)
|
Helper class to process URI's query, handled as properties. More...
Public Member Functions | |
final Map< String, String > | getProperties () |
final char | getQuerySeparator () |
final Uri.Encoded | appendQuery (Uri.Encoded baseQuery) |
final Uri | appendQuery (final Uri base) throws URISyntaxException |
Static Public Member Functions | |
static final UriQueryProps | create (final Uri uri, final char querySeparator) throws IllegalArgumentException |
Helper class to process URI's query, handled as properties.
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
<p<blockquote>
Since 2.3.0 renamed from URIQueryProps
to UriQueryProps
, and using Uri
instead of java.net.URI
.
Definition at line 49 of file UriQueryProps.java.
final Uri.Encoded org.jau.net.UriQueryProps.appendQuery | ( | Uri.Encoded | baseQuery | ) |
|
static |
uri | |
querySeparator | should be either ; or &, ; is encouraged due to troubles of escaping &. |
IllegalArgumentException | if querySeparator is illegal, i.e. neither ; nor & |
Definition at line 102 of file UriQueryProps.java.
final Map< String, String > org.jau.net.UriQueryProps.getProperties | ( | ) |
Definition at line 61 of file UriQueryProps.java.
final char org.jau.net.UriQueryProps.getQuerySeparator | ( | ) |
Definition at line 62 of file UriQueryProps.java.