Uses of Interface
org.apache.hc.client5.http.auth.AuthScheme
-
Packages that use AuthScheme 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 org.apache.hc.client5.http.impl.auth Standard and common HTTP authentication schemes.org.apache.hc.client5.http.protocol HTTP protocol interceptors that enable advanced functionality such as HTTP state management and authentication state caching. -
-
Uses of AuthScheme in org.apache.hc.client5.http
Fields in org.apache.hc.client5.http with type parameters of type AuthScheme Modifier and Type Field Description private java.util.Map<org.apache.hc.core5.http.HttpHost,AuthScheme>
ContextBuilder. authSchemeMap
Methods in org.apache.hc.client5.http that return types with arguments of type AuthScheme Modifier and Type Method Description java.util.List<AuthScheme>
AuthenticationStrategy. select(ChallengeType challengeType, java.util.Map<java.lang.String,AuthChallenge> challenges, org.apache.hc.core5.http.protocol.HttpContext context)
Returns an list ofAuthScheme
s to handle the givenAuthChallenge
s in their order of preference.Methods in org.apache.hc.client5.http with parameters of type AuthScheme Modifier and Type Method Description ContextBuilder
ContextBuilder. preemptiveAuth(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)
-
Uses of AuthScheme in org.apache.hc.client5.http.auth
Fields in org.apache.hc.client5.http.auth declared as AuthScheme Modifier and Type Field Description private AuthScheme
AuthExchange. authScheme
Fields in org.apache.hc.client5.http.auth with type parameters of type AuthScheme Modifier and Type Field Description private java.util.Queue<AuthScheme>
AuthExchange. authOptions
Methods in org.apache.hc.client5.http.auth that return AuthScheme Modifier and Type Method Description AuthScheme
AuthSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)
Creates an instance ofAuthScheme
.AuthScheme
AuthCache. get(org.apache.hc.core5.http.HttpHost host)
Returns the authentication state with the given authentication scope from the cache if available.default AuthScheme
AuthCache. get(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix)
Returns the authentication state with the given authentication scope from the cache if available.AuthScheme
AuthExchange. getAuthScheme()
Returns actualAuthScheme
.Methods in org.apache.hc.client5.http.auth that return types with arguments of type AuthScheme Modifier and Type Method Description java.util.Queue<AuthScheme>
AuthExchange. getAuthOptions()
Returns available auth options.Methods in org.apache.hc.client5.http.auth with parameters of type AuthScheme Modifier and Type Method Description default void
AuthCache. put(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix, AuthScheme authScheme)
Stores the authentication state with the given authentication scope in the cache.void
AuthCache. put(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)
Stores the authentication state with the given authentication scope in the cache.void
AuthExchange. select(AuthScheme authScheme)
Resets the auth state withAuthScheme
and clears auth options.Method parameters in org.apache.hc.client5.http.auth with type arguments of type AuthScheme Modifier and Type Method Description void
AuthExchange. setOptions(java.util.Queue<AuthScheme> authOptions)
Updates the auth state with a queue of auth options. -
Uses of AuthScheme in org.apache.hc.client5.http.impl
Methods in org.apache.hc.client5.http.impl that return types with arguments of type AuthScheme Modifier and Type Method Description java.util.List<AuthScheme>
DefaultAuthenticationStrategy. select(ChallengeType challengeType, java.util.Map<java.lang.String,AuthChallenge> challenges, org.apache.hc.core5.http.protocol.HttpContext context)
-
Uses of AuthScheme in org.apache.hc.client5.http.impl.auth
Classes in org.apache.hc.client5.http.impl.auth that implement AuthScheme Modifier and Type Class Description class
BasicScheme
Basic authentication scheme.class
BearerScheme
Bearer authentication scheme.class
DigestScheme
Digest authentication scheme.class
GGSSchemeBase
Deprecated.Do not use.class
KerberosScheme
Deprecated.Do not use.class
NTLMScheme
Deprecated.Do not use.class
SPNegoScheme
Deprecated.Do not use.Methods in org.apache.hc.client5.http.impl.auth that return AuthScheme Modifier and Type Method Description AuthScheme
BasicSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)
AuthScheme
BearerSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)
AuthScheme
DigestSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)
AuthScheme
KerberosSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)
Deprecated.AuthScheme
NTLMSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)
Deprecated.AuthScheme
SPNegoSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)
Deprecated.AuthScheme
BasicAuthCache. get(org.apache.hc.core5.http.HttpHost host)
AuthScheme
BasicAuthCache. get(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix)
private AuthScheme
AuthCacheKeeper. loadFromCache(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix, HttpClientContext clientContext)
Methods in org.apache.hc.client5.http.impl.auth with parameters of type AuthScheme Modifier and Type Method Description void
BasicAuthCache. put(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix, AuthScheme authScheme)
void
BasicAuthCache. put(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)
private void
AuthCacheKeeper. updateCache(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix, AuthScheme authScheme, HttpClientContext clientContext)
-
Uses of AuthScheme in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol with parameters of type AuthScheme Modifier and Type Method Description void
HttpClientContext. resetAuthExchange(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)
-