java.lang.Object
io.helidon.nima.webclient.UriHelper
Helper for client URI handling.
-
Method Summary
Modifier and TypeMethodDescriptionAuthority of this URI.static UriHelpercreate()Create an empty URI helper.static UriHelpercreate(URI baseUri, UriQueryWriteable query) Create a new helper.host()Host of this URI.path()Path of this URI.pathWithQuery(UriQuery query) Encoded path with query.intport()Port of this URI.voidresolve(URI uri, UriQueryWriteable query) Resolve the provided URI against this URI and extract query from it.scheme()Scheme of this URI.toString()
-
Method Details
-
create
Create an empty URI helper.- Returns:
- uri helper
-
create
Create a new helper.- Parameters:
baseUri- base URIquery- query to extract query parmaters into- Returns:
- uri helper
-
toString
-
resolve
Resolve the provided URI against this URI and extract query from it.- Parameters:
uri- URI to usequery- query to configure from the provided URI
-
scheme
Scheme of this URI.- Returns:
- scheme
-
authority
Authority of this URI.- Returns:
- authority
-
host
Host of this URI.- Returns:
- host
-
port
public int port()Port of this URI.- Returns:
- port
-
path
Path of this URI.- Returns:
- path
-
pathWithQuery
Encoded path with query.- Parameters:
query- query to use- Returns:
- string containing encoded path with query
-