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 |
RequestAcceptEncoding
Class responsible for handling Content Encoding requests in HTTP.
|
class |
RequestAddCookies
Request interceptor that matches cookies available in the current
CookieStore to the request being executed and generates
corresponding Cookie request headers. |
class |
RequestAuthCache
Request interceptor that can preemptively authenticate against known hosts,
if there is a cached
AuthScheme instance in the local
AuthCache associated with the given target or proxy host. |
(package private) class |
RequestAuthenticationBase
Deprecated.
|
class |
RequestClientConnControl
This protocol interceptor is responsible for adding
Connection
or Proxy-Connection headers to the outgoing requests, which
is essential for managing persistence of HTTP/1.0 connections. |
class |
RequestDefaultHeaders
Request interceptor that adds default request headers.
|
class |
RequestProxyAuthentication
Deprecated.
(4.3) use
HttpAuthenticator . |
class |
RequestTargetAuthentication
Deprecated.
(4.3) use
HttpAuthenticator . |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.addInterceptorFirst(HttpRequestInterceptor itcp)
Adds this protocol interceptor to the head of the protocol processing list.
|
ServerBootstrap |
ServerBootstrap.addInterceptorLast(HttpRequestInterceptor itcp)
Adds this protocol interceptor to the tail of the protocol processing list.
|
Modifier and Type | Method and Description |
---|---|
HttpRequestInterceptor |
AbstractHttpClient.getRequestInterceptor(int index)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.addInterceptorFirst(HttpRequestInterceptor itcp)
Adds this protocol interceptor to the head of the protocol processing list.
|
HttpClientBuilder |
HttpClientBuilder.addInterceptorLast(HttpRequestInterceptor itcp)
Adds this protocol interceptor to the tail of the protocol processing list.
|
void |
AbstractHttpClient.addRequestInterceptor(HttpRequestInterceptor itcp)
Deprecated.
|
void |
AbstractHttpClient.addRequestInterceptor(HttpRequestInterceptor itcp,
int index)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractHttpClient.removeRequestInterceptorByClass(java.lang.Class<? extends HttpRequestInterceptor> 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 |
RequestConnControl
RequestConnControl is responsible for adding
Connection header
to the outgoing requests, which is essential for managing persistence of
HTTP/1.0 connections. |
class |
RequestContent
RequestContent is the most important interceptor for outgoing requests.
|
class |
RequestDate
RequestDate interceptor is responsible for adding
Date header
to the outgoing requests This interceptor is optional for client side
protocol processors. |
class |
RequestExpectContinue
RequestExpectContinue is responsible for enabling the 'expect-continue'
handshake by adding
Expect header. |
class |
RequestTargetHost
RequestTargetHost is responsible for adding
Host header. |
class |
RequestUserAgent
RequestUserAgent is responsible for adding
User-Agent header. |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<HttpRequestInterceptor> |
BasicHttpProcessor.requestInterceptors
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HttpRequestInterceptor |
BasicHttpProcessor.getRequestInterceptor(int index)
Deprecated.
|
HttpRequestInterceptor |
HttpRequestInterceptorList.getRequestInterceptor(int index)
Deprecated.
Obtains a request interceptor from this list.
|
Modifier and Type | Method and Description |
---|---|
HttpProcessorBuilder |
HttpProcessorBuilder.add(HttpRequestInterceptor e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addAll(HttpRequestInterceptor... e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addAllFirst(HttpRequestInterceptor... e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addAllLast(HttpRequestInterceptor... e) |
HttpProcessorBuilder |
HttpProcessorBuilder.addFirst(HttpRequestInterceptor e) |
void |
BasicHttpProcessor.addInterceptor(HttpRequestInterceptor interceptor)
Deprecated.
|
void |
BasicHttpProcessor.addInterceptor(HttpRequestInterceptor interceptor,
int index)
Deprecated.
|
HttpProcessorBuilder |
HttpProcessorBuilder.addLast(HttpRequestInterceptor e) |
void |
BasicHttpProcessor.addRequestInterceptor(HttpRequestInterceptor itcp)
Deprecated.
|
void |
HttpRequestInterceptorList.addRequestInterceptor(HttpRequestInterceptor interceptor)
Deprecated.
Appends a request interceptor to this list.
|
void |
BasicHttpProcessor.addRequestInterceptor(HttpRequestInterceptor itcp,
int index)
Deprecated.
|
void |
HttpRequestInterceptorList.addRequestInterceptor(HttpRequestInterceptor interceptor,
int index)
Deprecated.
Inserts a request interceptor at the specified index.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicHttpProcessor.removeRequestInterceptorByClass(java.lang.Class<? extends HttpRequestInterceptor> clazz)
Deprecated.
|
void |
HttpRequestInterceptorList.removeRequestInterceptorByClass(java.lang.Class<? extends HttpRequestInterceptor> clazz)
Deprecated.
Removes all request interceptor of the specified class
|
Constructor and Description |
---|
ImmutableHttpProcessor(HttpRequestInterceptor... requestInterceptors) |
ImmutableHttpProcessor(HttpRequestInterceptor[] requestInterceptors,
HttpResponseInterceptor[] responseInterceptors) |
Constructor and Description |
---|
ImmutableHttpProcessor(java.util.List<HttpRequestInterceptor> requestInterceptors,
java.util.List<HttpResponseInterceptor> responseInterceptors) |