Package | Description |
---|---|
com.sun.jersey.api.client |
Provides support for client-side communication with HTTP-based
RESTful Web services.
|
com.sun.jersey.api.client.filter |
Provides support for client filter chains and filters.
|
com.sun.jersey.client.proxy | |
com.sun.jersey.client.urlconnection |
Modifier and Type | Class and Description |
---|---|
class |
Client
The main class for creating
WebResource instances and configuring
the properties of connections and requests. |
class |
TerminatingClientHandler
A terminating client handler that is invoked to produce an HTTP request
to send to a resource and process the HTTP response received from the resource.
|
Constructor and Description |
---|
Client(ClientHandler root)
Create a new client instance.
|
Client(ClientHandler root,
ClientConfig config)
Create a new client instance with a client configuration.
|
Client(ClientHandler root,
ClientConfig config,
IoCComponentProviderFactory provider)
Create a new instance with a client configuration and a
component provider.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientFilter
A client filter capable of modifying the outbound HTTP request or
the inbound HTTP response.
|
class |
ConnectionListenerFilter
ConnectionListener filter
This filter does not modify input/output stream
|
class |
CsrfProtectionFilter
Simple client-side filter that adds X-Requested-By headers to all state-changing
request (i.e.
|
class |
GZIPContentEncodingFilter
A GZIP content encoding filter.
|
class |
HTTPBasicAuthFilter
Client filter adding HTTP Basic Authentication header to the HTTP request,
if no such header is already present
|
class |
HTTPDigestAuthFilter
Client filter adding HTTP Digest authentication headers in the request
|
class |
LoggingFilter
A logging filter.
|
Modifier and Type | Method and Description |
---|---|
ClientHandler |
Filterable.getHeadHandler()
Get the head client handler of the filter chain.
|
ClientHandler |
ClientFilter.getNext()
Get the next client handler to invoke in the chain
of filters.
|
Constructor and Description |
---|
Filterable(ClientHandler root)
Construct with a root client handler.
|
Modifier and Type | Method and Description |
---|---|
T |
ViewProxy.view(java.lang.Class<T> type,
ClientRequest request,
ClientHandler handler) |
T |
ViewProxy.view(T v,
ClientRequest request,
ClientHandler handler) |
Modifier and Type | Class and Description |
---|---|
class |
URLConnectionClientHandler
A terminating client handler that uses
HttpURLConnection or
HttpsURLConnection to make HTTP requests and receive HTTP responses. |
Copyright © 2016 Oracle Corporation. All Rights Reserved.