Uses of Interface
org.apache.http.HttpResponseInterceptor
-
Packages that use HttpResponseInterceptor Package Description org.apache.http.impl.bootstrap Embedded server and server bootstrap.org.apache.http.impl.nio.bootstrap Embedded non-blocking server and server bootstrap.org.apache.http.protocol Core HTTP protocol execution framework and HTTP protocol handlers for synchronous, blocking communication. -
-
Uses of HttpResponseInterceptor in org.apache.http.impl.bootstrap
Fields in org.apache.http.impl.bootstrap with type parameters of type HttpResponseInterceptor Modifier and Type Field Description private java.util.LinkedList<HttpResponseInterceptor>
ServerBootstrap. responseFirst
private java.util.LinkedList<HttpResponseInterceptor>
ServerBootstrap. responseLast
Methods in org.apache.http.impl.bootstrap with parameters of type HttpResponseInterceptor Modifier and Type Method 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. -
Uses of HttpResponseInterceptor in org.apache.http.impl.nio.bootstrap
Fields in org.apache.http.impl.nio.bootstrap with type parameters of type HttpResponseInterceptor Modifier and Type Field Description private java.util.LinkedList<HttpResponseInterceptor>
ServerBootstrap. responseFirst
private java.util.LinkedList<HttpResponseInterceptor>
ServerBootstrap. responseLast
Methods in org.apache.http.impl.nio.bootstrap with parameters of type HttpResponseInterceptor Modifier and Type Method 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. -
Uses of HttpResponseInterceptor in org.apache.http.protocol
Subinterfaces of HttpResponseInterceptor in org.apache.http.protocol Modifier and Type Interface 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.Classes in org.apache.http.protocol that implement HttpResponseInterceptor Modifier and Type Class Description class
BasicHttpProcessor
Deprecated.(4.3)class
ImmutableHttpProcessor
ImmutableHttpProcessor
.class
ResponseConnControl
ResponseConnControl is responsible for addingConnection
header to the outgoing responses, which is essential for managing persistence ofHTTP/1.0
connections.class
ResponseContent
ResponseContent is the most important interceptor for outgoing responses.class
ResponseDate
ResponseDate is responsible for addingDate
header to the outgoing responses.class
ResponseServer
ResponseServer is responsible for addingServer
header.Fields in org.apache.http.protocol declared as HttpResponseInterceptor Modifier and Type Field Description private HttpResponseInterceptor[]
ImmutableHttpProcessor. responseInterceptors
Fields in org.apache.http.protocol with type parameters of type HttpResponseInterceptor Modifier and Type Field Description private ChainBuilder<HttpResponseInterceptor>
HttpProcessorBuilder. responseChainBuilder
protected java.util.List<HttpResponseInterceptor>
BasicHttpProcessor. responseInterceptors
Deprecated.Methods in org.apache.http.protocol that return HttpResponseInterceptor Modifier and Type Method Description HttpResponseInterceptor
BasicHttpProcessor. getResponseInterceptor(int index)
Deprecated.HttpResponseInterceptor
HttpResponseInterceptorList. getResponseInterceptor(int index)
Deprecated.Obtains a response interceptor from this list.Methods in org.apache.http.protocol that return types with arguments of type HttpResponseInterceptor Modifier and Type Method Description private ChainBuilder<HttpResponseInterceptor>
HttpProcessorBuilder. getResponseChainBuilder()
Methods in org.apache.http.protocol with parameters of type HttpResponseInterceptor Modifier and Type Method 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
BasicHttpProcessor. addResponseInterceptor(HttpResponseInterceptor itcp, int index)
Deprecated.void
HttpResponseInterceptorList. addResponseInterceptor(HttpResponseInterceptor interceptor)
Deprecated.Appends a response interceptor to this list.void
HttpResponseInterceptorList. addResponseInterceptor(HttpResponseInterceptor interceptor, int index)
Deprecated.Inserts a response interceptor at the specified index.Method parameters in org.apache.http.protocol with type arguments of type HttpResponseInterceptor Modifier and Type Method 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 classConstructors in org.apache.http.protocol with parameters of type HttpResponseInterceptor Constructor Description ImmutableHttpProcessor(HttpRequestInterceptor[] requestInterceptors, HttpResponseInterceptor[] responseInterceptors)
ImmutableHttpProcessor(HttpResponseInterceptor... responseInterceptors)
-