|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectittp.protocol.request.Request.Headers
ittp.protocol.request.headers.Host
This class analyse the header host send by the client.
Constructor Summary | |
Host(Request parent)
Constructor of the class |
Method Summary | |
java.lang.String |
getHostName()
Accessors for the String hostName. |
boolean |
isUsed()
Accessors for the boolean used. |
void |
setHostName(java.lang.String hostName)
Mutators for the String hostName. |
java.lang.String |
toString()
Convert to a string the headers date send by the client. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Host(Request parent)
Method Detail |
public void setHostName(java.lang.String hostName) throws ittpException
hostName
- String that contain the name of the host.
ittpException
- if the host already exist or if the host does not match.public java.lang.String getHostName()
public java.lang.String toString()
toString
in class Request.Headers
public boolean isUsed()
isUsed
in class Request.Headers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |