|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.gwt.data.ServerInfo
public final class ServerInfo
Server specific data related to a call.
Constructor Summary | |
---|---|
ServerInfo()
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getAddress()
Returns the IP address. |
java.lang.String |
getAgent()
Returns the agent name (ex: "Noelios Restlet Engine/1.1"). |
int |
getPort()
Returns the port number which received the call. |
void |
setAddress(java.lang.String address)
Sets the IP address which received the call. |
void |
setAgent(java.lang.String agent)
Sets the agent name (ex: "Noelios Restlet Engine/1.1"). |
void |
setPort(int port)
Sets the port number which received the call. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerInfo()
Method Detail |
---|
public java.lang.String getAddress()
public java.lang.String getAgent()
public int getPort()
public void setAddress(java.lang.String address)
address
- The IP address which received the call.public void setAgent(java.lang.String agent)
agent
- The agent name.public void setPort(int port)
port
- The port number which received the call.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |