Package org.mapfish.print.http
Class MfRoutePlanner
java.lang.Object
org.apache.http.impl.conn.DefaultRoutePlanner
org.mapfish.print.http.MfRoutePlanner
- All Implemented Interfaces:
org.apache.http.conn.routing.HttpRoutePlanner
public final class MfRoutePlanner
extends org.apache.http.impl.conn.DefaultRoutePlanner
A Route planner that obtains proxies from the configuration that is currently in
MfClientHttpRequestFactoryImpl.CURRENT_CONFIGURATION
.
MfClientHttpRequestFactoryImpl.Request
will set the correct configuration before the
request is executed so that correct proxies will be set.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.HttpHost
determineProxy
(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) Methods inherited from class org.apache.http.impl.conn.DefaultRoutePlanner
determineRoute
-
Constructor Details
-
MfRoutePlanner
public MfRoutePlanner()Constructor.
-
-
Method Details
-
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.HttpException - Overrides:
determineProxy
in classorg.apache.http.impl.conn.DefaultRoutePlanner
- Throws:
org.apache.http.HttpException
-