Class HttpHeaderUtil
java.lang.Object
com.github.toolarium.network.server.util.HttpHeaderUtil
Http headers
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringALLOWstatic final StringAUTHORIZATIONstatic final StringCONTENT_LENGTHstatic final StringCONTENT_RANGEstatic final StringDATEstatic final StringHOSTstatic final StringIF_MATCHstatic final StringLAST_MODIFIEDstatic final StringLOCATIONstatic final StringRANGEstatic final StringCONTENT_LENGTH -
Method Summary
-
Field Details
-
ALLOW
ALLOW- See Also:
-
AUTHORIZATION
AUTHORIZATION- See Also:
-
CONTENT_RANGE
CONTENT_RANGE- See Also:
-
HOST
HOST- See Also:
-
IF_MATCH
IF_MATCH- See Also:
-
LOCATION
LOCATION- See Also:
-
RANGE
RANGE- See Also:
-
CONTENT_LENGTH
CONTENT_LENGTH- See Also:
-
WWW_AUTHENTICATE
CONTENT_LENGTH- See Also:
-
DATE
DATE- See Also:
-
LAST_MODIFIED
LAST_MODIFIED- See Also:
-
-
Method Details
-
getInstance
Get the instance- Returns:
- the instance
-
readHeaders
Read headers- Parameters:
br- the buffer- Returns:
- the headers
- Throws:
IOException- In case of an I/O error
-