Package org.apache.http.client.protocol
package org.apache.http.client.protocol
Client specific HTTP protocol handlers.
-
ClassDescriptionDeprecated.Deprecated.(4.3) use
HttpClientContextAdaptor class that provides convenience type safe setters and getters for commonHttpContextattributes used in the course of HTTP request execution.Class responsible for handling Content Encoding requests in HTTP.Request interceptor that matches cookies available in the currentCookieStoreto the request being executed and generates correspondingCookierequest headers.Request interceptor that can preemptively authenticate against known hosts, if there is a cachedAuthSchemeinstance in the localAuthCacheassociated with the given target or proxy host.This protocol interceptor is responsible for addingConnectionorProxy-Connectionheaders to the outgoing requests, which is essential for managing persistence ofHTTP/1.0connections.Request interceptor that adds default request headers.RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by addingExpectheader.Deprecated.(4.3) useHttpAuthenticator.Deprecated.(4.3) useHttpAuthenticator.Deprecated.(4.2) useAuthenticationStrategyHttpResponseInterceptorresponsible for processing Content-Encoding responses.Response interceptor that populates the currentCookieStorewith data contained in response cookies received in the given the HTTP response.
HttpClientContext.