|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AppleServer
Common interface of all classes representing a connection to any Apple server. Use AppleNotificationServer and AppleFeedbackServer interfaces for specific connections.
| Method Summary | |
|---|---|
String |
getKeystorePassword()
Returns the keystore's password. |
InputStream |
getKeystoreStream()
Returns a stream to a keystore. |
String |
getKeystoreType()
Returns the format used to produce the keystore (typically PKCS12). |
String |
getProxyAuthorization()
Get the proxy authorization (if any) currently configured for this specific server. |
String |
getProxyHost()
Get the proxy host address currently configured for this specific server. |
int |
getProxyPort()
Get the proxy port currently configured for this specific server. |
void |
setProxy(String proxyHost,
int proxyPort)
Configure a proxy to use for this specific server. |
void |
setProxyAuthorization(String proxyAuthorization)
Configure the proxy authorization to use for this specific server. |
| Method Detail |
|---|
InputStream getKeystoreStream()
throws InvalidKeystoreReferenceException
InvalidKeystoreReferenceExceptionString getKeystorePassword()
String getKeystoreType()
String getProxyHost()
ProxyManager for more information.
int getProxyPort()
ProxyManager for more information.
void setProxy(String proxyHost,
int proxyPort)
ProxyManager to configure a proxy for the entire library instead.
proxyHost - proxy host addressproxyPort - proxy host portString getProxyAuthorization()
ProxyManager for more information.
void setProxyAuthorization(String proxyAuthorization)
ProxyManager to configure a proxy for the entire library instead.
proxyAuthorization - encoded proxy authorization
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||