|
||||||||||
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.Date
This class analyse the header connection send by the client.
Constructor Summary | |
Date(Request parent)
Constructor of the class |
Method Summary | |
java.lang.String |
getDateTime()
Accessors for the boolean used. |
boolean |
isUsed()
Accessors for the boolean used. |
void |
setDateTime(java.lang.String dateText)
Mutators for the String dateText. |
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 Date(Request parent)
Method Detail |
public void setDateTime(java.lang.String dateText) throws ittpException
dateText
- String that contains the date when the request has been send.
ittpException
- if the headers DateTime already received or if the format of the date is incorrect
or if the request is old than 10 minutes.public java.lang.String getDateTime()
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 |