Uses of Interface
org.apache.hc.client5.http.auth.CredentialsProvider
Packages that use CredentialsProvider
Package
Description
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.
Client HTTP authentication APIs.
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
Standard and common HTTP authentication schemes.
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
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 CredentialsProviderMethods in org.apache.hc.client5.http with parameters of type CredentialsProviderModifier and TypeMethodDescriptionContextBuilder.useCredentialsProvider(CredentialsProvider credentialsProvider) -
Uses of CredentialsProvider in org.apache.hc.client5.http.auth
Subinterfaces of CredentialsProvider in org.apache.hc.client5.http.authModifier and TypeInterfaceDescriptioninterfaceAbstract store of authentication credentials.Methods in org.apache.hc.client5.http.auth with parameters of type CredentialsProviderModifier and TypeMethodDescriptionbooleanAuthScheme.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 CredentialsProviderModifier and TypeFieldDescriptionprivate CredentialsProviderH2AsyncClientBuilder.credentialsProviderprivate CredentialsProviderHttpAsyncClientBuilder.credentialsProviderprivate final CredentialsProviderInternalAbstractHttpAsyncClient.credentialsProviderMethods in org.apache.hc.client5.http.impl.async with parameters of type CredentialsProviderModifier and TypeMethodDescriptionfinal H2AsyncClientBuilderH2AsyncClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider) Assigns defaultCredentialsProviderinstance which will be used for request execution if not explicitly set in the client execution context.final HttpAsyncClientBuilderHttpAsyncClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider) Assigns defaultCredentialsProviderinstance 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 CredentialsProviderModifierConstructorDescription(package private)InternalAbstractHttpAsyncClient(org.apache.hc.core5.reactor.DefaultConnectingIOReactor ioReactor, AsyncPushConsumerRegistry pushConsumerRegistry, 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, List<Closeable> closeables) (package private)InternalH2AsyncClient(org.apache.hc.core5.reactor.DefaultConnectingIOReactor ioReactor, AsyncExecChainElement execChain, AsyncPushConsumerRegistry pushConsumerRegistry, 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, List<Closeable> closeables) (package private)InternalHttpAsyncClient(org.apache.hc.core5.reactor.DefaultConnectingIOReactor ioReactor, AsyncExecChainElement execChain, AsyncPushConsumerRegistry pushConsumerRegistry, 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, List<Closeable> closeables) -
Uses of CredentialsProvider in org.apache.hc.client5.http.impl.auth
Classes in org.apache.hc.client5.http.impl.auth that implement CredentialsProviderModifier and TypeClassDescriptionclassDefault implementation ofCredentialsStore.(package private) final class(package private) final classclassImplementation ofCredentialsStorebacked by standard JREAuthenticator.Methods in org.apache.hc.client5.http.impl.auth that return CredentialsProviderMethods in org.apache.hc.client5.http.impl.auth with parameters of type CredentialsProviderModifier and TypeMethodDescriptionbooleanBasicScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) booleanBearerScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) booleanDigestScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) booleanGGSSchemeBase.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.booleanNTLMScheme.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 CredentialsProviderModifier and TypeFieldDescriptionprivate CredentialsProviderHttpClientBuilder.credentialsProviderprivate final CredentialsProviderInternalHttpClient.credentialsProviderMethods in org.apache.hc.client5.http.impl.classic with parameters of type CredentialsProviderModifier and TypeMethodDescriptionfinal HttpClientBuilderHttpClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider) Assigns defaultCredentialsProviderinstance 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 CredentialsProviderModifierConstructorDescriptionInternalHttpClient(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, List<Closeable> closeables) -
Uses of CredentialsProvider in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol that return CredentialsProviderMethods in org.apache.hc.client5.http.protocol with parameters of type CredentialsProviderModifier and TypeMethodDescriptionvoidHttpClientContext.setCredentialsProvider(CredentialsProvider credentialsProvider)