Uses of Class
jakarta.ws.rs.core.UriBuilder
| Package | Description |
|---|---|
| jakarta.ws.rs.client |
The JAX-RS client API
|
| jakarta.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service resources.
|
| jakarta.ws.rs.ext |
APIs that provide extensions to the types supported by the JAX-RS API.
|
-
Uses of UriBuilder in jakarta.ws.rs.client
Methods in jakarta.ws.rs.client that return UriBuilder Modifier and Type Method Description UriBuilderWebTarget. getUriBuilder()Get the URI builder initialized with theURIof the current resource target.Methods in jakarta.ws.rs.client with parameters of type UriBuilder Modifier and Type Method Description WebTargetClient. 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 UriBuilder Modifier and Type Method Description abstract UriBuilderUriBuilder. clone()Create a copy of the UriBuilder preserving its state.abstract UriBuilderUriBuilder. fragment(String fragment)Set the URI fragment.static UriBuilderUriBuilder. fromLink(Link link)Create 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 UriBuilderUriBuilder. fromPath(String path)Create 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 UriBuilderUriBuilder. fromUri(String uriTemplate)Create a new instance initialized from an existing URI.static UriBuilderUriBuilder. fromUri(URI uri)Create a new instance initialized from an existing URI.UriBuilderUriInfo. getAbsolutePathBuilder()Get the absolute path of the request in the form of a UriBuilder.UriBuilderUriInfo. getBaseUriBuilder()Get the base URI of the application in the form of a UriBuilder.UriBuilderUriInfo. 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 UriBuilderUriBuilder. host(String host)Set 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 UriBuilderUriBuilder. path(Class resource)Append the path from a Path-annotated class to the existing path.abstract UriBuilderUriBuilder. path(Class resource, String method)Append the path from a Path-annotated method to the existing path.abstract UriBuilderUriBuilder. path(Method method)Append the path from aPath-annotated method to the existing path.abstract UriBuilderUriBuilder. path(String path)Append 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 UriBuilderUriBuilder. scheme(String scheme)Set the URI scheme.abstract UriBuilderUriBuilder. schemeSpecificPart(String ssp)Set the URI scheme-specific-part (seeURI).abstract UriBuilderUriBuilder. segment(String... segments)Append path segments to the existing path.abstract UriBuilderUriBuilder. uri(String uriTemplate)Parses theuriTemplatestring and copies the parsed components of the supplied URI to the UriBuilder replacing any existing values for those components.abstract UriBuilderUriBuilder. uri(URI uri)Copies the non-null components of the supplied URI to the UriBuilder replacing any existing values for those components.abstract UriBuilderUriBuilder. userInfo(String ui)Set the URI user-info.Methods in jakarta.ws.rs.core with parameters of type UriBuilder Modifier and Type Method Description static Link.BuilderLink. fromUriBuilder(UriBuilder uriBuilder)Create a new builder instance initialized from a URI builder.Link.BuilderLink.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 UriBuilder Modifier and Type Method Description abstract UriBuilderRuntimeDelegate. createUriBuilder()Create a new instance of aUriBuilder.