Package | Description |
---|---|
org.apache.cxf.jaxrs.client | |
org.apache.cxf.jaxrs.client.spring |
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 |
Client.accept(javax.ws.rs.core.MediaType... types)
Set HTTP Accept header
|
Client |
AbstractClient.accept(javax.ws.rs.core.MediaType... types)
Set HTTP Accept header
|
Client |
Client.accept(String... types)
Set HTTP Accept header
|
Client |
AbstractClient.accept(String... types)
Set HTTP Accept header
|
Client |
Client.acceptEncoding(String... encodings)
Set HTTP Accept-Encoding header
|
Client |
AbstractClient.acceptEncoding(String... encs)
Set HTTP Accept-Encoding header
|
Client |
Client.acceptLanguage(String... languages)
Set HTTP Accept-Language header
|
Client |
AbstractClient.acceptLanguage(String... languages)
Set HTTP Accept-Language header
|
Client |
Client.authorization(Object auth)
Set HTTP Authorization header
|
Client |
AbstractClient.authorization(Object auth)
Set HTTP Authorization header
|
static Client |
WebClient.client(Object object)
Converts object to Client
|
Client |
Client.cookie(javax.ws.rs.core.Cookie cookie)
Set HTTP Cookie header
|
Client |
AbstractClient.cookie(javax.ws.rs.core.Cookie cookie)
Set HTTP Cookie header
|
Client |
JAXRSClientFactoryBean.create()
Create a Client instance.
|
Client |
JAXRSClientFactoryBean.createWithValues(Object... varValues)
Create a Client instance.
|
Client |
Client.encoding(String encoding)
Set HTTP Content-Encoding header
|
Client |
AbstractClient.encoding(String enc)
Set HTTP Content-Encoding header
|
Client |
Client.header(String name,
Object... values)
Set arbitrary HTTP Header
|
Client |
AbstractClient.header(String name,
Object... values)
Set arbitrary HTTP Header
|
Client |
Client.headers(javax.ws.rs.core.MultivaluedMap<String,String> map)
Set HTTP Headers
|
Client |
AbstractClient.headers(javax.ws.rs.core.MultivaluedMap<String,String> map)
Set HTTP Headers
|
Client |
Client.language(String language)
Set HTTP Content-Language header
|
Client |
AbstractClient.language(String language)
Set HTTP Content-Language header
|
Client |
Client.match(javax.ws.rs.core.EntityTag tag,
boolean ifNot)
Set HTTP If-Match or If-None-Match header
|
Client |
AbstractClient.match(javax.ws.rs.core.EntityTag tag,
boolean ifNot)
Set HTTP If-Match or If-None-Match header
|
Client |
Client.modified(Date date,
boolean ifNot)
Set HTTP If-Modified-Since or If-Unmodified-Since header
|
Client |
AbstractClient.modified(Date date,
boolean ifNot)
Set HTTP If-Modified-Since or If-Unmodified-Since header
|
Client |
Client.query(String name,
Object... values)
Update the current URI query parameters
|
Client |
AbstractClient.query(String name,
Object... values)
Update the current URI query parameters
|
Client |
Client.reset()
Reset the headers and response state if any
|
Client |
AbstractClient.reset()
Reset the headers and response state if any
|
Client |
Client.type(javax.ws.rs.core.MediaType ct)
Set HTTP Content-Type header
|
Client |
AbstractClient.type(javax.ws.rs.core.MediaType ct)
Set HTTP Content-Type header
|
Client |
Client.type(String type)
Set HTTP Content-Type header
|
Client |
AbstractClient.type(String type)
Set 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
|
Modifier and Type | Method and Description |
---|---|
protected Client |
AbstractJaxRsClientConfiguration.createClient() |
protected Client |
JaxRsProxyClientConfiguration.jaxRsProxyClient() |
protected Client |
JaxRsWebClientConfiguration.jaxRsWebClient() |
Apache CXF