|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.proxy.ProxyBean
public class ProxyBean
| Field Summary | |
|---|---|
static java.lang.String |
HTTP_PROXY
|
static java.lang.String |
SOCKS_PROXY
|
| Constructor Summary | |
|---|---|
ProxyBean()
Instantiates a new proxy bean. |
|
ProxyBean(java.lang.String type,
java.lang.String url,
int port,
java.lang.String user,
byte[] encryptedPassword)
Instantiates a new proxy bean. |
|
| Method Summary | |
|---|---|
byte[] |
getEncryptedPassword()
Gets the encrypted password. |
java.lang.String |
getPassword()
Gets the password. |
int |
getPort()
Gets the port. |
java.lang.String |
getType()
Gets the type. |
java.lang.String |
getUrl()
Gets the url. |
java.lang.String |
getUser()
Gets the user. |
static void |
main(java.lang.String[] args)
|
void |
setEncryptedPassword(byte[] encryptedPassword)
Sets the encrypted password. |
void |
setPassword(java.lang.String password)
Sets the password. |
void |
setPort(int port)
Sets the port. |
void |
setType(java.lang.String type)
Sets the type. |
void |
setUrl(java.lang.String url)
Sets the url. |
void |
setUser(java.lang.String user)
Sets the user. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String HTTP_PROXY
public static final java.lang.String SOCKS_PROXY
| Constructor Detail |
|---|
public ProxyBean()
public ProxyBean(java.lang.String type,
java.lang.String url,
int port,
java.lang.String user,
byte[] encryptedPassword)
type - the typeurl - the urlport - the portuser - the userencryptedPassword - the encrypted password| Method Detail |
|---|
public byte[] getEncryptedPassword()
public java.lang.String getPassword()
public int getPort()
public java.lang.String getType()
public java.lang.String getUrl()
public java.lang.String getUser()
public void setEncryptedPassword(byte[] encryptedPassword)
encryptedPassword - the new encrypted passwordpublic void setPassword(java.lang.String password)
password - the new passwordpublic void setPort(int port)
port - the new portpublic void setType(java.lang.String type)
type - the new typepublic void setUrl(java.lang.String url)
url - the new urlpublic void setUser(java.lang.String user)
user - the new userpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||