jaulib v1.5.0
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
org.jau.net.UriQueryProps Class Reference

Helper class to process URI's query, handled as properties. More...

Collaboration diagram for org.jau.net.UriQueryProps:

Public Member Functions

final Uri appendQuery (final Uri base) throws URISyntaxException
 
final Uri.Encoded appendQuery (Uri.Encoded baseQuery)
 
final Map< String, String > getProperties ()
 
final char getQuerySeparator ()
 

Static Public Member Functions

static final UriQueryProps create (final Uri uri, final char querySeparator) throws IllegalArgumentException
 

Detailed Description

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

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.

Member Function Documentation

◆ getProperties()

final Map< String, String > org.jau.net.UriQueryProps.getProperties ( )

Definition at line 61 of file UriQueryProps.java.

◆ getQuerySeparator()

final char org.jau.net.UriQueryProps.getQuerySeparator ( )

Definition at line 62 of file UriQueryProps.java.

◆ appendQuery() [1/2]

final Uri.Encoded org.jau.net.UriQueryProps.appendQuery ( Uri.Encoded baseQuery)

Definition at line 64 of file UriQueryProps.java.

Here is the caller graph for this function:

◆ appendQuery() [2/2]

final Uri org.jau.net.UriQueryProps.appendQuery ( final Uri base) throws URISyntaxException

Definition at line 91 of file UriQueryProps.java.

◆ create()

static final UriQueryProps org.jau.net.UriQueryProps.create ( final Uri uri,
final char querySeparator ) throws IllegalArgumentException
static
Parameters
uri
querySeparatorshould be either ; or &, ; is encouraged due to troubles of escaping &.
Returns
Exceptions
IllegalArgumentExceptionif querySeparator is illegal, i.e. neither ; nor &

Definition at line 102 of file UriQueryProps.java.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: