Class HttpProxyHandlerFactory

java.lang.Object
com.eatthepath.pushy.apns.proxy.HttpProxyHandlerFactory
All Implemented Interfaces:
ProxyHandlerFactory

public class HttpProxyHandlerFactory extends Object implements ProxyHandlerFactory
A concrete ProxyHandlerFactory implementation that creates HttpProxyHandler instances.
Since:
0.6
Author:
Jon Chambers
  • Constructor Details

    • HttpProxyHandlerFactory

      public HttpProxyHandlerFactory(SocketAddress proxyAddress)
      Creates a new proxy handler factory that will create HTTP proxy handlers that use the proxy at the given address and that will not perform authentication.
      Parameters:
      proxyAddress - the address of the HTTP proxy server
      Since:
      0.6
    • HttpProxyHandlerFactory

      public HttpProxyHandlerFactory(SocketAddress proxyAddress, String username, String password)
      Creates a new proxy handler factory that will create HTTP proxy handlers that use the proxy at the given address and that will authenticate with the given username and password.
      Parameters:
      proxyAddress - the address of the HTTP proxy server
      username - the username to use when connecting to the given proxy server
      password - the password to use when connecting to the given proxy server
      Since:
      0.6
  • Method Details