jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Public Member Functions | Static Public Member Functions | List of all members
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 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
 

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

<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.

Member Function Documentation

◆ appendQuery() [1/2]

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

Definition at line 91 of file UriQueryProps.java.

Here is the call graph for this function:

◆ appendQuery() [2/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:

◆ 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 call graph for this function:
Here is the caller graph for this function:

◆ 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.


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