Package org.apache.coyote.http11
Class Constants
- java.lang.Object
-
- org.apache.coyote.http11.Constants
-
public final class Constants extends java.lang.ObjectConstants.
-
-
Field Summary
Fields Modifier and Type Field Description static byte[]_200_BYTESHTTP 200 OK response bytes.static byte[]_400_BYTESHTTP 400 Bad Request response bytes.static byte[]_404_BYTESHTTP 404 Not Found response bytes.static bytea'a'.static byteA'A'.static byte[]ACK_BYTESHTTP 100 Continue response bytes.static intBUFFERED_FILTERBuffered filter (input)static java.lang.StringCHUNKEDChunked transfer encoding value.static intCHUNKED_FILTERChunked filters (input and output).static java.lang.StringCLOSEConnection close value.static byteCOLONCOLON.static java.lang.StringCONNECTIONConnection header name.static byteCRCR.static java.lang.StringCRLFCRLF.static intDEFAULT_CONNECTION_TIMEOUTDefault connection timeout in milliseconds.static intGZIP_FILTERGZIP filter (output).static byteHTHT.static java.lang.StringHTTP_10HTTP/1.0.static java.lang.StringHTTP_11HTTP/1.1.static byte[]HTTP_11_BYTESHTTP/1.1 protocol version bytes.static intIDENTITY_FILTERIdentity filters (input and output).static java.lang.StringKEEP_ALIVE_HEADER_NAMEKeep-Alive header name.static java.lang.StringKEEP_ALIVE_HEADER_VALUE_TOKENKeep-alive header value token.static byteLC_OFFSETLower case offset.static byteLFLF.static byteQUESTION'?'.static byteSEMI_COLONSEMI_COLON.static byteSPSP.static java.lang.StringTRANSFERENCODINGTransfer-Encoding header name.static intVOID_FILTERVoid filters (input and output).static byteZ'Z'.
-
-
-
Field Detail
-
DEFAULT_CONNECTION_TIMEOUT
public static final int DEFAULT_CONNECTION_TIMEOUT
Default connection timeout in milliseconds.- See Also:
- Constant Field Values
-
CRLF
public static final java.lang.String CRLF
CRLF.- See Also:
- Constant Field Values
-
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
-
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
-
CONNECTION
public static final java.lang.String CONNECTION
Connection header name.- See Also:
- Constant Field Values
-
CLOSE
public static final java.lang.String CLOSE
Connection close value.- See Also:
- Constant Field Values
-
KEEP_ALIVE_HEADER_VALUE_TOKEN
public static final java.lang.String KEEP_ALIVE_HEADER_VALUE_TOKEN
Keep-alive header value token.- See Also:
- Constant Field Values
-
CHUNKED
public static final java.lang.String CHUNKED
Chunked transfer encoding value.- See Also:
- Constant Field Values
-
ACK_BYTES
public static final byte[] ACK_BYTES
HTTP 100 Continue response bytes.
-
TRANSFERENCODING
public static final java.lang.String TRANSFERENCODING
Transfer-Encoding header name.- See Also:
- Constant Field Values
-
KEEP_ALIVE_HEADER_NAME
public static final java.lang.String KEEP_ALIVE_HEADER_NAME
Keep-Alive header name.- See Also:
- Constant Field Values
-
_200_BYTES
public static final byte[] _200_BYTES
HTTP 200 OK response bytes.
-
_400_BYTES
public static final byte[] _400_BYTES
HTTP 400 Bad Request response bytes.
-
_404_BYTES
public static final byte[] _404_BYTES
HTTP 404 Not Found response bytes.
-
IDENTITY_FILTER
public static final int IDENTITY_FILTER
Identity filters (input and output).- See Also:
- Constant Field Values
-
CHUNKED_FILTER
public static final int CHUNKED_FILTER
Chunked filters (input and output).- See Also:
- Constant Field Values
-
VOID_FILTER
public static final int VOID_FILTER
Void filters (input and output).- See Also:
- Constant Field Values
-
GZIP_FILTER
public static final int GZIP_FILTER
GZIP filter (output).- See Also:
- Constant Field Values
-
BUFFERED_FILTER
public static final int BUFFERED_FILTER
Buffered filter (input)- See Also:
- Constant Field Values
-
HTTP_10
public static final java.lang.String HTTP_10
HTTP/1.0.- See Also:
- Constant Field Values
-
HTTP_11
public static final java.lang.String HTTP_11
HTTP/1.1.- See Also:
- Constant Field Values
-
HTTP_11_BYTES
public static final byte[] HTTP_11_BYTES
HTTP/1.1 protocol version bytes.
-
-