@Contract(threading=SAFE) public class BasicAuthCache extends Object implements AuthCache
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.
Constructor and Description |
---|
BasicAuthCache() |
BasicAuthCache(SchemePortResolver schemePortResolver)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
AuthScheme |
get(HttpHost host) |
void |
put(HttpHost host,
AuthScheme authScheme) |
void |
remove(HttpHost host) |
String |
toString() |
public BasicAuthCache(SchemePortResolver schemePortResolver)
public BasicAuthCache()
public void put(HttpHost host, AuthScheme authScheme)
public AuthScheme get(HttpHost host)
Copyright © 2010 - 2020 Adobe. All Rights Reserved