public class TransportPreferencesImpl extends PreferencesMap implements TransportPreferences
Constructor and Description |
---|
TransportPreferencesImpl() |
Modifier and Type | Method and Description |
---|---|
protected PreferencesMap |
createChild(String myKey) |
int |
getConnectionTimeout() |
int |
getMaxDownloadLimit() |
protected Object |
getPrefValueFromString(String prefName,
String value) |
String |
getProxyHost() |
String |
getProxyPassword() |
int |
getProxyPort() |
String |
getProxyUsername() |
int |
getSocketTimeout() |
RevocationCheckStyle |
getSSLRevCheckStyle()
Indicates the revocation check style for secure transport
|
boolean |
isTransportDisabled()
Indicates is Transport needs to be disabled
|
PreferencesMap |
newInstance()
Get the new instance of the type
|
void |
setConnectionTimeout(int connectionTimeout) |
void |
setMaxDownloadLimit(int maxDownloadLimit) |
void |
setProxyHost(String proxyHost) |
void |
setProxyPassword(String proxyPassword) |
void |
setProxyPort(int proxyPort) |
void |
setProxyUsername(String proxyUsername) |
void |
setSocketTimeout(int socketTimeout) |
void |
setSSLRevCheckStyle(RevocationCheckStyle style) |
void |
setTransportDisabled(boolean isDisabled) |
clone, get, getNonCloneableKeys, getPreference, put, setPreference
protected Object getPrefValueFromString(String prefName, String value)
getPrefValueFromString
in class PreferencesMap
public PreferencesMap newInstance()
PreferencesMap
newInstance
in class PreferencesMap
protected PreferencesMap createChild(String myKey)
createChild
in class PreferencesMap
public int getConnectionTimeout()
getConnectionTimeout
in interface TransportPreferences
public void setConnectionTimeout(int connectionTimeout)
connectionTimeout
- The connectionTimeout to set.public int getMaxDownloadLimit()
getMaxDownloadLimit
in interface TransportPreferences
public void setMaxDownloadLimit(int maxDownloadLimit)
maxDownloadLimit
- The maxDownloadLimit to set.public String getProxyHost()
getProxyHost
in interface TransportPreferences
public void setProxyHost(String proxyHost)
proxyHost
- The proxyHost to set.public int getProxyPort()
getProxyPort
in interface TransportPreferences
public void setProxyPort(int proxyPort)
proxyPort
- The proxyPort to set.public String getProxyPassword()
getProxyPassword
in interface TransportPreferences
public void setProxyPassword(String proxyPassword)
proxyPassword
- The proxyPassword to set.public String getProxyUsername()
getProxyUsername
in interface TransportPreferences
public void setProxyUsername(String proxyUsername)
proxyUsername
- The proxyUsername to set.public int getSocketTimeout()
getSocketTimeout
in interface TransportPreferences
public void setSocketTimeout(int socketTimeout)
socketTimeout
- Socket timeout in seconds.public boolean isTransportDisabled()
TransportPreferences
isTransportDisabled
in interface TransportPreferences
public void setTransportDisabled(boolean isDisabled)
public RevocationCheckStyle getSSLRevCheckStyle()
TransportPreferences
getSSLRevCheckStyle
in interface TransportPreferences
public void setSSLRevCheckStyle(RevocationCheckStyle style)
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.