Uses of Interface
org.apache.hc.client5.http.auth.CredentialsProvider
-
Packages that use CredentialsProvider 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.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. -
-
Uses of CredentialsProvider in org.apache.hc.client5.http
Fields in org.apache.hc.client5.http declared as CredentialsProvider Modifier and Type Field Description private CredentialsProvider
ContextBuilder. credentialsProvider
Methods in org.apache.hc.client5.http with parameters of type CredentialsProvider Modifier and Type Method Description ContextBuilder
ContextBuilder. useCredentialsProvider(CredentialsProvider credentialsProvider)
-
Uses of CredentialsProvider in org.apache.hc.client5.http.auth
Subinterfaces of CredentialsProvider in org.apache.hc.client5.http.auth Modifier and Type Interface Description interface
CredentialsStore
Abstract store of authentication credentials.Methods in org.apache.hc.client5.http.auth with parameters of type CredentialsProvider Modifier and Type Method 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. -
Uses of CredentialsProvider in org.apache.hc.client5.http.impl.async
Fields in org.apache.hc.client5.http.impl.async declared as CredentialsProvider Modifier and Type Field Description private CredentialsProvider
H2AsyncClientBuilder. credentialsProvider
private CredentialsProvider
HttpAsyncClientBuilder. credentialsProvider
private CredentialsProvider
InternalAbstractHttpAsyncClient. credentialsProvider
Methods in org.apache.hc.client5.http.impl.async with parameters of type CredentialsProvider Modifier and Type Method Description H2AsyncClientBuilder
H2AsyncClientBuilder. setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)
Assigns defaultCredentialsProvider
instance which will be used for request execution if not explicitly set in the client execution context.HttpAsyncClientBuilder
HttpAsyncClientBuilder. setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)
Assigns defaultCredentialsProvider
instance which will be used for request execution if not explicitly set in the client execution context.Constructors in org.apache.hc.client5.http.impl.async with parameters of type CredentialsProvider Constructor Description InternalAbstractHttpAsyncClient(org.apache.hc.core5.reactor.DefaultConnectingIOReactor ioReactor, AsyncPushConsumerRegistry pushConsumerRegistry, java.util.concurrent.ThreadFactory threadFactory, AsyncExecChainElement execChain, org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry, org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry, CookieStore cookieStore, CredentialsProvider credentialsProvider, RequestConfig defaultConfig, java.util.List<java.io.Closeable> closeables)
InternalH2AsyncClient(org.apache.hc.core5.reactor.DefaultConnectingIOReactor ioReactor, AsyncExecChainElement execChain, AsyncPushConsumerRegistry pushConsumerRegistry, java.util.concurrent.ThreadFactory threadFactory, InternalH2ConnPool connPool, HttpRoutePlanner routePlanner, org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry, org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry, CookieStore cookieStore, CredentialsProvider credentialsProvider, RequestConfig defaultConfig, java.util.List<java.io.Closeable> closeables)
InternalHttpAsyncClient(org.apache.hc.core5.reactor.DefaultConnectingIOReactor ioReactor, AsyncExecChainElement execChain, AsyncPushConsumerRegistry pushConsumerRegistry, java.util.concurrent.ThreadFactory threadFactory, AsyncClientConnectionManager manager, HttpRoutePlanner routePlanner, TlsConfig tlsConfig, org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry, org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry, CookieStore cookieStore, CredentialsProvider credentialsProvider, RequestConfig defaultConfig, java.util.List<java.io.Closeable> closeables)
-
Uses of CredentialsProvider in org.apache.hc.client5.http.impl.auth
Classes in org.apache.hc.client5.http.impl.auth that implement CredentialsProvider Modifier and Type Class Description class
BasicCredentialsProvider
Default implementation ofCredentialsStore
.(package private) class
FixedCredentialsProvider
(package private) class
SingleCredentialsProvider
class
SystemDefaultCredentialsProvider
Implementation ofCredentialsStore
backed by standard JREAuthenticator
.Methods in org.apache.hc.client5.http.impl.auth that return CredentialsProvider Modifier and Type Method Description CredentialsProvider
CredentialsProviderBuilder. build()
Methods in org.apache.hc.client5.http.impl.auth with parameters of type CredentialsProvider Modifier and Type Method Description boolean
BasicScheme. isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context)
boolean
BearerScheme. isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context)
boolean
DigestScheme. 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. -
Uses of CredentialsProvider in org.apache.hc.client5.http.impl.classic
Fields in org.apache.hc.client5.http.impl.classic declared as CredentialsProvider Modifier and Type Field Description private CredentialsProvider
HttpClientBuilder. credentialsProvider
private CredentialsProvider
InternalHttpClient. credentialsProvider
Methods in org.apache.hc.client5.http.impl.classic with parameters of type CredentialsProvider Modifier and Type Method Description HttpClientBuilder
HttpClientBuilder. setDefaultCredentialsProvider(CredentialsProvider credentialsProvider)
Assigns defaultCredentialsProvider
instance which will be used for request execution if not explicitly set in the client execution context.Constructors in org.apache.hc.client5.http.impl.classic with parameters of type CredentialsProvider Constructor Description InternalHttpClient(HttpClientConnectionManager connManager, org.apache.hc.core5.http.impl.io.HttpRequestExecutor requestExecutor, ExecChainElement execChain, HttpRoutePlanner routePlanner, org.apache.hc.core5.http.config.Lookup<CookieSpecFactory> cookieSpecRegistry, org.apache.hc.core5.http.config.Lookup<AuthSchemeFactory> authSchemeRegistry, CookieStore cookieStore, CredentialsProvider credentialsProvider, RequestConfig defaultConfig, java.util.List<java.io.Closeable> closeables)
-
Uses of CredentialsProvider in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol that return CredentialsProvider Modifier and Type Method Description CredentialsProvider
HttpClientContext. getCredentialsProvider()
Methods in org.apache.hc.client5.http.protocol with parameters of type CredentialsProvider Modifier and Type Method Description void
HttpClientContext. setCredentialsProvider(CredentialsProvider credentialsProvider)
-