org.glassfish.grizzly.http
Class Constants

java.lang.Object
  extended by org.glassfish.grizzly.http.Constants

public class Constants
extends Object

Constants.

Author:
Remy Maucherat

Field Summary
static byte a
          'a'.
static byte A
          'A'.
static byte[] ACK_BYTES
          Ack string when pipelining HTTP requests.
protected static Charset ASCII_CHARSET
           
static String AUTHORIZATION_HEADER
          Default header names.
static String CHUNKED_ENCODING
           
static byte[] CHUNKED_ENCODING_BYTES
           
static byte[] CLOSE_BYTES
          Close bytes.
static byte COLON
          COLON.
static byte[] COLON_BYTES
          Colon bytes.
static byte COMMA
          COMMA.
static String CONTENT_ENCODING_HEADER
           
static String CONTENT_LENGTH_HEADER
           
static byte[] CONTENT_LENGTH_HEADER_BYTES
           
static String CONTENT_TYPE_HEADER
           
static byte CR
          CR.
static String CRLF
          CRLF.
static byte[] CRLF_BYTES
          CRLF bytes.
static String DEFAULT_CHARACTER_ENCODING
           
static int DEFAULT_HTTP_HEADER_BUFFER_SIZE
          Default HTTP header buffer size.
static int DEFAULT_MAX_DISPATCH_DEPTH
           
static int DEFAULT_MAX_KEEP_ALIVE
          Default max keep-alive count.
static String DEFAULT_RESPONSE_TYPE
          The default response-type
static String EXPECT_100_CONTINUE_NAME
           
static byte[] EXPECT_100_CONTINUE_NAME_BYTES
           
static String EXPECT_100_CONTINUE_VALUE
           
static byte[] EXPECT_100_CONTINUE_VALUE_BYTES
           
static String FORCED_RESPONSE_TYPE
          The forced response-type
static String GET
          GET.
static String HEAD
          HEAD.
static byte HT
          HT.
static String HTTP_10
          HTTP/1.0.
static String HTTP_11
          HTTP/1.1.
static String JROUTE_COOKIE
           
static int KEEP_ALIVE_TIMEOUT_IN_SECONDS
           
static byte[] KEEPALIVE_BYTES
          Keep-alive bytes.
static byte[] LAST_CHUNK_CRLF_BYTES
           
static byte LC_OFFSET
          Lower case offset.
static byte LF
          LF.
static String POST
          POST.
static int PROCESSOR_ACTIVE
           
static int PROCESSOR_IDLE
           
static String PROXY_JROUTE
           
static byte QUESTION
          '?'.
static boolean SECURITY
          Security flag.
static byte SEMI_COLON
          SEMI_COLON.
static byte SP
          SP.
static String SSL_CERTIFICATE_ATTR
          SSL Certificate Request Attributite.
static String TRANSFER_ENCODING_HEADER
           
static byte[] TRANSFER_ENCODING_HEADER_BYTES
           
static String UPGRADE_HEADER
           
static byte[] UPGRADE_HEADER_BYTES
           
static byte Z
          'Z'.
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASCII_CHARSET

protected static final Charset ASCII_CHARSET

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_HTTP_HEADER_BUFFER_SIZE

public static final int DEFAULT_HTTP_HEADER_BUFFER_SIZE
Default HTTP header buffer size.

See Also:
Constant Field Values

CRLF

public static final String CRLF
CRLF.

See Also:
Constant Field Values

CRLF_BYTES

public static final byte[] CRLF_BYTES
CRLF bytes.


COLON_BYTES

public static final byte[] COLON_BYTES
Colon bytes.


CLOSE_BYTES

public static final byte[] CLOSE_BYTES
Close bytes.


KEEPALIVE_BYTES

public static final byte[] KEEPALIVE_BYTES
Keep-alive bytes.


HTTP_10

public static final String HTTP_10
HTTP/1.0.

See Also:
Constant Field Values

HTTP_11

public static final String HTTP_11
HTTP/1.1.

See Also:
Constant Field Values

GET

public static final String GET
GET.

See Also:
Constant Field Values

HEAD

public static final String HEAD
HEAD.

See Also:
Constant Field Values

POST

public static final String POST
POST.

See Also:
Constant Field Values

ACK_BYTES

public static final byte[] ACK_BYTES
Ack string when pipelining HTTP requests.


PROCESSOR_IDLE

public static final int PROCESSOR_IDLE
See Also:
Constant Field Values

PROCESSOR_ACTIVE

public static final int PROCESSOR_ACTIVE
See Also:
Constant Field Values

AUTHORIZATION_HEADER

public static final String AUTHORIZATION_HEADER
Default header names.

See Also:
Constant Field Values

SSL_CERTIFICATE_ATTR

public static final String SSL_CERTIFICATE_ATTR
SSL Certificate Request Attributite.

See Also:
Constant Field Values

SECURITY

public static final boolean SECURITY
Security flag.


DEFAULT_MAX_DISPATCH_DEPTH

public static final int DEFAULT_MAX_DISPATCH_DEPTH
See Also:
Constant Field Values

DEFAULT_RESPONSE_TYPE

public static final String DEFAULT_RESPONSE_TYPE
The default response-type

See Also:
Constant Field Values

FORCED_RESPONSE_TYPE

public static final String FORCED_RESPONSE_TYPE
The forced response-type

See Also:
Constant Field Values

PROXY_JROUTE

public static final String PROXY_JROUTE
See Also:
Constant Field Values

JROUTE_COOKIE

public static final String JROUTE_COOKIE
See Also:
Constant Field Values

CONTENT_LENGTH_HEADER

public static final String CONTENT_LENGTH_HEADER
See Also:
Constant Field Values

CONTENT_TYPE_HEADER

public static final String CONTENT_TYPE_HEADER
See Also:
Constant Field Values

CONTENT_LENGTH_HEADER_BYTES

public static final byte[] CONTENT_LENGTH_HEADER_BYTES

TRANSFER_ENCODING_HEADER

public static final String TRANSFER_ENCODING_HEADER
See Also:
Constant Field Values

TRANSFER_ENCODING_HEADER_BYTES

public static final byte[] TRANSFER_ENCODING_HEADER_BYTES

CHUNKED_ENCODING

public static final String CHUNKED_ENCODING
See Also:
Constant Field Values

CHUNKED_ENCODING_BYTES

public static final byte[] CHUNKED_ENCODING_BYTES

UPGRADE_HEADER

public static final String UPGRADE_HEADER
See Also:
Constant Field Values

UPGRADE_HEADER_BYTES

public static final byte[] UPGRADE_HEADER_BYTES

LAST_CHUNK_CRLF_BYTES

public static final byte[] LAST_CHUNK_CRLF_BYTES

CONTENT_ENCODING_HEADER

public static final String CONTENT_ENCODING_HEADER
See Also:
Constant Field Values

DEFAULT_CHARACTER_ENCODING

public static final String DEFAULT_CHARACTER_ENCODING
See Also:
Constant Field Values

EXPECT_100_CONTINUE_NAME

public static final String EXPECT_100_CONTINUE_NAME
See Also:
Constant Field Values

EXPECT_100_CONTINUE_NAME_BYTES

public static final byte[] EXPECT_100_CONTINUE_NAME_BYTES

EXPECT_100_CONTINUE_VALUE

public static final String EXPECT_100_CONTINUE_VALUE
See Also:
Constant Field Values

EXPECT_100_CONTINUE_VALUE_BYTES

public static final byte[] EXPECT_100_CONTINUE_VALUE_BYTES

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
Constructor Detail

Constants

public Constants()


Copyright © 2010 Oracle Corpration. All Rights Reserved.