public abstract class AppleServerBasicImpl extends Object implements AppleServer
| Modifier | Constructor and Description |
|---|---|
protected |
AppleServerBasicImpl(Object keystore,
String password,
String type)
Constructs a AppleServerBasicImpl object.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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.
|
protected AppleServerBasicImpl(Object keystore, String password, String type) throws KeystoreException
keystore - The keystore to use (can be a File, an InputStream, a String for a file path, or a byte[] array)password - The keystore's passwordtype - The keystore type (typically PKCS12)KeystoreException - thrown if an error occurs when loading the keystorepublic InputStream getKeystoreStream() throws InvalidKeystoreReferenceException
AppleServergetKeystoreStream in interface AppleServerInvalidKeystoreReferenceExceptionpublic String getKeystorePassword()
AppleServergetKeystorePassword in interface AppleServerpublic String getKeystoreType()
AppleServergetKeystoreType in interface AppleServerpublic String getProxyHost()
AppleServerProxyManager for more information.getProxyHost in interface AppleServerpublic int getProxyPort()
AppleServerProxyManager for more information.getProxyPort in interface AppleServerpublic void setProxy(String proxyHost, int proxyPort)
AppleServerProxyManager to configure a proxy for the entire library instead.setProxy in interface AppleServerproxyHost - proxy host addressproxyPort - proxy host portCopyright © 2016. All rights reserved.