|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavapns.communication.ProxyManager
public class ProxyManager
Main class for dealing with proxies.
| Method Summary | |
|---|---|
static String |
getProxyHost(AppleServer server)
Get the proxy host address currently configured. |
static int |
getProxyPort(AppleServer server)
Get the proxy port currently configured. |
static boolean |
isUsingProxy(AppleServer server)
Determine if a proxy is currently configured. |
static void |
setJVMProxy(String host,
String port)
Configure a proxy to use for HTTPS connections created anywhere in the JVM (not recommended). |
static void |
setProxy(String host,
String port)
Configure a proxy to use for HTTPS connections created by JavaPNS. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setProxy(String host,
String port)
host - the proxyHostport - the proxyPort
public static void setJVMProxy(String host,
String port)
host - the proxyHostport - the proxyPortpublic static String getProxyHost(AppleServer server)
server - a specific server to check for proxy settings (may be null)
public static int getProxyPort(AppleServer server)
server - a specific server to check for proxy settings (may be null)
public static boolean isUsingProxy(AppleServer server)
server - a specific server to check for proxy settings (may be null)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||