Package: com.keepsolid.androidkeepsolidcommon.commonsdk.entities
Extends: java.lang.Object
getHost
public java.lang.String getHost()
HTTP proxy server address
setHost
public void setHost(java.lang.String host)
getPort
public java.lang.String getPort()
HTTP proxy server port
setPort
public void setPort(java.lang.String port)
getUserAgentName
public java.lang.String getUserAgentName()
HTTP proxy user agent identifier
setUserAgentName
public void setUserAgentName(java.lang.String userAgentName)
getUsername
public java.lang.String getUsername()
HTTP proxy user name
setUsername
public void setUsername(java.lang.String username)
getPassword
public java.lang.String getPassword()
HTTP proxy user password
setPassword
public void setPassword(java.lang.String password)
getUserAgentValue
public java.lang.String getUserAgentValue()
HTTP proxy user agent string
setUserAgentValue
public void setUserAgentValue(java.lang.String userAgentValue)
isValid
public boolean isValid()
true if basic information (HTTP proxy server port and address) and user agent string are not empty and not null.
hasUserAgent
public boolean hasUserAgent()
boolean value which indicates whether user agent string is empty or not
hasBasicInfo
public boolean hasBasicInfo()
boolean value which indicates whether HTTP proxy server port and address are not empty and not null
hasAuthInfo
public boolean hasAuthInfo()
boolean value which indicates whether user name and password fields are empty or not
equalBasicInfo
public boolean equalBasicInfo(KSProxyConfiguration proxyConfig)
boolean value which indicates whether the basic info (HTTP proxy address and port) is equal to or not
KSProxyConfiguration
public KSProxyConfiguration(java.lang.String host, java.lang.String port, java.lang.String userAgentName, java.lang.String userAgentValue)