java.lang.Object
io.helidon.webclient.api.ClientUri
- All Implemented Interfaces:
- Prototype.Api,- UriInfo
URI abstraction for WebClient.
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.helidon.common.uri.UriInfoUriInfo.Builder, UriInfo.BuilderBase<BUILDER extends UriInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends UriInfo> 
- 
Method SummaryModifier and TypeMethodDescriptionstatic ClientUricreate()Create an empty URI helper.static ClientUriCreate a new client uri.static ClientUriCreate a new client uri.static ClientUriCreate a new client URI from an existing URI.fragment()Uri Fragment of the request.fragment(UriFragment fragment) Configure the fragment for this URI.Configure the fragment for this URI, using its decoded form ("human readable").host()Host part of authority of the request.Host of this URI.path()Path of the request.Path of this URI.Encoded path with query and fragment.intport()Port part of authority of the request.port(int port) Port of this URI.query()URI Query of the request.Replaces the current URI with values from the provided URI.Resolve the provided URI against this URI.resolvePath(String path) Resolve the provided path against the current path of this URI.scheme()Scheme of the request (http,https).Scheme of this URI.skipUriEncoding(boolean skipUriEncoding) Whether to skip uri encoding.toString()toUri()Convert instance toURI.URI query that can update values.
- 
Method Details- 
createCreate an empty URI helper.- Returns:
- uri helper
 
- 
createCreate a new client uri.- Parameters:
- baseUri- base URI
- Returns:
- a new client uri
 
- 
createCreate a new client uri.- Parameters:
- baseUri- base URI
- Returns:
- a new client uri
 
- 
createCreate a new client URI from an existing URI.- Parameters:
- baseUri- base URI
- Returns:
- a new client uri
 
- 
toString
- 
toUriConvert instance toURI.- Returns:
- the converted URI
 
- 
schemeScheme of this URI.- Parameters:
- scheme- to use (such as- http)
- Returns:
- updated instance
 
- 
hostHost of this URI.- Parameters:
- host- to connect to
- Returns:
- updated instance
 
- 
portPort of this URI.- Parameters:
- port- to connect to
- Returns:
- updated instance
 
- 
pathPath of this URI.- Parameters:
- path- path to use
- Returns:
- updated instance
 
- 
skipUriEncodingWhether to skip uri encoding.- Parameters:
- skipUriEncoding- skip uri encoding
- Returns:
- updated instance
 
- 
resolveResolve the provided URI against this URI.- Parameters:
- uri- URI to use
- Returns:
- updated instance
 
- 
resolvePathResolve the provided path against the current path of this URI.- Parameters:
- path- to resolve
- Returns:
- updated URI
 
- 
resolveReplaces the current URI with values from the provided URI.- Parameters:
- uri- URI to use
- Returns:
- updated instance
 
- 
schemeDescription copied from interface:UriInfoScheme of the request (http,https).
- 
hostDescription copied from interface:UriInfoHost part of authority of the request.
- 
queryDescription copied from interface:UriInfoURI Query of the request.
- 
fragmentDescription copied from interface:UriInfoUri Fragment of the request.
- 
authority
- 
portpublic int port()Description copied from interface:UriInfoPort part of authority of the request. If port is not defined (e.g. authority without a port is used, or none is configured), the default port is used based on the definedUriInfo.scheme()- forhttpthe port would be80, and forhttpsthe port would be443. If the scheme is different, if it ends withs, port would be443, otherwise80.
- 
pathDescription copied from interface:UriInfoPath of the request.
- 
fragmentConfigure the fragment for this URI.- Parameters:
- fragment- fragment to use
- Returns:
- updated URI
 
- 
fragmentConfigure the fragment for this URI, using its decoded form ("human readable"). If you have an encoded fragment, please usefragment(io.helidon.common.uri.UriFragment).- Parameters:
- fragment- decoded fragment
- Returns:
- updated URI
 
- 
writeableQueryURI query that can update values.- Returns:
- writeable query
 
- 
pathWithQueryAndFragmentEncoded path with query and fragment.- Returns:
- string containing encoded path with query
 
 
-