Package org.htmlunit

Class 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.
    • 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()  
      • 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 Detail

      • SynchronizedAuthCache

        SynchronizedAuthCache()
    • Method Detail

      • 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 java.lang.String toString()
        Overrides:
        toString in class org.apache.http.impl.client.BasicAuthCache