Package com.turo.pushy.apns.proxy
Contains classes and interfaces for working with proxies.
While ApnsClient
s will connect to an APNs server directly by default, they may
optionally be configured to connect through a proxy by setting a
ProxyHandlerFactory
via the
ApnsClientBuilder.setProxyHandlerFactory(ProxyHandlerFactory)
method. Proxy handler
factory implementations are provided for HTTP, SOCKS4, and SOCKS5 proxies.
- Author:
- Jon Chambers
-
Interface Summary Interface Description ProxyHandlerFactory A proxy handler factory creates proxy handlers for use in anApnsClient
's pipeline. -
Class Summary Class Description HttpProxyHandlerFactory A concreteProxyHandlerFactory
implementation that createsHttpProxyHandler
instances.Socks4ProxyHandlerFactory A concreteProxyHandlerFactory
implementation that createsSocks4ProxyHandler
instances.Socks5ProxyHandlerFactory A concreteProxyHandlerFactory
implementation that createsSocks5ProxyHandler
instances.