Class Constants


  • public final class Constants
    extends java.lang.Object
    Constants.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_CONNECTION_TIMEOUT

        public static final int DEFAULT_CONNECTION_TIMEOUT
        Default connection timeout in milliseconds.
        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
      • CLOSE_BYTES

        @Deprecated
        public static final byte[] CLOSE_BYTES
        Deprecated.
        Unused. Will be removed in Tomcat 10.
      • KEEPALIVE

        @Deprecated
        public static final java.lang.String KEEPALIVE
        Deprecated.
        Unused. Will be removed in Tomcat 10.
        See Also:
        Constant Field Values
      • KEEP_ALIVE_HEADER_VALUE_TOKEN

        public static final java.lang.String KEEP_ALIVE_HEADER_VALUE_TOKEN
        See Also:
        Constant Field Values
      • KEEPALIVE_BYTES

        @Deprecated
        public static final byte[] KEEPALIVE_BYTES
        Deprecated.
        Unused. Will be removed in Tomcat 10.
      • 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
      • BUFFERED_FILTER

        public static final int BUFFERED_FILTER
        Buffered filter (input)
        See Also:
        Constant Field Values
      • HTTP_11_BYTES

        public static final byte[] HTTP_11_BYTES
        HTTP/1.1 protocol version bytes.