org.apache.http.impl.client
Class BasicAuthCache
java.lang.Object
   org.apache.http.impl.client.BasicAuthCache
org.apache.http.impl.client.BasicAuthCache
- All Implemented Interfaces: 
- AuthCache
- @Contract(threading=SAFE)
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
 
 
 
BasicAuthCache
public BasicAuthCache(SchemePortResolver schemePortResolver)
- Default constructor.
 
- Since:
- 4.3
 
BasicAuthCache
public BasicAuthCache()
getKey
protected org.apache.http.HttpHost getKey(org.apache.http.HttpHost host)
- 
 
- 
 
put
public void put(org.apache.http.HttpHost host,
                AuthScheme authScheme)
- 
- Specified by:
- putin interface- AuthCache
 
- 
 
get
public AuthScheme get(org.apache.http.HttpHost host)
- 
- Specified by:
- getin interface- AuthCache
 
- 
 
remove
public void remove(org.apache.http.HttpHost host)
- 
- Specified by:
- removein interface- AuthCache
 
- 
 
clear
public void clear()
- 
- Specified by:
- clearin interface- AuthCache
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.