Uses of Class
jakarta.ws.rs.core.UriBuilder
Package
Description
High-level interfaces and annotations used to create RESTful service resources.
The JAX-RS client API
Low-level interfaces and annotations used to create RESTful service resources.
APIs that provide extensions to the types supported by the JAX-RS API.
-
Uses of UriBuilder in jakarta.ws.rs
Modifier and TypeMethodDescriptiondefault UriBuilder
SeBootstrap.Configuration.baseUriBuilder()
Returns aUriBuilder
that includes the application root path. -
Uses of UriBuilder in jakarta.ws.rs.client
Modifier and TypeMethodDescriptionWebTarget.getUriBuilder()
Get the URI builder initialized with theURI
of the current resource target.Modifier and TypeMethodDescriptionClient.target
(UriBuilder uriBuilder) Build a new web resource target. -
Uses of UriBuilder in jakarta.ws.rs.core
Modifier and TypeMethodDescriptionabstract UriBuilder
UriBuilder.clone()
Create a copy of the UriBuilder preserving its state.abstract UriBuilder
Set the URI fragment.static UriBuilder
Create a new instance initialized from a Link.static UriBuilder
UriBuilder.fromMethod
(Class<?> resource, String method) Create a new instance representing a relative URI initialized from aPath
-annotated method.static UriBuilder
Create a new instance representing a relative URI initialized from a URI path.static UriBuilder
UriBuilder.fromResource
(Class<?> resource) Create a new instance representing a relative URI initialized from a root resource class.static UriBuilder
Create a new instance initialized from an existing URI.static UriBuilder
Create a new instance initialized from an existing URI.UriInfo.getAbsolutePathBuilder()
Get the absolute path of the request in the form of a UriBuilder.UriInfo.getBaseUriBuilder()
Get the base URI of the application in the form of a UriBuilder.UriInfo.getRequestUriBuilder()
Get the absolute request URI in the form of a UriBuilder.abstract UriBuilder
Link.getUriBuilder()
Convenience method that returns aUriBuilder
initialized with this link's underlying URI.abstract UriBuilder
Set the URI host.abstract UriBuilder
UriBuilder.matrixParam
(String name, Object... values) Append a matrix parameter to the existing set of matrix parameters of the current final segment of the URI path.static UriBuilder
UriBuilder.newInstance()
Creates a new instance of UriBuilder.abstract UriBuilder
Append the path from a Path-annotated class to the existing path.abstract UriBuilder
Append the path from a Path-annotated method to the existing path.abstract UriBuilder
Append the path from aPath
-annotated method to the existing path.abstract UriBuilder
Append path to the existing path.abstract UriBuilder
UriBuilder.port
(int port) Set the URI port.abstract UriBuilder
UriBuilder.queryParam
(String name, Object... values) Append a query parameter to the existing set of query parameters.abstract UriBuilder
UriBuilder.replaceMatrix
(String matrix) Set the matrix parameters of the current final segment of the current URI path.abstract UriBuilder
UriBuilder.replaceMatrixParam
(String name, Object... values) Replace the existing value(s) of a matrix parameter on the current final segment of the URI path.abstract UriBuilder
UriBuilder.replacePath
(String path) Set the URI path.abstract UriBuilder
UriBuilder.replaceQuery
(String query) Set the URI query string.abstract UriBuilder
UriBuilder.replaceQueryParam
(String name, Object... values) Replace the existing value(s) of a query parameter.abstract UriBuilder
UriBuilder.resolveTemplate
(String name, Object value) Resolve a URI template with a givenname
in thisUriBuilder
instance using a supplied value.abstract UriBuilder
UriBuilder.resolveTemplate
(String name, Object value, boolean encodeSlashInPath) Resolve a URI template with a givenname
in thisUriBuilder
instance using a supplied value.abstract UriBuilder
UriBuilder.resolveTemplateFromEncoded
(String name, Object value) Resolve a URI template with a givenname
in thisUriBuilder
instance using a supplied encoded value.abstract UriBuilder
UriBuilder.resolveTemplates
(Map<String, Object> templateValues) Resolve one or more URI templates in thisUriBuilder
instance using supplied name-value pairs.abstract UriBuilder
UriBuilder.resolveTemplates
(Map<String, Object> templateValues, boolean encodeSlashInPath) Resolve one or more URI templates in thisUriBuilder
instance using supplied name-value pairs.abstract UriBuilder
UriBuilder.resolveTemplatesFromEncoded
(Map<String, Object> templateValues) Resolve one or more URI templates in thisUriBuilder
instance using supplied name-value pairs.abstract UriBuilder
Set the URI scheme.abstract UriBuilder
UriBuilder.schemeSpecificPart
(String ssp) Set the URI scheme-specific-part (seeURI
).abstract UriBuilder
Append path segments to the existing path.abstract UriBuilder
Parses theuriTemplate
string and copies the parsed components of the supplied URI to the UriBuilder replacing any existing values for those components.abstract UriBuilder
Copies the non-null components of the supplied URI to the UriBuilder replacing any existing values for those components.abstract UriBuilder
Set the URI user-info.Modifier and TypeMethodDescriptionstatic Link.Builder
Link.fromUriBuilder
(UriBuilder uriBuilder) Create a new builder instance initialized from a URI builder.Link.Builder.uriBuilder
(UriBuilder uriBuilder) Set underlying URI builder representing the URI template for the link being constructed. -
Uses of UriBuilder in jakarta.ws.rs.ext
Modifier and TypeMethodDescriptionabstract UriBuilder
RuntimeDelegate.createUriBuilder()
Create a new instance of aUriBuilder
.