Package | Description |
---|---|
org.apache.http.protocol |
HTTP protocol execution framework and synchronous HTTP protocol handlers
based on the blocking I/O model.
|
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
Default implementation of
HttpProcessor . |
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 |
class |
ResponseServer
ResponseServer is responsible for adding
Server header. |
Modifier and Type | Field and Description |
---|---|
protected List<HttpResponseInterceptor> |
BasicHttpProcessor.responseInterceptors |
Modifier and Type | Method and Description |
---|---|
HttpResponseInterceptor |
HttpResponseInterceptorList.getResponseInterceptor(int index)
Obtains a response interceptor from this list.
|
HttpResponseInterceptor |
BasicHttpProcessor.getResponseInterceptor(int index) |
Modifier and Type | Method and Description |
---|---|
void |
BasicHttpProcessor.addInterceptor(HttpResponseInterceptor interceptor) |
void |
BasicHttpProcessor.addInterceptor(HttpResponseInterceptor interceptor,
int index) |
void |
HttpResponseInterceptorList.addResponseInterceptor(HttpResponseInterceptor interceptor)
Appends a response interceptor to this list.
|
void |
BasicHttpProcessor.addResponseInterceptor(HttpResponseInterceptor itcp) |
void |
HttpResponseInterceptorList.addResponseInterceptor(HttpResponseInterceptor interceptor,
int index)
Inserts a response interceptor at the specified index.
|
void |
BasicHttpProcessor.addResponseInterceptor(HttpResponseInterceptor itcp,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
HttpResponseInterceptorList.removeResponseInterceptorByClass(Class<? extends HttpResponseInterceptor> clazz)
Removes all response interceptor of the specified class
|
void |
BasicHttpProcessor.removeResponseInterceptorByClass(Class<? extends HttpResponseInterceptor> clazz) |
Constructor and Description |
---|
ImmutableHttpProcessor(HttpRequestInterceptor[] requestInterceptors,
HttpResponseInterceptor[] responseInterceptors) |
ImmutableHttpProcessor(HttpResponseInterceptor[] responseInterceptors) |
Copyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.