Class AuthCacheKeeper

java.lang.Object
org.apache.hc.client5.http.impl.auth.AuthCacheKeeper

@Internal @Contract(threading=STATELESS) public final class AuthCacheKeeper extends Object
Utility class that implements commons aspects of the client side authentication cache keeping.
Since:
5.2
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
    • schemePortResolver

      private final SchemePortResolver schemePortResolver
  • Constructor Details

  • Method Details

    • updateOnChallenge

      public void updateOnChallenge(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context)
    • updateOnNoChallenge

      public void updateOnNoChallenge(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context)
    • updateOnResponse

      public void updateOnResponse(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context)
    • loadPreemptively

      public void loadPreemptively(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context)
    • loadFromCache

      private AuthScheme loadFromCache(org.apache.hc.core5.http.HttpHost host, String pathPrefix, HttpClientContext clientContext)
    • updateCache

      private void updateCache(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthScheme authScheme, HttpClientContext clientContext)
    • clearCache

      private void clearCache(org.apache.hc.core5.http.HttpHost host, String pathPrefix, HttpClientContext clientContext)