Package org.htmlunit
Class HttpWebConnection.SynchronizedAuthCache
- java.lang.Object
-
- org.apache.http.impl.client.BasicAuthCache
-
- org.htmlunit.HttpWebConnection.SynchronizedAuthCache
-
- All Implemented Interfaces:
org.apache.http.client.AuthCache
- Enclosing class:
- HttpWebConnection
private static final class HttpWebConnection.SynchronizedAuthCache extends org.apache.http.impl.client.BasicAuthCache
An authentication cache that is synchronized.
-
-
Constructor Summary
Constructors Constructor Description SynchronizedAuthCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
org.apache.http.auth.AuthScheme
get(org.apache.http.HttpHost host)
void
put(org.apache.http.HttpHost host, org.apache.http.auth.AuthScheme authScheme)
void
remove(org.apache.http.HttpHost host)
java.lang.String
toString()
-
-
-
Method Detail
-
put
public void put(org.apache.http.HttpHost host, org.apache.http.auth.AuthScheme authScheme)
- Specified by:
put
in interfaceorg.apache.http.client.AuthCache
- Overrides:
put
in classorg.apache.http.impl.client.BasicAuthCache
-
get
public org.apache.http.auth.AuthScheme get(org.apache.http.HttpHost host)
- Specified by:
get
in interfaceorg.apache.http.client.AuthCache
- Overrides:
get
in classorg.apache.http.impl.client.BasicAuthCache
-
remove
public void remove(org.apache.http.HttpHost host)
- Specified by:
remove
in interfaceorg.apache.http.client.AuthCache
- Overrides:
remove
in classorg.apache.http.impl.client.BasicAuthCache
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.http.client.AuthCache
- Overrides:
clear
in classorg.apache.http.impl.client.BasicAuthCache
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.apache.http.impl.client.BasicAuthCache
-
-