Uses of Interface
org.apache.hc.core5.http.HttpRequestInterceptor
-
Packages that use HttpRequestInterceptor Package Description org.apache.hc.core5.http.protocol Core HTTP protocol interceptors.org.apache.hc.core5.http2.protocol HTTP/2 protocol interceptors. -
-
Uses of HttpRequestInterceptor in org.apache.hc.core5.http.protocol
Subinterfaces of HttpRequestInterceptor in org.apache.hc.core5.http.protocol Modifier and Type Interface Description interfaceHttpProcessorCollects 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.hc.core5.http.protocol that implement HttpRequestInterceptor Modifier and Type Class Description classDefaultHttpProcessorDefault immutable implementation ofHttpProcessor.classForwardedRequestThis request interceptor can be used by an HTTP proxy or an intermediary to add a Forwarded header to outgoing request messages.classRequestConformanceThis request interceptor is responsible for execution of the protocol conformance checks on incoming request messages.classRequestConnControlThis request interceptor is responsible for addingConnectionheader to outgoing requests, which is essential for managing persistence ofHTTP/1.0connections.classRequestContentThis request interceptor is responsible for delimiting the message content by addingContent-LengthorTransfer-Contentheaders based on the properties of the enclosed entity and the protocol version.classRequestDateThis request interceptor is responsible for addingDateheader to outgoing request messages.classRequestExpectContinueThis request interceptor is responsible for activation of the 'expect-continue' handshake by adding aExpectheader describing client expectations.classRequestTargetHostThis request interceptor is responsible for addingHostheader to outgoing request messages.classRequestTEHTTP protocol interceptor responsible for validating and processing theHttpHeaders.TEheader field in HTTP/1.1 requests.classRequestUserAgentThis request interceptor is responsible for addingUser-Agentheader.classRequestValidateHostThis request interceptor is responsible for copyingHostheader value toHttpRequest.setAuthority(URIAuthority)of incoming request messages.classViaRequestThis request interceptor can be used by an HTTP proxy or intemediary to add theHttpHeaders.VIAHTTP header to outgoing request messages.Fields in org.apache.hc.core5.http.protocol declared as HttpRequestInterceptor Modifier and Type Field Description static HttpRequestInterceptorForwardedRequest. INSTANCESingleton instance.static HttpRequestInterceptorRequestConnControl. INSTANCESingleton instance.static HttpRequestInterceptorRequestContent. INSTANCESingleton instance.static HttpRequestInterceptorRequestDate. INSTANCESingleton instance.static HttpRequestInterceptorRequestTargetHost. INSTANCESingleton instance.static HttpRequestInterceptorRequestTE. INSTANCESingleton instance of theRequestTEinterceptor.static HttpRequestInterceptorRequestUserAgent. INSTANCESingleton instance.static HttpRequestInterceptorViaRequest. INSTANCESingleton instance.private HttpRequestInterceptor[]DefaultHttpProcessor. requestInterceptorsFields in org.apache.hc.core5.http.protocol with type parameters of type HttpRequestInterceptor Modifier and Type Field Description private ChainBuilder<HttpRequestInterceptor>HttpProcessorBuilder. requestChainBuilderMethods in org.apache.hc.core5.http.protocol that return types with arguments of type HttpRequestInterceptor Modifier and Type Method Description private ChainBuilder<HttpRequestInterceptor>HttpProcessorBuilder. getRequestChainBuilder()Methods in org.apache.hc.core5.http.protocol with parameters of type HttpRequestInterceptor Modifier and Type Method Description HttpProcessorBuilderHttpProcessorBuilder. add(HttpRequestInterceptor e)HttpProcessorBuilderHttpProcessorBuilder. addAll(HttpRequestInterceptor... e)HttpProcessorBuilderHttpProcessorBuilder. addAllFirst(HttpRequestInterceptor... e)HttpProcessorBuilderHttpProcessorBuilder. addAllLast(HttpRequestInterceptor... e)HttpProcessorBuilderHttpProcessorBuilder. addFirst(HttpRequestInterceptor e)HttpProcessorBuilderHttpProcessorBuilder. addLast(HttpRequestInterceptor e)Constructors in org.apache.hc.core5.http.protocol with parameters of type HttpRequestInterceptor Constructor Description DefaultHttpProcessor(HttpRequestInterceptor... requestInterceptors)DefaultHttpProcessor(HttpRequestInterceptor[] requestInterceptors, HttpResponseInterceptor[] responseInterceptors)Constructor parameters in org.apache.hc.core5.http.protocol with type arguments of type HttpRequestInterceptor Constructor Description DefaultHttpProcessor(java.util.List<HttpRequestInterceptor> requestInterceptors, java.util.List<HttpResponseInterceptor> responseInterceptors) -
Uses of HttpRequestInterceptor in org.apache.hc.core5.http2.protocol
Classes in org.apache.hc.core5.http2.protocol that implement HttpRequestInterceptor Modifier and Type Class Description classH2RequestConformanceThis request interceptor is responsible for execution of the protocol conformance checks on incoming or outgoing HTTP/2 request messages.classH2RequestConnControlHTTP/2 compatible extension ofRequestConnControl.classH2RequestContentHTTP/2 compatible extension ofRequestContent.classH2RequestTargetHostHTTP/2 compatible extension ofRequestTargetHost.classH2RequestValidateHostHTTP/2 compatible extension ofRequestValidateHost.
-