Package com.eatthepath.pushy.apns.proxy
package com.eatthepath.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
-
ClassDescriptionA concrete
ProxyHandlerFactory
implementation that createsHttpProxyHandler
instances.A proxy handler factory creates proxy handlers for use in anApnsClient
's pipeline.A concreteProxyHandlerFactory
implementation that createsSocks4ProxyHandler
instances.A concreteProxyHandlerFactory
implementation that createsSocks5ProxyHandler
instances.