| java.lang.Object org.w3c.www.http.BasicValue org.w3c.www.http.HttpContentRange
HttpContentRange | HttpContentRange()(Code) | | |
HttpContentRange | public HttpContentRange(boolean isValid, String unit, int firstpos, int lastpos, int length)(Code) | | |
getFirstPosition | public int getFirstPosition()(Code) | | Get this range first position.
The meaning of the returne integer is to be understood relative to
the unit, as obtained by getUnit method.
An integer value for thr first position. |
getFullLength | public int getFullLength()(Code) | | Get this range entity full length.
The full length of the entity. |
getLastPosition | public int getLastPosition()(Code) | | Get this range last position.
The meaning of the returne integer is to be understood relative to
the unit, as obtained by getUnit method.
An integer value giving the last position. |
getUnit | public String getUnit()(Code) | | Get this content range's unit.
A String giving the unit for the range, or nullif undefined. |
setFirstPosition | public void setFirstPosition(int firstpos)(Code) | | Set this range first position.
Parameters: firstpos - The firt position of the range. |
setFullLength | public void setFullLength(int length)(Code) | | Set this range entity full length.
Parameters: length - The new full length for the entity, -1 if unknown. |
setLastPosition | public void setLastPosition(int lastpos)(Code) | | Set this range last position.
Parameters: The - last position, as an integer. |
setUnit | public void setUnit(String unit)(Code) | | Set this content range's unit.
Parameters: unit - The unit in which this range was measured. |
updateByteValue | protected void updateByteValue()(Code) | | |
|
|