Class ResponseAuthCache

java.lang.Object
org.apache.http.client.protocol.ResponseAuthCache
All Implemented Interfaces:
org.apache.http.HttpResponseInterceptor

@Contract(threading=IMMUTABLE) @Deprecated public class ResponseAuthCache extends Object implements org.apache.http.HttpResponseInterceptor
Deprecated.
Response interceptor that adds successfully completed AuthSchemes to the local AuthCache instance. Cached AuthSchemes can be re-used when executing requests against known hosts, thus avoiding additional authentication round-trips.
Since:
4.1
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.commons.logging.Log
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    cache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)
    Deprecated.
     
    private boolean
    isCachable(AuthState authState)
    Deprecated.
     
    void
    process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
    Deprecated.
     
    private void
    uncache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • log

      private final org.apache.commons.logging.Log log
      Deprecated.
  • Constructor Details

    • ResponseAuthCache

      public ResponseAuthCache()
      Deprecated.
  • Method Details

    • process

      public void process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOException
      Deprecated.
      Specified by:
      process in interface org.apache.http.HttpResponseInterceptor
      Throws:
      org.apache.http.HttpException
      IOException
    • isCachable

      private boolean isCachable(AuthState authState)
      Deprecated.
    • cache

      private void cache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)
      Deprecated.
    • uncache

      private void uncache(AuthCache authCache, org.apache.http.HttpHost host, AuthScheme authScheme)
      Deprecated.