org.apache.http.impl.client
Class BasicAuthCache
java.lang.Object
org.apache.http.impl.client.BasicAuthCache
- All Implemented Interfaces:
- AuthCache
@NotThreadSafe
public class BasicAuthCache
- extends Object
- implements AuthCache
Default implementation of AuthCache
.
- Since:
- 4.0
BasicAuthCache
public BasicAuthCache()
- Default constructor.
getKey
protected HttpHost getKey(HttpHost host)
put
public void put(HttpHost host,
AuthScheme authScheme)
- Specified by:
put
in interface AuthCache
get
public AuthScheme get(HttpHost host)
- Specified by:
get
in interface AuthCache
remove
public void remove(HttpHost host)
- Specified by:
remove
in interface AuthCache
clear
public void clear()
- Specified by:
clear
in interface AuthCache
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.