Package | Description |
---|---|
org.apache.hc.client5.http |
Client component APIs common to all client transports
such as connection route information and resolution
as well as common HTTP method definitions and
exception classes.
|
org.apache.hc.client5.http.impl.async |
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
|
org.apache.hc.client5.http.impl.auth |
Standard and common HTTP authentication schemes.
|
org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
org.apache.hc.client5.http.protocol |
HTTP protocol interceptors that enable advanced functionality
such as HTTP state management and authentication state caching.
|
Modifier and Type | Method and Description |
---|---|
ContextBuilder |
ContextBuilder.useAuthSchemeRegistry(org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry) |
AbstractClientContextBuilder<T> |
AbstractClientContextBuilder.useAuthSchemeRegistry(org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry) |
Modifier and Type | Method and Description |
---|---|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultAuthSchemeRegistry(org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry)
Sets default
AuthScheme registry which will
be used for request execution if not explicitly set in the client execution
context. |
H2AsyncClientBuilder |
H2AsyncClientBuilder.setDefaultAuthSchemeRegistry(org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry)
Sets default
AuthScheme registry which will
be used for request execution if not explicitly set in the client execution
context. |
Modifier and Type | Class and Description |
---|---|
class |
BasicSchemeFactory
AuthSchemeFactory implementation that creates and initializes
BasicScheme instances. |
class |
BearerSchemeFactory
AuthSchemeFactory implementation that creates and initializes
BearerScheme instances. |
class |
DigestSchemeFactory
AuthSchemeFactory implementation that creates and initializes
DigestScheme instances. |
class |
KerberosSchemeFactory
Deprecated.
Do not use. The GGS based experimental authentication schemes are no longer
supported. Consider using Basic or Bearer authentication with TLS instead.
|
class |
NTLMSchemeFactory
Deprecated.
Do not use. the NTLM authentication scheme is no longer supported.
Consider using Basic or Bearer authentication with TLS instead.
|
class |
SPNegoSchemeFactory
Deprecated.
Do not use. The GGS based experimental authentication schemes are no longer
supported. Consider using Basic or Bearer authentication with TLS instead.
|
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.setDefaultAuthSchemeRegistry(org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry)
Sets default
AuthScheme registry which will
be used for request execution if not explicitly set in the client execution
context. |
Modifier and Type | Method and Description |
---|---|
org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> |
HttpClientContext.getAuthSchemeRegistry()
Represents a
AuthSchemeFactory registry used in the context of the request execution. |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientContext.setAuthSchemeRegistry(org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> lookup) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.