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.
|
Modifier and Type | Method and Description |
---|---|
UriBuilder |
WebTarget.getUriBuilder()
Get the URI builder initialized with the
URI of the current resource target. |
Modifier and Type | Method and Description |
---|---|
WebTarget |
Client.target(UriBuilder uriBuilder)
Build a new web resource target.
|
Modifier and Type | Method and Description |
---|---|
abstract UriBuilder |
UriBuilder.clone()
Create a copy of the UriBuilder preserving its state.
|
abstract UriBuilder |
UriBuilder.fragment(String fragment)
Set the URI fragment.
|
static UriBuilder |
UriBuilder.fromLink(Link link)
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 a
Path -annotated method. |
static UriBuilder |
UriBuilder.fromPath(String path)
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 |
UriBuilder.fromUri(String uriTemplate)
Create a new instance initialized from an existing URI.
|
static UriBuilder |
UriBuilder.fromUri(URI uri)
Create a new instance initialized from an existing URI.
|
UriBuilder |
UriInfo.getAbsolutePathBuilder()
Get the absolute path of the request in the form of a UriBuilder.
|
UriBuilder |
UriInfo.getBaseUriBuilder()
Get the base URI of the application in the form of a UriBuilder.
|
UriBuilder |
UriInfo.getRequestUriBuilder()
Get the absolute request URI in the form of a UriBuilder.
|
abstract UriBuilder |
Link.getUriBuilder()
Convenience method that returns a
UriBuilder initialized with this link's underlying URI. |
abstract UriBuilder |
UriBuilder.host(String host)
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 |
UriBuilder.path(Class resource)
Append the path from a Path-annotated class to the existing path.
|
abstract UriBuilder |
UriBuilder.path(Class resource,
String method)
Append the path from a Path-annotated method to the existing path.
|
abstract UriBuilder |
UriBuilder.path(Method method)
Append the path from a
Path -annotated method to the existing path. |
abstract UriBuilder |
UriBuilder.path(String path)
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 given
name in this UriBuilder instance using a supplied value. |
abstract UriBuilder |
UriBuilder.resolveTemplate(String name,
Object value,
boolean encodeSlashInPath)
Resolve a URI template with a given
name in this UriBuilder instance using a supplied value. |
abstract UriBuilder |
UriBuilder.resolveTemplateFromEncoded(String name,
Object value)
Resolve a URI template with a given
name in this UriBuilder instance using a supplied encoded value. |
abstract UriBuilder |
UriBuilder.resolveTemplates(Map<String,Object> templateValues)
Resolve one or more URI templates in this
UriBuilder instance using supplied name-value pairs. |
abstract UriBuilder |
UriBuilder.resolveTemplates(Map<String,Object> templateValues,
boolean encodeSlashInPath)
Resolve one or more URI templates in this
UriBuilder instance using supplied name-value pairs. |
abstract UriBuilder |
UriBuilder.resolveTemplatesFromEncoded(Map<String,Object> templateValues)
Resolve one or more URI templates in this
UriBuilder instance using supplied name-value pairs. |
abstract UriBuilder |
UriBuilder.scheme(String scheme)
Set the URI scheme.
|
abstract UriBuilder |
UriBuilder.schemeSpecificPart(String ssp)
Set the URI scheme-specific-part (see
URI ). |
abstract UriBuilder |
UriBuilder.segment(String... segments)
Append path segments to the existing path.
|
abstract UriBuilder |
UriBuilder.uri(String uriTemplate)
Parses the
uriTemplate string and copies the parsed components of the supplied URI to the UriBuilder
replacing any existing values for those components. |
abstract UriBuilder |
UriBuilder.uri(URI uri)
Copies the non-null components of the supplied URI to the UriBuilder replacing any existing values for those
components.
|
abstract UriBuilder |
UriBuilder.userInfo(String ui)
Set the URI user-info.
|
Modifier and Type | Method and Description |
---|---|
static Link.Builder |
Link.fromUriBuilder(UriBuilder uriBuilder)
Create a new builder instance initialized from a URI builder.
|
Link.Builder |
Link.Builder.uriBuilder(UriBuilder uriBuilder)
Set underlying URI builder representing the URI template for the link being constructed.
|
Modifier and Type | Method and Description |
---|---|
abstract UriBuilder |
RuntimeDelegate.createUriBuilder()
Create a new instance of a
UriBuilder . |
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.