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.auth |
Client HTTP authentication APIs.
|
org.apache.hc.client5.http.cache |
Caching APIs for both the classic and the asynchronous
HTTP transports.
|
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.useCredentialsProvider(CredentialsProvider credentialsProvider) |
AbstractClientContextBuilder<T> |
AbstractClientContextBuilder.useCredentialsProvider(CredentialsProvider credentialsProvider) |
Modifier and Type | Interface and Description |
---|---|
interface |
CredentialsStore
Abstract store of authentication credentials.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AuthScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context)
Determines whether or not an authorization response can be generated based on
the actual authentication state.
|
Modifier and Type | Method and Description |
---|---|
CacheContextBuilder |
CacheContextBuilder.useCredentialsProvider(CredentialsProvider credentialsProvider) |
Modifier and Type | Method and Description |
---|---|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)
Sets default
CredentialsProvider instance which will be used
for request execution if not explicitly set in the client execution
context. |
H2AsyncClientBuilder |
H2AsyncClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)
Sets default
CredentialsProvider instance which will be used
for request execution if not explicitly set in the client execution
context. |
Modifier and Type | Class and Description |
---|---|
class |
BasicCredentialsProvider
Default implementation of
CredentialsStore . |
class |
SystemDefaultCredentialsProvider
Implementation of
CredentialsStore backed by standard
JRE Authenticator . |
Modifier and Type | Method and Description |
---|---|
CredentialsProvider |
CredentialsProviderBuilder.build() |
Modifier and Type | Method and Description |
---|---|
boolean |
BearerScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context) |
boolean |
BasicScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context) |
boolean |
GGSSchemeBase.isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context)
Deprecated.
|
boolean |
NTLMScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context)
Deprecated.
|
boolean |
DigestScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host,
CredentialsProvider credentialsProvider,
org.apache.hc.core5.http.protocol.HttpContext context) |
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)
Sets default
CredentialsProvider instance which will be used
for request execution if not explicitly set in the client execution
context. |
Modifier and Type | Method and Description |
---|---|
CredentialsProvider |
HttpClientContext.getCredentialsProvider()
Represents a
CredentialsProvider registry used in the context of the request execution. |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientContext.setCredentialsProvider(CredentialsProvider credentialsProvider) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.