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.
Caching APIs for both the classic and the asynchronous
HTTP transports.
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
Methods in org.apache.hc.client5.http with parameters of type CredentialsProviderModifier and TypeMethodDescriptionAbstractClientContextBuilder.useCredentialsProvider(CredentialsProvider credentialsProvider) ContextBuilder.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.cache
Methods in org.apache.hc.client5.http.cache with parameters of type CredentialsProviderModifier and TypeMethodDescriptionCacheContextBuilder.useCredentialsProvider(CredentialsProvider credentialsProvider) -
Uses of CredentialsProvider in org.apache.hc.client5.http.impl.async
Methods in org.apache.hc.client5.http.impl.async with parameters of type CredentialsProviderModifier and TypeMethodDescriptionfinal H2AsyncClientBuilderH2AsyncClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider) Sets defaultCredentialsProviderinstance which will be used for request execution if not explicitly set in the client execution context.final HttpAsyncClientBuilderHttpAsyncClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider) Sets defaultCredentialsProviderinstance which will be used for request execution if not explicitly set in the client execution context. -
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.classImplementation 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.booleanScramScheme.isResponseReady(org.apache.hc.core5.http.HttpHost host, CredentialsProvider credentialsProvider, org.apache.hc.core5.http.protocol.HttpContext context) Allow response when: - INIT (preemptive client-first) — only if creds have been prepared - ANNOUNCED (401 without data) - SERVER_FIRST_RCVD (ready to send client-final) -
Uses of CredentialsProvider in org.apache.hc.client5.http.impl.classic
Methods in org.apache.hc.client5.http.impl.classic with parameters of type CredentialsProviderModifier and TypeMethodDescriptionfinal HttpClientBuilderHttpClientBuilder.setDefaultCredentialsProvider(CredentialsProvider credentialsProvider) Sets defaultCredentialsProviderinstance which will be used for request execution if not explicitly set in the client execution context. -
Uses of CredentialsProvider in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol that return CredentialsProviderModifier and TypeMethodDescriptionHttpClientContext.getCredentialsProvider()Represents aCredentialsProviderregistry used in the context of the request execution.Methods in org.apache.hc.client5.http.protocol with parameters of type CredentialsProviderModifier and TypeMethodDescriptionvoidHttpClientContext.setCredentialsProvider(CredentialsProvider credentialsProvider)