public class EPPProxyServer
extends java.lang.Object
EPPEnv.getProxyServers() value
which is driven by the EPP.ProxyServers
configuration property.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PORT
Constant for when no port has been defined.
|
| Constructor and Description |
|---|
EPPProxyServer()
Default constructor
|
EPPProxyServer(java.lang.String aServerName,
int aServerPort)
Constructor that takes both the server name and port.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decodeConfigItem(java.lang.String aConfigItem)
Parsing a proxy server configuration item that meets the regular
expression. "^\[?
|
java.lang.String |
getServerName()
Gets the proxy server name or IP address.
|
int |
getServerPort()
Gets the proxy server port number.
|
void |
setServerName(java.lang.String aServerName)
Sets the proxy server name or IP address.
|
void |
setServerPort(int aServerPort)
Sets the proxy server port number.
|
java.lang.String |
toString()
Convert the
EPPProxyServer attributes into a
String by separating the name and port with a colon
and enclosing the name in braces if the name contains a colon to
support encoding an IPv6 proxy server. |
public static int DEFAULT_PORT
public EPPProxyServer()
public EPPProxyServer(java.lang.String aServerName,
int aServerPort)
aServerName - Server name or IP address of proxy serveraServerPort - Server port of proxy serverpublic java.lang.String getServerName()
null otherwise.public void setServerName(java.lang.String aServerName)
aServerName - Proxy server name or IP address.public int getServerPort()
DEFAULT_PORT if not explicitly set.public void setServerPort(int aServerPort)
aServerPort - proxy server port numberpublic void decodeConfigItem(java.lang.String aConfigItem)
throws EPPConException
aConfigItem - Proxy server configuration item to parseEPPConException - failure in parsing the aConfigItempublic java.lang.String toString()
EPPProxyServer attributes into a
String by separating the name and port with a colon
and enclosing the name in braces if the name contains a colon to
support encoding an IPv6 proxy server.toString in class java.lang.ObjectEPPProxyServer as a StringCopyright © VeriSign Inc. All Rights Reserved.