railo.runtime.net.proxy
Class ProxyDataImpl
java.lang.Object
railo.runtime.net.proxy.ProxyDataImpl
- All Implemented Interfaces:
- Serializable, ProxyData
public class ProxyDataImpl
- extends Object
- implements ProxyData, Serializable
- See Also:
- Serialized Form
NO_PROXY
public static final ProxyData NO_PROXY
ProxyDataImpl
public ProxyDataImpl(String server,
int port,
String username,
String password)
ProxyDataImpl
public ProxyDataImpl()
release
public void release()
- Specified by:
release
in interface ProxyData
getPassword
public String getPassword()
- Specified by:
getPassword
in interface ProxyData
- Returns:
- the password
setPassword
public void setPassword(String password)
- Specified by:
setPassword
in interface ProxyData
- Parameters:
password
- the password to set
getPort
public int getPort()
- Specified by:
getPort
in interface ProxyData
- Returns:
- the port
setPort
public void setPort(int port)
- Specified by:
setPort
in interface ProxyData
- Parameters:
port
- the port to set
getServer
public String getServer()
- Specified by:
getServer
in interface ProxyData
- Returns:
- the server
setServer
public void setServer(String server)
- Specified by:
setServer
in interface ProxyData
- Parameters:
server
- the server to set
getUsername
public String getUsername()
- Specified by:
getUsername
in interface ProxyData
- Returns:
- the username
setUsername
public void setUsername(String username)
- Specified by:
setUsername
in interface ProxyData
- Parameters:
username
- the username to set
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
isValid
public static boolean isValid(ProxyData pd)
hasCredentials
public static boolean hasCredentials(ProxyData data)
getInstance
public static ProxyData getInstance(String proxyserver,
int proxyport,
String proxyuser,
String proxypassword)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 Railo