Class ShadowDefaultRequestDirector


  • @Implements(org.apache.http.impl.client.DefaultRequestDirector.class)
    public class ShadowDefaultRequestDirector
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected void __constructor__​(org.apache.commons.logging.Log log, org.apache.http.protocol.HttpRequestExecutor requestExec, org.apache.http.conn.ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, org.apache.http.conn.ConnectionKeepAliveStrategy kastrat, org.apache.http.conn.routing.HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, org.apache.http.client.HttpRequestRetryHandler retryHandler, org.apache.http.client.RedirectHandler redirectHandler, org.apache.http.client.AuthenticationHandler targetAuthHandler, org.apache.http.client.AuthenticationHandler proxyAuthHandler, org.apache.http.client.UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params)  
      protected void __constructor__​(org.apache.http.protocol.HttpRequestExecutor requestExec, org.apache.http.conn.ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, org.apache.http.conn.ConnectionKeepAliveStrategy kastrat, org.apache.http.conn.routing.HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, org.apache.http.client.HttpRequestRetryHandler retryHandler, org.apache.http.client.RedirectHandler redirectHandler, org.apache.http.client.AuthenticationHandler targetAuthHandler, org.apache.http.client.AuthenticationHandler proxyAuthHandler, org.apache.http.client.UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params)  
      protected org.apache.http.HttpResponse execute​(org.apache.http.HttpHost httpHost, org.apache.http.HttpRequest httpRequest, org.apache.http.protocol.HttpContext httpContext)  
      org.apache.http.conn.ConnectionKeepAliveStrategy getConnectionKeepAliveStrategy()  
      org.apache.http.conn.ClientConnectionManager getConnectionManager()  
      org.apache.http.ConnectionReuseStrategy getConnectionReuseStrategy()  
      org.apache.http.params.HttpParams getHttpParams()  
      org.apache.http.protocol.HttpProcessor getHttpProcessor()  
      org.apache.http.protocol.HttpRequestExecutor getHttpRequestExecutor()  
      org.apache.http.client.HttpRequestRetryHandler getHttpRequestRetryHandler()  
      org.apache.http.conn.routing.HttpRoutePlanner getHttpRoutePlanner()  
      static org.apache.http.HttpRequest getLatestSentHttpRequest()  
      static HttpRequestInfo getLatestSentHttpRequestInfo()  
      org.apache.commons.logging.Log getLog()  
      org.apache.http.client.AuthenticationHandler getProxyAuthenticationHandler()  
      org.apache.http.client.RedirectHandler getRedirectHandler()  
      static org.apache.http.HttpRequest getSentHttpRequest​(int index)
      Deprecated.
      static HttpRequestInfo getSentHttpRequestInfo​(int index)
      Deprecated.
      org.apache.http.client.AuthenticationHandler getTargetAuthenticationHandler()  
      org.apache.http.client.UserTokenHandler getUserTokenHandler()  
      static void reset()  
      • Methods inherited from class java.lang.Object

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

      • log

        protected org.apache.commons.logging.Log log
      • connectionManager

        protected org.apache.http.conn.ClientConnectionManager connectionManager
      • httpRoutePlanner

        protected org.apache.http.conn.routing.HttpRoutePlanner httpRoutePlanner
      • connectionReuseStrategy

        protected org.apache.http.ConnectionReuseStrategy connectionReuseStrategy
      • connectionKeepAliveStrategy

        protected org.apache.http.conn.ConnectionKeepAliveStrategy connectionKeepAliveStrategy
      • httpRequestExecutor

        protected org.apache.http.protocol.HttpRequestExecutor httpRequestExecutor
      • httpProcessor

        protected org.apache.http.protocol.HttpProcessor httpProcessor
      • httpRequestRetryHandler

        protected org.apache.http.client.HttpRequestRetryHandler httpRequestRetryHandler
      • redirectHandler

        protected org.apache.http.client.RedirectHandler redirectHandler
      • targetAuthenticationHandler

        protected org.apache.http.client.AuthenticationHandler targetAuthenticationHandler
      • proxyAuthenticationHandler

        protected org.apache.http.client.AuthenticationHandler proxyAuthenticationHandler
      • userTokenHandler

        protected org.apache.http.client.UserTokenHandler userTokenHandler
      • httpParams

        protected org.apache.http.params.HttpParams httpParams
    • Constructor Detail

      • ShadowDefaultRequestDirector

        public ShadowDefaultRequestDirector()
    • Method Detail

      • __constructor__

        @Implementation
        protected void __constructor__​(org.apache.commons.logging.Log log,
                                       org.apache.http.protocol.HttpRequestExecutor requestExec,
                                       org.apache.http.conn.ClientConnectionManager conman,
                                       org.apache.http.ConnectionReuseStrategy reustrat,
                                       org.apache.http.conn.ConnectionKeepAliveStrategy kastrat,
                                       org.apache.http.conn.routing.HttpRoutePlanner rouplan,
                                       org.apache.http.protocol.HttpProcessor httpProcessor,
                                       org.apache.http.client.HttpRequestRetryHandler retryHandler,
                                       org.apache.http.client.RedirectHandler redirectHandler,
                                       org.apache.http.client.AuthenticationHandler targetAuthHandler,
                                       org.apache.http.client.AuthenticationHandler proxyAuthHandler,
                                       org.apache.http.client.UserTokenHandler userTokenHandler,
                                       org.apache.http.params.HttpParams params)
      • __constructor__

        @Implementation
        protected void __constructor__​(org.apache.http.protocol.HttpRequestExecutor requestExec,
                                       org.apache.http.conn.ClientConnectionManager conman,
                                       org.apache.http.ConnectionReuseStrategy reustrat,
                                       org.apache.http.conn.ConnectionKeepAliveStrategy kastrat,
                                       org.apache.http.conn.routing.HttpRoutePlanner rouplan,
                                       org.apache.http.protocol.HttpProcessor httpProcessor,
                                       org.apache.http.client.HttpRequestRetryHandler retryHandler,
                                       org.apache.http.client.RedirectHandler redirectHandler,
                                       org.apache.http.client.AuthenticationHandler targetAuthHandler,
                                       org.apache.http.client.AuthenticationHandler proxyAuthHandler,
                                       org.apache.http.client.UserTokenHandler userTokenHandler,
                                       org.apache.http.params.HttpParams params)
      • getSentHttpRequest

        @Deprecated
        public static org.apache.http.HttpRequest getSentHttpRequest​(int index)
        Deprecated.
        Parameters:
        index - The index
        Returns:
        HttpRequest
      • getLatestSentHttpRequest

        public static org.apache.http.HttpRequest getLatestSentHttpRequest()
      • getLatestSentHttpRequestInfo

        public static HttpRequestInfo getLatestSentHttpRequestInfo()
      • execute

        @Implementation
        protected org.apache.http.HttpResponse execute​(org.apache.http.HttpHost httpHost,
                                                       org.apache.http.HttpRequest httpRequest,
                                                       org.apache.http.protocol.HttpContext httpContext)
                                                throws org.apache.http.HttpException,
                                                       java.io.IOException
        Throws:
        org.apache.http.HttpException
        java.io.IOException
      • getLog

        public org.apache.commons.logging.Log getLog()
      • getConnectionManager

        public org.apache.http.conn.ClientConnectionManager getConnectionManager()
      • getHttpRoutePlanner

        public org.apache.http.conn.routing.HttpRoutePlanner getHttpRoutePlanner()
      • getConnectionReuseStrategy

        public org.apache.http.ConnectionReuseStrategy getConnectionReuseStrategy()
      • getConnectionKeepAliveStrategy

        public org.apache.http.conn.ConnectionKeepAliveStrategy getConnectionKeepAliveStrategy()
      • getHttpRequestExecutor

        public org.apache.http.protocol.HttpRequestExecutor getHttpRequestExecutor()
      • getHttpProcessor

        public org.apache.http.protocol.HttpProcessor getHttpProcessor()
      • getHttpRequestRetryHandler

        public org.apache.http.client.HttpRequestRetryHandler getHttpRequestRetryHandler()
      • getRedirectHandler

        public org.apache.http.client.RedirectHandler getRedirectHandler()
      • getTargetAuthenticationHandler

        public org.apache.http.client.AuthenticationHandler getTargetAuthenticationHandler()
      • getProxyAuthenticationHandler

        public org.apache.http.client.AuthenticationHandler getProxyAuthenticationHandler()
      • getUserTokenHandler

        public org.apache.http.client.UserTokenHandler getUserTokenHandler()
      • getHttpParams

        public org.apache.http.params.HttpParams getHttpParams()
      • reset

        @Resetter
        public static void reset()