Class SnowflakeMutableProxyRoutePlanner

  • All Implemented Interfaces:
    Serializable, org.apache.http.conn.routing.HttpRoutePlanner

    public class SnowflakeMutableProxyRoutePlanner
    extends Object
    implements org.apache.http.conn.routing.HttpRoutePlanner, Serializable
    This class defines a ProxyRoutePlanner (used for creating HttpClients) that has the ability to change the nonProxyHosts setting.
    See Also:
    Serialized Form
    • Constructor Detail

      • SnowflakeMutableProxyRoutePlanner

        public SnowflakeMutableProxyRoutePlanner​(String host,
                                                 int proxyPort,
                                                 com.amazonaws.Protocol proxyProtocol,
                                                 String nonProxyHosts)
    • Method Detail

      • setNonProxyHosts

        public void setNonProxyHosts​(String nonProxyHosts)
      • getNonProxyHosts

        public String getNonProxyHosts()
      • determineRoute

        public org.apache.http.conn.routing.HttpRoute determineRoute​(org.apache.http.HttpHost target,
                                                                     org.apache.http.HttpRequest request,
                                                                     org.apache.http.protocol.HttpContext context)
                                                              throws org.apache.http.HttpException
        Specified by:
        determineRoute in interface org.apache.http.conn.routing.HttpRoutePlanner
        Throws:
        org.apache.http.HttpException