Class BasicAuthCache
java.lang.Object
org.apache.hc.client5.http.impl.auth.BasicAuthCache
- All Implemented Interfaces:
AuthCache
@Contract(threading=SAFE_CONDITIONAL)
public class BasicAuthCache
extends Object
implements AuthCache
Default implementation of
AuthCache. This implements
expects AuthScheme to be Serializable
in order to be cacheable.
Instances of this class are thread safe as of version 4.4.
- Since:
- 4.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Loggerprivate final Map<org.apache.hc.core5.http.HttpHost,byte[]> private final SchemePortResolver -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
map
-
schemePortResolver
-
-
Constructor Details
-
BasicAuthCache
Default constructor.- Since:
- 4.3
-
BasicAuthCache
public BasicAuthCache()
-
-
Method Details
-
put
-
get
-
remove
public void remove(org.apache.hc.core5.http.HttpHost host) -
clear
public void clear() -
toString
-