Uses of Class
jakarta.ws.rs.core.UriBuilder
Packages that use 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
Methods in jakarta.ws.rs that return UriBuilderModifier and TypeMethodDescriptiondefault UriBuilderSeBootstrap.Configuration.baseUriBuilder()Returns aUriBuilderthat includes the application root path. -
Uses of UriBuilder in jakarta.ws.rs.client
Methods in jakarta.ws.rs.client that return UriBuilderModifier and TypeMethodDescriptionWebTarget.getUriBuilder()Get the URI builder initialized with theURIof the current resource target.Methods in jakarta.ws.rs.client with parameters of type UriBuilderModifier and TypeMethodDescriptionClient.target(UriBuilder uriBuilder) Build a new web resource target. -
Uses of UriBuilder in jakarta.ws.rs.core
Methods in jakarta.ws.rs.core that return UriBuilderModifier and TypeMethodDescriptionabstract UriBuilderUriBuilder.clone()Create a copy of the UriBuilder preserving its state.abstract UriBuilderSet the URI fragment.static UriBuilderCreate a new instance initialized from a Link.static UriBuilderUriBuilder.fromMethod(Class<?> resource, String method) Create a new instance representing a relative URI initialized from aPath-annotated method.static UriBuilderCreate a new instance representing a relative URI initialized from a URI path.static UriBuilderUriBuilder.fromResource(Class<?> resource) Create a new instance representing a relative URI initialized from a root resource class.static UriBuilderCreate a new instance initialized from an existing URI.static UriBuilderCreate 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 UriBuilderLink.getUriBuilder()Convenience method that returns aUriBuilderinitialized with this link's underlying URI.abstract UriBuilderSet the URI host.abstract UriBuilderUriBuilder.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 UriBuilderUriBuilder.newInstance()Creates a new instance of UriBuilder.abstract UriBuilderAppend the path from a Path-annotated class to the existing path.abstract UriBuilderAppend the path from a Path-annotated method to the existing path.abstract UriBuilderAppend the path from aPath-annotated method to the existing path.abstract UriBuilderAppend path to the existing path.abstract UriBuilderUriBuilder.port(int port) Set the URI port.abstract UriBuilderUriBuilder.queryParam(String name, Object... values) Append a query parameter to the existing set of query parameters.abstract UriBuilderUriBuilder.replaceMatrix(String matrix) Set the matrix parameters of the current final segment of the current URI path.abstract UriBuilderUriBuilder.replaceMatrixParam(String name, Object... values) Replace the existing value(s) of a matrix parameter on the current final segment of the URI path.abstract UriBuilderUriBuilder.replacePath(String path) Set the URI path.abstract UriBuilderUriBuilder.replaceQuery(String query) Set the URI query string.abstract UriBuilderUriBuilder.replaceQueryParam(String name, Object... values) Replace the existing value(s) of a query parameter.abstract UriBuilderUriBuilder.resolveTemplate(String name, Object value) Resolve a URI template with a givennamein thisUriBuilderinstance using a supplied value.abstract UriBuilderUriBuilder.resolveTemplate(String name, Object value, boolean encodeSlashInPath) Resolve a URI template with a givennamein thisUriBuilderinstance using a supplied value.abstract UriBuilderUriBuilder.resolveTemplateFromEncoded(String name, Object value) Resolve a URI template with a givennamein thisUriBuilderinstance using a supplied encoded value.abstract UriBuilderUriBuilder.resolveTemplates(Map<String, Object> templateValues) Resolve one or more URI templates in thisUriBuilderinstance using supplied name-value pairs.abstract UriBuilderUriBuilder.resolveTemplates(Map<String, Object> templateValues, boolean encodeSlashInPath) Resolve one or more URI templates in thisUriBuilderinstance using supplied name-value pairs.abstract UriBuilderUriBuilder.resolveTemplatesFromEncoded(Map<String, Object> templateValues) Resolve one or more URI templates in thisUriBuilderinstance using supplied name-value pairs.abstract UriBuilderSet the URI scheme.abstract UriBuilderUriBuilder.schemeSpecificPart(String ssp) Set the URI scheme-specific-part (seeURI).abstract UriBuilderAppend path segments to the existing path.abstract UriBuilderParses theuriTemplatestring and copies the parsed components of the supplied URI to the UriBuilder replacing any existing values for those components.abstract UriBuilderCopies the non-null components of the supplied URI to the UriBuilder replacing any existing values for those components.abstract UriBuilderSet the URI user-info.Methods in jakarta.ws.rs.core with parameters of type UriBuilderModifier and TypeMethodDescriptionstatic Link.BuilderLink.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
Methods in jakarta.ws.rs.ext that return UriBuilderModifier and TypeMethodDescriptionabstract UriBuilderRuntimeDelegate.createUriBuilder()Create a new instance of aUriBuilder.