Class MfRoutePlanner

java.lang.Object
org.apache.hc.client5.http.impl.routing.DefaultRoutePlanner
org.mapfish.print.http.MfRoutePlanner
All Implemented Interfaces:
org.apache.hc.client5.http.routing.HttpRoutePlanner

public final class MfRoutePlanner extends org.apache.hc.client5.http.impl.routing.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.hc.core5.http.HttpHost
    determineProxy(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.protocol.HttpContext context)
     

    Methods inherited from class org.apache.hc.client5.http.impl.routing.DefaultRoutePlanner

    determineLocalAddress, determineRoute, 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.hc.core5.http.HttpHost determineProxy(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.protocol.HttpContext context) throws org.apache.hc.core5.http.HttpException
      Overrides:
      determineProxy in class org.apache.hc.client5.http.impl.routing.DefaultRoutePlanner
      Throws:
      org.apache.hc.core5.http.HttpException