Interface AuthCache

All Known Implementing Classes:
BasicAuthCache

public interface AuthCache
This interface represents an cache of AuthScheme state information that can be re-used for preemptive authentication by subsequent requests.
Since:
4.1
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    get(org.apache.hc.core5.http.HttpHost host)
     
    void
    put(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)
     
    void
    remove(org.apache.hc.core5.http.HttpHost host)
     
  • Method Details

    • put

      void put(org.apache.hc.core5.http.HttpHost host, AuthScheme authScheme)
    • get

      AuthScheme get(org.apache.hc.core5.http.HttpHost host)
    • remove

      void remove(org.apache.hc.core5.http.HttpHost host)
    • clear

      void clear()