Package | Description |
---|---|
javax.ws.rs.client |
The JAX-RS client API
|
javax.ws.rs.sse |
Server-Sent Events related API.
|
Modifier and Type | Method and Description |
---|---|
WebTarget |
WebTarget.matrixParam(String name,
Object... values)
Create a new
WebTarget instance by appending a matrix parameter to
the existing set of matrix parameters of the current final segment of the
URI of the current target instance. |
WebTarget |
WebTarget.path(String path)
Create a new
WebTarget instance by appending path to the URI of
the current target instance. |
WebTarget |
WebTarget.queryParam(String name,
Object... values)
Create a new
WebTarget instance by configuring a query parameter on the URI
of the current target instance. |
WebTarget |
WebTarget.resolveTemplate(String name,
Object value)
Create a new
WebTarget instance by resolving a URI template with a given name
in the URI of the current target instance using a supplied value. |
WebTarget |
WebTarget.resolveTemplate(String name,
Object value,
boolean encodeSlashInPath)
Create a new
WebTarget instance by resolving a URI template with a given name
in the URI of the current target instance using a supplied value. |
WebTarget |
WebTarget.resolveTemplateFromEncoded(String name,
Object value)
Create a new
WebTarget instance by resolving a URI template with a given name
in the URI of the current target instance using a supplied encoded value. |
WebTarget |
WebTarget.resolveTemplates(Map<String,Object> templateValues)
Create a new
WebTarget instance by resolving one or more URI templates
in the URI of the current target instance using supplied name-value pairs. |
WebTarget |
WebTarget.resolveTemplates(Map<String,Object> templateValues,
boolean encodeSlashInPath)
Create a new
WebTarget instance by resolving one or more URI templates
in the URI of the current target instance using supplied name-value pairs. |
WebTarget |
WebTarget.resolveTemplatesFromEncoded(Map<String,Object> templateValues)
Create a new
WebTarget instance by resolving one or more URI templates
in the URI of the current target instance using supplied name-encoded value pairs. |
WebTarget |
Client.target(Link link)
Build a new web resource target.
|
WebTarget |
Client.target(String uri)
Build a new web resource target.
|
WebTarget |
Client.target(URI uri)
Build a new web resource target.
|
WebTarget |
Client.target(UriBuilder uriBuilder)
Build a new web resource target.
|
Modifier and Type | Method and Description |
---|---|
static SseEventSource.Builder |
SseEventSource.target(WebTarget endpoint)
Create a new
event source builder that provides convenient way how to
configure and fine-tune various aspects of a newly prepared event source instance. |
protected abstract SseEventSource.Builder |
SseEventSource.Builder.target(WebTarget endpoint) |
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.