| java.lang.Object org.w3c.www.http.BasicValue org.w3c.www.http.HttpRange
firstpos | protected int firstpos(Code) | | First position in the range.
|
lastpos | protected int lastpos(Code) | | Last position in the range.
|
HttpRange | HttpRange(boolean isValid, String unit, int firstpos, int lastpos)(Code) | | |
HttpRange | public HttpRange()(Code) | | |
getFirstPosition | public int getFirstPosition()(Code) | | Get the first position of the range.
An integer giving the first pos for the range, or -1 if undefined. |
getLastPosition | public int getLastPosition()(Code) | | Get the last position for this range.
If the first position is negative, then the last position is to be
considered as the number of bytes relative to the end of the content.
An integer giving the last position. |
getUnit | public String getUnit()(Code) | | Get the unit in which this range is taken.
The unit in which this range is measured, or null if undefined. |
invalidateByteValue | protected void invalidateByteValue()(Code) | | |
setFirstPosition | public void setFirstPosition(int firstpos)(Code) | | Set the first position of the range.
Parameters: firstpos - The first positon for the range. |
setLastPosition | public void setLastPosition(int lastpos)(Code) | | Set the last position for this range.
If the given number is negative, it won't be displayed
meaning that everything from firstpos to the end
Parameters: lastpos - The new last position. |
setUnit | public void setUnit(String unit)(Code) | | Set the unit in which this range is taken.
|
updateByteValue | protected void updateByteValue()(Code) | | |
|
|