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 inMfClientHttpRequestFactoryImpl.CURRENT_CONFIGURATION
.MfClientHttpRequestFactoryImpl.Request
will set the correct configuration before the request is executed so that correct proxies will be set.
-
-
Constructor Summary
Constructors Constructor Description MfRoutePlanner()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.http.HttpHost
determineProxy(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context)
-
-
-
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.HttpException
- Overrides:
determineProxy
in classorg.apache.http.impl.conn.DefaultRoutePlanner
- Throws:
org.apache.http.HttpException
-
-