Package | Description |
---|---|
org.apache.http.client.protocol |
Client specific HTTP protocol handlers.
|
org.apache.http.impl.bootstrap |
Embedded server and server bootstrap.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
org.apache.http.protocol |
Core HTTP protocol execution framework and HTTP protocol handlers
for synchronous, blocking communication.
|
Modifier and Type | Class and Description |
---|---|
class |
ResponseAuthCache
Deprecated.
(4.2) use
AuthenticationStrategy |
class |
ResponseContentEncoding
HttpResponseInterceptor responsible for processing Content-Encoding
responses. |
class |
ResponseProcessCookies
Response interceptor that populates the current
CookieStore with data
contained in response cookies received in the given the HTTP response. |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.addInterceptorFirst(HttpResponseInterceptor itcp)
Adds this protocol interceptor to the head of the protocol processing list.
|
ServerBootstrap |
ServerBootstrap.addInterceptorLast(HttpResponseInterceptor itcp)
Adds this protocol interceptor to the tail of the protocol processing list.
|
Modifier and Type | Method and Description |
---|---|
HttpResponseInterceptor |
AbstractHttpClient.getResponseInterceptor(int index)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.addInterceptorFirst(HttpResponseInterceptor itcp)
Adds this protocol interceptor to the head of the protocol processing list.
|
HttpClientBuilder |
HttpClientBuilder.addInterceptorLast(HttpResponseInterceptor itcp)
Adds this protocol interceptor to the tail of the protocol processing list.
|
void |
AbstractHttpClient.addResponseInterceptor(HttpResponseInterceptor itcp)
Deprecated.
|
void |
AbstractHttpClient.addResponseInterceptor(HttpResponseInterceptor itcp,
int index)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractHttpClient.removeResponseInterceptorByClass(java.lang.Class<? extends HttpResponseInterceptor> clazz)
Deprecated.
|
Constructor and Description |
---|
DecompressingHttpClient(HttpClient backend,
HttpRequestInterceptor requestInterceptor,
HttpResponseInterceptor responseInterceptor)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpProcessor
HTTP protocol processor is a collection of protocol interceptors that
implements the 'Chain of Responsibility' pattern, where each individual
protocol interceptor is expected to work on a particular aspect of the HTTP
protocol the interceptor is responsible for.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicHttpProcessor
Deprecated.
(4.3)
|
class |
ImmutableHttpProcessor
Immutable
HttpProcessor . |
class |
ResponseConnControl
ResponseConnControl is responsible for adding
Connection header
to the outgoing responses, which is essential for managing persistence of
HTTP/1.0 connections. |
class |
ResponseContent
ResponseContent is the most important interceptor for outgoing responses.
|
class |
ResponseDate
ResponseDate is responsible for adding
Date header to the
outgoing responses. |
class |
ResponseServer
ResponseServer is responsible for adding
Server header. |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<HttpResponseInterceptor> |
BasicHttpProcessor.responseInterceptors
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HttpResponseInterceptor |
BasicHttpProcessor.getResponseInterceptor(int index)
Deprecated.
|
HttpResponseInterceptor |
HttpResponseInterceptorList.getResponseInterceptor(int index)
Deprecated.
Obtains a response interceptor from this list.
|
Modifier and Type | Method and Description |
---|---|
HttpProcessorBuilder |
HttpProcessorBuilder.add(HttpResponseInterceptor e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addAll(HttpResponseInterceptor... e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addAllFirst(HttpResponseInterceptor... e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addAllLast(HttpResponseInterceptor... e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addFirst(HttpResponseInterceptor e) |
void |
BasicHttpProcessor.addInterceptor(HttpResponseInterceptor interceptor)
Deprecated.
|
void |
BasicHttpProcessor.addInterceptor(HttpResponseInterceptor interceptor,
int index)
Deprecated.
|
HttpProcessorBuilder |
HttpProcessorBuilder.addLast(HttpResponseInterceptor e) |
void |
BasicHttpProcessor.addResponseInterceptor(HttpResponseInterceptor itcp)
Deprecated.
|
void |
HttpResponseInterceptorList.addResponseInterceptor(HttpResponseInterceptor interceptor)
Deprecated.
Appends a response interceptor to this list.
|
void |
BasicHttpProcessor.addResponseInterceptor(HttpResponseInterceptor itcp,
int index)
Deprecated.
|
void |
HttpResponseInterceptorList.addResponseInterceptor(HttpResponseInterceptor interceptor,
int index)
Deprecated.
Inserts a response interceptor at the specified index.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicHttpProcessor.removeResponseInterceptorByClass(java.lang.Class<? extends HttpResponseInterceptor> clazz)
Deprecated.
|
void |
HttpResponseInterceptorList.removeResponseInterceptorByClass(java.lang.Class<? extends HttpResponseInterceptor> clazz)
Deprecated.
Removes all response interceptor of the specified class
|
Constructor and Description |
---|
ImmutableHttpProcessor(HttpRequestInterceptor[] requestInterceptors,
HttpResponseInterceptor[] responseInterceptors) |
ImmutableHttpProcessor(HttpResponseInterceptor... responseInterceptors) |
Constructor and Description |
---|
ImmutableHttpProcessor(java.util.List<HttpRequestInterceptor> requestInterceptors,
java.util.List<HttpResponseInterceptor> responseInterceptors) |