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
    Constructor
    Description
    Constructor.
  • Method Summary

    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)
     

    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 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 class org.apache.http.impl.conn.DefaultRoutePlanner
      Throws:
      org.apache.http.HttpException