Uses of Interface
org.apache.http.HttpRequestInterceptor
-
Packages that use HttpRequestInterceptor 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 HttpRequestInterceptor in org.apache.http.impl.bootstrap
Fields in org.apache.http.impl.bootstrap with type parameters of type HttpRequestInterceptor Modifier and Type Field Description private java.util.LinkedList<HttpRequestInterceptor>
ServerBootstrap. requestFirst
private java.util.LinkedList<HttpRequestInterceptor>
ServerBootstrap. requestLast
Methods in org.apache.http.impl.bootstrap with parameters of type HttpRequestInterceptor Modifier and Type Method 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. -
Uses of HttpRequestInterceptor in org.apache.http.impl.nio.bootstrap
Fields in org.apache.http.impl.nio.bootstrap with type parameters of type HttpRequestInterceptor Modifier and Type Field Description private java.util.LinkedList<HttpRequestInterceptor>
ServerBootstrap. requestFirst
private java.util.LinkedList<HttpRequestInterceptor>
ServerBootstrap. requestLast
Methods in org.apache.http.impl.nio.bootstrap with parameters of type HttpRequestInterceptor Modifier and Type Method 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. -
Uses of HttpRequestInterceptor in org.apache.http.protocol
Subinterfaces of HttpRequestInterceptor 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 HttpRequestInterceptor Modifier and Type Class Description class
BasicHttpProcessor
Deprecated.(4.3)class
ImmutableHttpProcessor
ImmutableHttpProcessor
.class
RequestConnControl
RequestConnControl is responsible for addingConnection
header to the outgoing requests, which is essential for managing persistence ofHTTP/1.0
connections.class
RequestContent
RequestContent is the most important interceptor for outgoing requests.class
RequestDate
RequestDate interceptor is responsible for addingDate
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 addingExpect
header.class
RequestTargetHost
RequestTargetHost is responsible for addingHost
header.class
RequestUserAgent
RequestUserAgent is responsible for addingUser-Agent
header.Fields in org.apache.http.protocol declared as HttpRequestInterceptor Modifier and Type Field Description private HttpRequestInterceptor[]
ImmutableHttpProcessor. requestInterceptors
Fields in org.apache.http.protocol with type parameters of type HttpRequestInterceptor Modifier and Type Field Description private ChainBuilder<HttpRequestInterceptor>
HttpProcessorBuilder. requestChainBuilder
protected java.util.List<HttpRequestInterceptor>
BasicHttpProcessor. requestInterceptors
Deprecated.Methods in org.apache.http.protocol that return HttpRequestInterceptor Modifier and Type Method Description HttpRequestInterceptor
BasicHttpProcessor. getRequestInterceptor(int index)
Deprecated.HttpRequestInterceptor
HttpRequestInterceptorList. getRequestInterceptor(int index)
Deprecated.Obtains a request interceptor from this list.Methods in org.apache.http.protocol that return types with arguments of type HttpRequestInterceptor Modifier and Type Method Description private ChainBuilder<HttpRequestInterceptor>
HttpProcessorBuilder. getRequestChainBuilder()
Methods in org.apache.http.protocol with parameters of type HttpRequestInterceptor Modifier and Type Method 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
BasicHttpProcessor. addRequestInterceptor(HttpRequestInterceptor itcp, int index)
Deprecated.void
HttpRequestInterceptorList. addRequestInterceptor(HttpRequestInterceptor interceptor)
Deprecated.Appends a request interceptor to this list.void
HttpRequestInterceptorList. addRequestInterceptor(HttpRequestInterceptor interceptor, int index)
Deprecated.Inserts a request interceptor at the specified index.Method parameters in org.apache.http.protocol with type arguments of type HttpRequestInterceptor Modifier and Type Method 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 classConstructors in org.apache.http.protocol with parameters of type HttpRequestInterceptor Constructor Description ImmutableHttpProcessor(HttpRequestInterceptor... requestInterceptors)
ImmutableHttpProcessor(HttpRequestInterceptor[] requestInterceptors, HttpResponseInterceptor[] responseInterceptors)
Constructor parameters in org.apache.http.protocol with type arguments of type HttpRequestInterceptor Constructor Description ImmutableHttpProcessor(java.util.List<HttpRequestInterceptor> requestInterceptors, java.util.List<HttpResponseInterceptor> responseInterceptors)
-