AuthScheme state information
that can be re-used for preemptive authentication by subsequent requests.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public AuthScheme | |
| public default AuthScheme | Returns: the authentication state irnull if not available in the cache.the authentication authority. host, String the path prefix (the path component up to the last segment separator).
Can be pathPrefix)null.Returns the authentication state with the given authentication scope from the cache if available. |
| public void | put(HttpHost
the authentication authority. host, AuthScheme the cacheable authentication state. authScheme)Stores the authentication state with the given authentication scope in the cache. |
| public default void | put(HttpHost
the authentication authority. host, String the path prefix (the path component up to the last segment separator).
Can be pathPrefix, AuthScheme null.the cacheable authentication state. authScheme)Stores the authentication state with the given authentication scope in the cache. |
| public void | |
| public default void |
| clear | back to summary |
|---|---|
| public void clear() | |
| get | back to summary |
|---|---|
| public AuthScheme get(HttpHost host) Returns the authentication state with the given authentication scope from the cache if available.
| |
| get | back to summary |
|---|---|
| public default AuthScheme get(HttpHost host, String pathPrefix) Returns the authentication state with the given authentication scope from the cache if available.
| |
| put | back to summary |
|---|---|
| public void put(HttpHost host, AuthScheme authScheme) Stores the authentication state with the given authentication scope in the cache.
| |
| put | back to summary |
|---|---|
| public default void put(HttpHost host, String pathPrefix, AuthScheme authScheme) Stores the authentication state with the given authentication scope in the cache.
| |
| remove | back to summary |
|---|---|
| public void remove(HttpHost host) Removes the authentication state with the given authentication scope from the cache if found.
| |
| remove | back to summary |
|---|---|
| public default void remove(HttpHost host, String pathPrefix) Removes the authentication state with the given authentication scope from the cache if found. | |