Package org.glassfish.grizzly.http.util
Class Constants
- java.lang.Object
-
- org.glassfish.grizzly.http.util.Constants
-
public final class Constants extends Object
Constants.- Author:
- Remy Maucherat
-
-
Field Summary
Fields Modifier and Type Field Description static bytea'a'.static byteA'A'.static StringCHUNKED_ENCODINGstatic byteCOLONCOLON.static byteCOMMACOMMA.static byteCRCR.static StringDEFAULT_HTTP_CHARACTER_ENCODINGDefault HTTP character encoding TODO Grizzly 2.0, by default, parsed the request URI using UTF-8.static CharsetDEFAULT_HTTP_CHARSETDefault HTTPCharsetstatic intDEFAULT_MAX_KEEP_ALIVEDefault max keep-alive count.static StringDEFAULT_RESPONSE_TYPEThe default response-typestatic StringFORM_POST_CONTENT_TYPEstatic byteHTHT.static byte[]IDENTITYstatic intKEEP_ALIVE_TIMEOUT_IN_SECONDSstatic byteLC_OFFSETLower case offset.static byteLFLF.static byteQUESTION'?'.static byteSEMI_COLONSEMI_COLON.static byteSPSP.static byteZ'Z'.
-
Constructor Summary
Constructors Constructor Description Constants()
-
-
-
Field Detail
-
CR
public static final byte CR
CR.- See Also:
- Constant Field Values
-
LF
public static final byte LF
LF.- See Also:
- Constant Field Values
-
SP
public static final byte SP
SP.- See Also:
- Constant Field Values
-
HT
public static final byte HT
HT.- See Also:
- Constant Field Values
-
COMMA
public static final byte COMMA
COMMA.- See Also:
- Constant Field Values
-
COLON
public static final byte COLON
COLON.- See Also:
- Constant Field Values
-
SEMI_COLON
public static final byte SEMI_COLON
SEMI_COLON.- See Also:
- Constant Field Values
-
A
public static final byte A
'A'.- See Also:
- Constant Field Values
-
a
public static final byte a
'a'.- See Also:
- Constant Field Values
-
Z
public static final byte Z
'Z'.- See Also:
- Constant Field Values
-
QUESTION
public static final byte QUESTION
'?'.- See Also:
- Constant Field Values
-
LC_OFFSET
public static final byte LC_OFFSET
Lower case offset.- See Also:
- Constant Field Values
-
DEFAULT_RESPONSE_TYPE
public static final String DEFAULT_RESPONSE_TYPE
The default response-type
-
CHUNKED_ENCODING
public static final String CHUNKED_ENCODING
- See Also:
- Constant Field Values
-
FORM_POST_CONTENT_TYPE
public static final String FORM_POST_CONTENT_TYPE
- See Also:
- Constant Field Values
-
KEEP_ALIVE_TIMEOUT_IN_SECONDS
public static final int KEEP_ALIVE_TIMEOUT_IN_SECONDS
- See Also:
- Constant Field Values
-
DEFAULT_MAX_KEEP_ALIVE
public static final int DEFAULT_MAX_KEEP_ALIVE
Default max keep-alive count.- See Also:
- Constant Field Values
-
DEFAULT_HTTP_CHARACTER_ENCODING
public static final String DEFAULT_HTTP_CHARACTER_ENCODING
Default HTTP character encoding TODO Grizzly 2.0, by default, parsed the request URI using UTF-8. We should probably do so with query parameters
-
IDENTITY
public static final byte[] IDENTITY
-
-