Package org.apache.http.impl.conn
Class DefaultProxyRoutePlanner
- java.lang.Object
-
- org.apache.http.impl.conn.DefaultRoutePlanner
-
- org.apache.http.impl.conn.DefaultProxyRoutePlanner
-
- All Implemented Interfaces:
HttpRoutePlanner
@Contract(threading=IMMUTABLE_CONDITIONAL) public class DefaultProxyRoutePlanner extends DefaultRoutePlanner
Implementation of anHttpRoutePlannerthat routes requests through a default proxy.- Since:
- 4.3
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.http.HttpHostproxy
-
Constructor Summary
Constructors Constructor Description DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy)DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy, SchemePortResolver schemePortResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.http.HttpHostdetermineProxy(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)This implementation returns null.-
Methods inherited from class org.apache.http.impl.conn.DefaultRoutePlanner
determineRoute
-
-
-
-
Constructor Detail
-
DefaultProxyRoutePlanner
public DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy, SchemePortResolver schemePortResolver)
-
DefaultProxyRoutePlanner
public DefaultProxyRoutePlanner(org.apache.http.HttpHost proxy)
-
-
Method Detail
-
determineProxy
protected org.apache.http.HttpHost determineProxy(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpExceptionDescription copied from class:DefaultRoutePlannerThis implementation returns null.- Overrides:
determineProxyin classDefaultRoutePlanner- Throws:
org.apache.http.HttpException- may be thrown if overridden
-
-