Package org.apache.http.client.protocol
package org.apache.http.client.protocol
Client specific HTTP protocol handlers.
-
ClassDescriptionDeprecated.(4.3) use
HttpClientContext
.Deprecated.(4.3) useHttpClientContext
Adaptor class that provides convenience type safe setters and getters for commonHttpContext
attributes 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 currentCookieStore
to the request being executed and generates correspondingCookie
request headers.Request interceptor that can preemptively authenticate against known hosts, if there is a cachedAuthScheme
instance in the localAuthCache
associated with the given target or proxy host.This protocol interceptor is responsible for addingConnection
orProxy-Connection
headers to the outgoing requests, which is essential for managing persistence ofHTTP/1.0
connections.Request interceptor that adds default request headers.RequestExpectContinue is responsible for enabling the 'expect-continue' handshake by addingExpect
header.Deprecated.(4.3) useHttpAuthenticator
.Deprecated.(4.3) useHttpAuthenticator
.Deprecated.(4.2) useAuthenticationStrategy
HttpResponseInterceptor
responsible for processing Content-Encoding responses.Response interceptor that populates the currentCookieStore
with data contained in response cookies received in the given the HTTP response.