## Uses of Interface
org.apache.http.HttpRequestInterceptor

- Packages that use HttpRequestInterceptor
  Package | Description
  --- | ---
  org.apache.http.protocol | HTTP protocol execution framework and synchronous HTTP protocol handlers based on the blocking I/O model.

- - ### Uses of HttpRequestInterceptor in org.apache.http.protocol

    Subinterfaces of HttpRequestInterceptor in org.apache.http.protocol
    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.

    Classes in org.apache.http.protocol that implement HttpRequestInterceptor
    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.

    Fields in org.apache.http.protocol with type parameters of type HttpRequestInterceptor
    Modifier and Type | Field and Description
    --- | ---
    `protected List<HttpRequestInterceptor>` | BasicHttpProcessor.`requestInterceptors` Deprecated.

    Methods in org.apache.http.protocol that return HttpRequestInterceptor
    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.

    Methods in org.apache.http.protocol with parameters of type HttpRequestInterceptor
    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.

    Method parameters in org.apache.http.protocol with type arguments of type HttpRequestInterceptor
    Modifier and Type | Method and Description
    --- | ---
    `void` | BasicHttpProcessor.`removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor> clazz)` Deprecated.
    `void` | HttpRequestInterceptorList.`removeRequestInterceptorByClass(Class<? extends HttpRequestInterceptor> clazz)` Deprecated. Removes all request interceptor of the specified class

    Constructors in org.apache.http.protocol with parameters of type HttpRequestInterceptor
    Constructor and Description
    `ImmutableHttpProcessor(HttpRequestInterceptor... requestInterceptors)`
    `ImmutableHttpProcessor(HttpRequestInterceptor[] requestInterceptors, HttpResponseInterceptor[] responseInterceptors)`

    Constructor parameters in org.apache.http.protocol with type arguments of type HttpRequestInterceptor
    Constructor and Description
    `ImmutableHttpProcessor(List<HttpRequestInterceptor> requestInterceptors, List<HttpResponseInterceptor> responseInterceptors)`

Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.