Package org.apache.hc.client5.http.protocol
HTTP protocol interceptors that enable advanced functionality
such as HTTP state management and authentication state caching.
-
Interface Summary Interface Description RedirectStrategy A strategy for determining if an HTTP request should be redirected to a new location in response to an HTTP response received from the target server. -
Class Summary Class Description H2RequestPriority Adds thePriorityrequest header to HTTP/2+ requests when a per-request priority is configured.HttpClientContext Client executionHttpContext.HttpClientContext.Delegate Internal adaptor class that delegates all its method calls to a plainHttpContext.NextNonceInterceptor NextNonceInterceptoris an HTTP response interceptor that extracts thenextnonceparameter from theAuthentication-Infoheader of an HTTP response.RedirectLocations This class represents a collection ofURIs used as redirect locations.RequestAddCookies Request interceptor that matches cookies available in the currentCookieStoreto the request being executed and generates correspondingCookierequest headers.RequestAuthCache Deprecated. Do not use.RequestClientConnControl This protocol interceptor is responsible for adding theConnectionheader to the outgoing requests, which is essential for managing persistence ofHTTP/1.0connections.RequestDefaultHeaders Request interceptor that adds default request headers.RequestExpectContinue RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by addingExpectheader.RequestIfRange TheRequestIfRangeinterceptor ensures that the request adheres to the RFC guidelines for the 'If-Range' header.RequestUpgrade RequestValidateTrace RequestTraceInterceptorResponseProcessCookies Response interceptor that populates the currentCookieStorewith data contained in response cookies received in the given the HTTP response.