|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.tags.http.Proxy
A class that holds proxy details for a session. At the moment this is a placeholder for two simple properties that may get added to as time goes by
Field Summary | |
static int |
PORT_UNSPECIFIED
the port number that represents port is unassigned |
Constructor Summary | |
Proxy()
Creates a new instance of Proxy |
|
Proxy(java.lang.String host,
int port)
Create a proxy given a host name and port number . |
Method Summary | |
java.lang.String |
getHost()
Getter for property host. |
int |
getPort()
Getter for property port. |
void |
setHost(java.lang.String host)
Setter for property host. |
void |
setPort(int port)
Setter for property port. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int PORT_UNSPECIFIED
Constructor Detail |
public Proxy()
public Proxy(java.lang.String host, int port)
host
- the host name of the proxy to be used.port
- the port to send proxied requests on.Method Detail |
public java.lang.String getHost()
public void setHost(java.lang.String host)
host
- the host name of the proxy to be used.public int getPort()
public void setPort(int port)
port
- the port to send proxied requests on.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |