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. authSchemeMapMethods 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 ofAuthSchemes to handle the givenAuthChallenges in their order of preference.Methods in org.apache.hc.client5.http with parameters of type AuthScheme Modifier and Type Method Description ContextBuilderContextBuilder. 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 AuthSchemeAuthExchange. authSchemeFields in org.apache.hc.client5.http.auth with type parameters of type AuthScheme Modifier and Type Field Description private java.util.Queue<AuthScheme>AuthExchange. authOptionsMethods in org.apache.hc.client5.http.auth that return AuthScheme Modifier and Type Method Description AuthSchemeAuthSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)Creates an instance ofAuthScheme.AuthSchemeAuthCache. get(org.apache.hc.core5.http.HttpHost host)Returns the authentication state with the given authentication scope from the cache if available.default AuthSchemeAuthCache. 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.AuthSchemeAuthExchange. 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 voidAuthCache. 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.voidAuthCache. put(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)Stores the authentication state with the given authentication scope in the cache.voidAuthExchange. select(AuthScheme authScheme)Resets the auth state withAuthSchemeand clears auth options.Method parameters in org.apache.hc.client5.http.auth with type arguments of type AuthScheme Modifier and Type Method Description voidAuthExchange. 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 classBasicSchemeBasic authentication scheme.classBearerSchemeBearer authentication scheme.classDigestSchemeDigest authentication scheme.classGGSSchemeBaseDeprecated.Do not use.classKerberosSchemeDeprecated.Do not use.classNTLMSchemeDeprecated.Do not use.classSPNegoSchemeDeprecated.Do not use.Methods in org.apache.hc.client5.http.impl.auth that return AuthScheme Modifier and Type Method Description AuthSchemeBasicSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)AuthSchemeBearerSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)AuthSchemeDigestSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)AuthSchemeKerberosSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)Deprecated.AuthSchemeNTLMSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)Deprecated.AuthSchemeSPNegoSchemeFactory. create(org.apache.hc.core5.http.protocol.HttpContext context)Deprecated.AuthSchemeBasicAuthCache. get(org.apache.hc.core5.http.HttpHost host)AuthSchemeBasicAuthCache. get(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix)private AuthSchemeAuthCacheKeeper. 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 voidBasicAuthCache. put(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix, AuthScheme authScheme)voidBasicAuthCache. put(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)private voidAuthCacheKeeper. 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 voidHttpClientContext. resetAuthExchange(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)
-