Package | Description |
---|---|
org.apache.cxf.jaxrs.client |
Modifier and Type | Class and Description |
---|---|
class |
AbstractClient
Common proxy and http-centric client implementation
|
class |
ClientProxyImpl
Proxy-based client implementation
|
class |
WebClient
Http-centric web client
|
Modifier and Type | Method and Description |
---|---|
Client |
AbstractClient.accept(javax.ws.rs.core.MediaType... types)
sets HTTP Accept header
|
Client |
Client.accept(javax.ws.rs.core.MediaType... types)
sets HTTP Accept header
|
Client |
AbstractClient.accept(String... types)
sets HTTP Accept header
|
Client |
Client.accept(String... types)
sets HTTP Accept header
|
Client |
AbstractClient.acceptEncoding(String... encs)
sets HTTP Accept-Encoding header
|
Client |
Client.acceptEncoding(String... encodings)
sets HTTP Accept-Encoding header
|
Client |
AbstractClient.acceptLanguage(String... languages)
sets HTTP Accept-Language header
|
Client |
Client.acceptLanguage(String... languages)
sets HTTP Accept-Language header
|
static Client |
WebClient.client(Object object)
Converts object to Client
|
Client |
AbstractClient.cookie(javax.ws.rs.core.Cookie cookie)
sets HTTP Cookie header
|
Client |
Client.cookie(javax.ws.rs.core.Cookie cookie)
sets HTTP Cookie header
|
Client |
JAXRSClientFactoryBean.create()
Create a Client instance.
|
Client |
JAXRSClientFactoryBean.createWithValues(Object... varValues)
Create a Client instance.
|
Client |
AbstractClient.encoding(String enc)
sets HTTP Content-Encoding header
|
Client |
Client.encoding(String encoding)
sets HTTP Content-Encoding header
|
Client |
AbstractClient.header(String name,
Object... values)
Sets arbitrary HTTP Header
|
Client |
Client.header(String name,
Object... values)
Sets arbitrary HTTP Header
|
Client |
AbstractClient.headers(javax.ws.rs.core.MultivaluedMap<String,String> map)
Sets HTTP Headers
|
Client |
Client.headers(javax.ws.rs.core.MultivaluedMap<String,String> map)
Sets HTTP Headers
|
Client |
AbstractClient.language(String language)
sets HTTP Content-Language header
|
Client |
Client.language(String language)
sets HTTP Content-Language header
|
Client |
AbstractClient.match(javax.ws.rs.core.EntityTag tag,
boolean ifNot)
sets HTTP If-Match or If-None-Match header
|
Client |
Client.match(javax.ws.rs.core.EntityTag tag,
boolean ifNot)
sets HTTP If-Match or If-None-Match header
|
Client |
AbstractClient.modified(Date date,
boolean ifNot)
sets HTTP If-Modified-Since or If-Unmodified-Since header
|
Client |
Client.modified(Date date,
boolean ifNot)
sets HTTP If-Modified-Since or If-Unmodified-Since header
|
Client |
AbstractClient.query(String name,
Object... values)
Updates the current URI query parameters
|
Client |
Client.query(String name,
Object... values)
Updates the current URI query parameters
|
Client |
AbstractClient.reset()
Resets the headers and response state if any
|
Client |
Client.reset()
Resets the headers and response state if any
|
Client |
AbstractClient.type(javax.ws.rs.core.MediaType ct)
sets HTTP Content-Type header
|
Client |
Client.type(javax.ws.rs.core.MediaType ct)
sets HTTP Content-Type header
|
Client |
AbstractClient.type(String type)
sets HTTP Content-Type header
|
Client |
Client.type(String type)
sets HTTP Content-Type header
|
Modifier and Type | Method and Description |
---|---|
static WebClient |
WebClient.fromClient(Client client)
Creates WebClient, baseURI will be set to Client currentURI
|
static WebClient |
WebClient.fromClient(Client client,
boolean inheritHeaders)
Creates WebClient, baseURI will be set to Client currentURI
|
static <T> T |
JAXRSClientFactory.fromClient(Client client,
Class<T> cls)
Creates a proxy, baseURI will be set to Client currentURI
|
static <T> T |
JAXRSClientFactory.fromClient(Client client,
Class<T> cls,
boolean inheritHeaders)
Creates a proxy, baseURI will be set to Client currentURI
|
Apache CXF