Package | Description |
---|---|
javax.ws.rs.client |
The JAX-RS client API
|
Modifier and Type | Method and Description |
---|---|
Invocation.Builder |
Invocation.Builder.accept(MediaType... mediaTypes)
Add the accepted response media types.
|
Invocation.Builder |
Invocation.Builder.accept(String... mediaTypes)
Add the accepted response media types.
|
Invocation.Builder |
Invocation.Builder.acceptEncoding(String... encodings)
Add acceptable encodings.
|
Invocation.Builder |
Invocation.Builder.acceptLanguage(Locale... locales)
Add acceptable languages.
|
Invocation.Builder |
Invocation.Builder.acceptLanguage(String... locales)
Add acceptable languages.
|
Invocation.Builder |
Invocation.Builder.cacheControl(CacheControl cacheControl)
Set the cache control data of the message.
|
Invocation.Builder |
Invocation.Builder.cookie(Cookie cookie)
Add a cookie to be set.
|
Invocation.Builder |
Invocation.Builder.cookie(String name,
String value)
Add a cookie to be set.
|
Invocation.Builder |
Invocation.Builder.header(String name,
Object value)
Add an arbitrary header.
|
Invocation.Builder |
Invocation.Builder.headers(MultivaluedMap<String,Object> headers)
Replaces all existing headers with the newly supplied headers.
|
Invocation.Builder |
Client.invocation(Link link)
Build an invocation builder from a link.
|
Invocation.Builder |
Invocation.Builder.property(String name,
Object value)
Set a new property in the context of a request represented by this invocation builder.
|
Invocation.Builder |
WebTarget.request()
Start building a request to the targeted web resource.
|
Invocation.Builder |
WebTarget.request(MediaType... acceptedResponseTypes)
Start building a request to the targeted web resource and define the accepted
response media types.
|
Invocation.Builder |
WebTarget.request(String... acceptedResponseTypes)
Start building a request to the targeted web resource and define the accepted
response media types.
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.