Package | Description |
---|---|
org.apache.http.auth |
Client HTTP authentication APIs.
|
org.apache.http.client.protocol |
Client specific HTTP protocol handlers.
|
org.apache.http.config |
Core configuration APIs.
|
org.apache.http.cookie |
Client HTTP state management APIs.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
org.apache.http.impl.conn |
Default implementations of client connection management
functions.
|
Modifier and Type | Class and Description |
---|---|
class |
AuthSchemeRegistry
Deprecated.
(4.3) use
Registry |
Modifier and Type | Method and Description |
---|---|
Lookup<AuthSchemeProvider> |
HttpClientContext.getAuthSchemeRegistry() |
Lookup<CookieSpecProvider> |
HttpClientContext.getCookieSpecRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientContext.setAuthSchemeRegistry(Lookup<AuthSchemeProvider> lookup) |
void |
HttpClientContext.setCookieSpecRegistry(Lookup<CookieSpecProvider> lookup) |
Constructor and Description |
---|
ResponseContentEncoding(Lookup<InputStreamFactory> decoderRegistry) |
ResponseContentEncoding(Lookup<InputStreamFactory> decoderRegistry,
boolean ignoreUnknown) |
Modifier and Type | Class and Description |
---|---|
class |
Registry<I>
Generic registry of items keyed by low-case string ID.
|
Modifier and Type | Class and Description |
---|---|
class |
CookieSpecRegistry
Deprecated.
(4.3) use
Registry . |
Modifier and Type | Method and Description |
---|---|
static Lookup<CookieSpecProvider> |
CookieSpecRegistries.createDefault()
Creates the default registry, using the default public suffix matcher.
|
static Lookup<CookieSpecProvider> |
CookieSpecRegistries.createDefault(PublicSuffixMatcher publicSuffixMatcher)
Creates the default registry with the provided public suffix matcher
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.setDefaultAuthSchemeRegistry(Lookup<AuthSchemeProvider> authSchemeRegistry)
Assigns default
AuthScheme registry which will
be used for request execution if not explicitly set in the client execution
context. |
HttpClientBuilder |
HttpClientBuilder.setDefaultCookieSpecRegistry(Lookup<CookieSpecProvider> cookieSpecRegistry)
Assigns default
CookieSpec registry which will
be used for request execution if not explicitly set in the client execution
context. |
Constructor and Description |
---|
InternalHttpClient(ClientExecChain execChain,
HttpClientConnectionManager connManager,
HttpRoutePlanner routePlanner,
Lookup<CookieSpecProvider> cookieSpecRegistry,
Lookup<AuthSchemeProvider> authSchemeRegistry,
CookieStore cookieStore,
CredentialsProvider credentialsProvider,
RequestConfig defaultConfig,
java.util.List<java.io.Closeable> closeables) |
InternalHttpClient(ClientExecChain execChain,
HttpClientConnectionManager connManager,
HttpRoutePlanner routePlanner,
Lookup<CookieSpecProvider> cookieSpecRegistry,
Lookup<AuthSchemeProvider> authSchemeRegistry,
CookieStore cookieStore,
CredentialsProvider credentialsProvider,
RequestConfig defaultConfig,
java.util.List<java.io.Closeable> closeables) |
Constructor and Description |
---|
BasicHttpClientConnectionManager(Lookup<ConnectionSocketFactory> socketFactoryRegistry) |
BasicHttpClientConnectionManager(Lookup<ConnectionSocketFactory> socketFactoryRegistry,
HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory) |
BasicHttpClientConnectionManager(Lookup<ConnectionSocketFactory> socketFactoryRegistry,
HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection> connFactory,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver) |
DefaultHttpClientConnectionOperator(Lookup<ConnectionSocketFactory> socketFactoryRegistry,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver) |
PoolingHttpClientConnectionManager(CPool pool,
Lookup<ConnectionSocketFactory> socketFactoryRegistry,
SchemePortResolver schemePortResolver,
DnsResolver dnsResolver)
Visible for test.
|