Top Constructors Methods
org.apache.hc.client5.http.impl.auth

pack-priv final Class CredentialsMatcher

extends Object
Class Inheritance
Imports
java.util.Map, org.apache.hc.client5.http.auth.AuthScope, .Credentials

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static Credentials

Returns:

the credentials
matchCredentials
(final Map<AuthScope, Credentials>
the credentials hash map
map
,
final AuthScope authScope)

Find matching credentials for the given authentication scope.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CredentialsMatcherback to summary
pack-priv CredentialsMatcher()

Method Detail

matchCredentialsback to summary
pack-priv static Credentials matchCredentials(final Map<AuthScope, Credentials> map, final AuthScope authScope)

Find matching credentials for the given authentication scope.

Parameters
map:Map<AuthScope, Credentials>

the credentials hash map

authScope:AuthScope

the authentication scope

Returns:Credentials

the credentials