org.apache.http.impl.conn
Class DefaultProxyRoutePlanner

java.lang.Object
  extended by org.apache.http.impl.conn.DefaultRoutePlanner
      extended by org.apache.http.impl.conn.DefaultProxyRoutePlanner
All Implemented Interfaces:
HttpRoutePlanner

@Immutable
public class DefaultProxyRoutePlanner
extends DefaultRoutePlanner

Implementation of an HttpRoutePlanner that routes requests through a default proxy.

Since:
4.3

Constructor Summary
DefaultProxyRoutePlanner(HttpHost proxy, SchemePortResolver schemePortResolver)
           
 
Method Summary
protected  HttpHost determineProxy(HttpHost target, HttpRequest request, HttpContext context)
           
 
Methods inherited from class org.apache.http.impl.conn.DefaultRoutePlanner
determineRoute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProxyRoutePlanner

public DefaultProxyRoutePlanner(HttpHost proxy,
                                SchemePortResolver schemePortResolver)
Method Detail

determineProxy

protected HttpHost determineProxy(HttpHost target,
                                  HttpRequest request,
                                  HttpContext context)
                           throws HttpException
Overrides:
determineProxy in class DefaultRoutePlanner
Throws:
HttpException


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.