org.apache.hc.client5.http.impl.auth

## 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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AuthCacheKeeper(SchemePortResolver schemePortResolver)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `loadPreemptively(HttpHost host, String pathPrefix, AuthExchange authExchange, HttpContext context)`
    `void` | `updateOnChallenge(HttpHost host, String pathPrefix, AuthExchange authExchange, HttpContext context)`
    `void` | `updateOnNoChallenge(HttpHost host, String pathPrefix, AuthExchange authExchange, HttpContext context)`
    `void` | `updateOnResponse(HttpHost host, String pathPrefix, AuthExchange authExchange, HttpContext context)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AuthCacheKeeper

          public AuthCacheKeeper(SchemePortResolver schemePortResolver)

  - ### Method Detail

    - #### updateOnChallenge

          public void updateOnChallenge(HttpHost host,
                                        String pathPrefix,
                                        AuthExchange authExchange,
                                        HttpContext context)

    - #### updateOnNoChallenge

          public void updateOnNoChallenge(HttpHost host,
                                          String pathPrefix,
                                          AuthExchange authExchange,
                                          HttpContext context)

    - #### updateOnResponse

          public void updateOnResponse(HttpHost host,
                                       String pathPrefix,
                                       AuthExchange authExchange,
                                       HttpContext context)

    - #### loadPreemptively

          public void loadPreemptively(HttpHost host,
                                       String pathPrefix,
                                       AuthExchange authExchange,
                                       HttpContext context)

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.