Code example for HttpRequest

Methods: getParams, getProtocolVersion, getRequestLine

0
 
class LibRequestDirector implements RequestDirector {
    
	private boolean DEBUG = true;
	private Logger logger = LoggerFactory.getLogger(LibRequestDirector.class); 
	 
    /** The connection manager. */ 
    protected final ClientConnectionManager connManager;
 
    /** The route planner. */ 
    protected final HttpRoutePlanner routePlanner;
 
    /** The connection re-use strategy. */ 
    protected final ConnectionReuseStrategy reuseStrategy;
 
    /** The keep-alive duration strategy. */ 
    protected final ConnectionKeepAliveStrategy keepAliveStrategy;
 
    /** The request executor. */ 
    protected final HttpRequestExecutor requestExec;
 
    /** The HTTP protocol processor. */ 
    protected final HttpProcessor httpProcessor;
 
    /** The request retry handler. */ 
    protected final HttpRequestRetryHandler retryHandler;