-
public class HttpSpec.HeaderStandard HTTP header names.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringCONTENT_TYPEprivate final StringCONTENT_LENGTHprivate final StringLOCATIONprivate final StringRETRY_AFTERprivate final StringWEBSOCKET_ACCEPT_HEADERpublic final static HttpSpec.HeaderINSTANCE
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>values()Returns a list of all header name values. final StringgetCONTENT_TYPE()Content-Type header name. final StringgetCONTENT_LENGTH()Content-Length header name. final StringgetLOCATION()Location header name (used in redirects). final StringgetRETRY_AFTER()Retry-After header name. final StringgetWEBSOCKET_ACCEPT_HEADER()Sec-WebSocket-Accept header name. -
-
Method Detail
-
values
final <ERROR CLASS> values()
Returns a list of all header name values.
-
getCONTENT_TYPE
final String getCONTENT_TYPE()
Content-Type header name.
-
getCONTENT_LENGTH
final String getCONTENT_LENGTH()
Content-Length header name.
-
getLOCATION
final String getLOCATION()
Location header name (used in redirects).
-
getRETRY_AFTER
final String getRETRY_AFTER()
Retry-After header name.
-
getWEBSOCKET_ACCEPT_HEADER
final String getWEBSOCKET_ACCEPT_HEADER()
Sec-WebSocket-Accept header name.
-
-
-
-