|
||||||||||
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.Range
This class analyse the header Range send by the client.
Constructor Summary | |
Range(Request parent)
Constructor of the class |
Method Summary | |
int |
getFirst()
Accessors for the number of the first octet of the body. |
int |
getLast()
Accessors for the number of the last octet of the body. |
boolean |
isUsed()
Accessors for the boolean used. |
void |
setRange(int first,
int last)
Mutators for the range (the first and the last octet of the portion). |
java.lang.String |
toString()
Convert to a string the headers range send by the client. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Range(Request parent)
Method Detail |
public void setRange(int first, int last) throws ittpException
first
- int that contain the first octet of the portion requested by the client.last
- int that contain the last octet of the portion requested by the client.
ittpException
- if the headers Range already received.public int getFirst()
public int getLast()
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 |