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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    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)
     
     

    Methods inherited from class org.apache.http.impl.client.BasicAuthCache

    getKey

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SynchronizedAuthCache

      SynchronizedAuthCache()
  • Method Details

    • put

      public void put(org.apache.http.HttpHost host, org.apache.http.auth.AuthScheme authScheme)
      Specified by:
      put in interface org.apache.http.client.AuthCache
      Overrides:
      put in class org.apache.http.impl.client.BasicAuthCache
    • get

      public org.apache.http.auth.AuthScheme get(org.apache.http.HttpHost host)
      Specified by:
      get in interface org.apache.http.client.AuthCache
      Overrides:
      get in class org.apache.http.impl.client.BasicAuthCache
    • remove

      public void remove(org.apache.http.HttpHost host)
      Specified by:
      remove in interface org.apache.http.client.AuthCache
      Overrides:
      remove in class org.apache.http.impl.client.BasicAuthCache
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.http.client.AuthCache
      Overrides:
      clear in class org.apache.http.impl.client.BasicAuthCache
    • toString

      public String toString()
      Overrides:
      toString in class org.apache.http.impl.client.BasicAuthCache