Constants (Apache Tomcat 7.0.104 API Documentation)

org.apache.tomcat.websocket

## Class Constants

- java.lang.Object
- - org.apache.tomcat.websocket.Constants

-     public class Constants
      extends Object

  Internal implementation constants.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `AUTHORIZATION_HEADER_NAME`
    `static String` | `CONNECTION_HEADER_NAME`
    `static String` | `CONNECTION_HEADER_VALUE`
    `static int` | `FOUND`
    `static String` | `HOST_HEADER_NAME`
    `static List<Extension>` | `INSTALLED_EXTENSIONS`
    `static String` | `LOCATION_HEADER_NAME`
    `static int` | `MAX_REDIRECTIONS_DEFAULT`
    `static String` | `MAX_REDIRECTIONS_PROPERTY`
    `static int` | `MOVED_PERMANENTLY`
    `static int` | `MULTIPLE_CHOICES`
    `static byte` | `OPCODE_BINARY`
    `static byte` | `OPCODE_CLOSE`
    `static byte` | `OPCODE_CONTINUATION`
    `static byte` | `OPCODE_PING`
    `static byte` | `OPCODE_PONG`
    `static byte` | `OPCODE_TEXT`
    `static String` | `ORIGIN_HEADER_NAME`
    `protected static String` | `PACKAGE_NAME` Deprecated. Will be removed in 8.5.x onwards.
    `static int` | `SEE_OTHER`
    `static boolean` | `STRICT_SPEC_COMPLIANCE`
    `static int` | `TEMPORARY_REDIRECT`
    `static String` | `UPGRADE_HEADER_NAME`
    `static String` | `UPGRADE_HEADER_VALUE`
    `static int` | `USE_PROXY`
    `static String` | `WS_AUTHENTICATION_PASSWORD`
    `static String` | `WS_AUTHENTICATION_USER_NAME`
    `static String` | `WS_EXTENSIONS_HEADER_NAME`
    `static String` | `WS_KEY_HEADER_NAME`
    `static String` | `WS_PROTOCOL_HEADER_NAME`
    `static String` | `WS_VERSION_HEADER_NAME`
    `static String` | `WS_VERSION_HEADER_VALUE`
    `static String` | `WWW_AUTHENTICATE_HEADER_NAME`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### PACKAGE_NAME

          @Deprecated
          protected static final String PACKAGE_NAME

      Deprecated. Will be removed in 8.5.x onwards.

    - #### OPCODE_CONTINUATION

          public static final byte OPCODE_CONTINUATION

      See Also:
        Constant Field Values

    - #### OPCODE_TEXT

          public static final byte OPCODE_TEXT

      See Also:
        Constant Field Values

    - #### OPCODE_BINARY

          public static final byte OPCODE_BINARY

      See Also:
        Constant Field Values

    - #### OPCODE_CLOSE

          public static final byte OPCODE_CLOSE

      See Also:
        Constant Field Values

    - #### OPCODE_PING

          public static final byte OPCODE_PING

      See Also:
        Constant Field Values

    - #### OPCODE_PONG

          public static final byte OPCODE_PONG

      See Also:
        Constant Field Values

    - #### MAX_REDIRECTIONS_PROPERTY

          public static final String MAX_REDIRECTIONS_PROPERTY

      See Also:
        Constant Field Values

    - #### MAX_REDIRECTIONS_DEFAULT

          public static final int MAX_REDIRECTIONS_DEFAULT

      See Also:
        Constant Field Values

    - #### HOST_HEADER_NAME

          public static final String HOST_HEADER_NAME

      See Also:
        Constant Field Values

    - #### UPGRADE_HEADER_NAME

          public static final String UPGRADE_HEADER_NAME

      See Also:
        Constant Field Values

    - #### UPGRADE_HEADER_VALUE

          public static final String UPGRADE_HEADER_VALUE

      See Also:
        Constant Field Values

    - #### ORIGIN_HEADER_NAME

          public static final String ORIGIN_HEADER_NAME

      See Also:
        Constant Field Values

    - #### CONNECTION_HEADER_NAME

          public static final String CONNECTION_HEADER_NAME

      See Also:
        Constant Field Values

    - #### CONNECTION_HEADER_VALUE

          public static final String CONNECTION_HEADER_VALUE

      See Also:
        Constant Field Values

    - #### LOCATION_HEADER_NAME

          public static final String LOCATION_HEADER_NAME

      See Also:
        Constant Field Values

    - #### AUTHORIZATION_HEADER_NAME

          public static final String AUTHORIZATION_HEADER_NAME

      See Also:
        Constant Field Values

    - #### WWW_AUTHENTICATE_HEADER_NAME

          public static final String WWW_AUTHENTICATE_HEADER_NAME

      See Also:
        Constant Field Values

    - #### WS_VERSION_HEADER_NAME

          public static final String WS_VERSION_HEADER_NAME

      See Also:
        Constant Field Values

    - #### WS_VERSION_HEADER_VALUE

          public static final String WS_VERSION_HEADER_VALUE

      See Also:
        Constant Field Values

    - #### WS_KEY_HEADER_NAME

          public static final String WS_KEY_HEADER_NAME

      See Also:
        Constant Field Values

    - #### WS_PROTOCOL_HEADER_NAME

          public static final String WS_PROTOCOL_HEADER_NAME

      See Also:
        Constant Field Values

    - #### WS_EXTENSIONS_HEADER_NAME

          public static final String WS_EXTENSIONS_HEADER_NAME

      See Also:
        Constant Field Values

    - #### MULTIPLE_CHOICES

          public static final int MULTIPLE_CHOICES

      See Also:
        Constant Field Values

    - #### MOVED_PERMANENTLY

          public static final int MOVED_PERMANENTLY

      See Also:
        Constant Field Values

    - #### FOUND

          public static final int FOUND

      See Also:
        Constant Field Values

    - #### SEE_OTHER

          public static final int SEE_OTHER

      See Also:
        Constant Field Values

    - #### USE_PROXY

          public static final int USE_PROXY

      See Also:
        Constant Field Values

    - #### TEMPORARY_REDIRECT

          public static final int TEMPORARY_REDIRECT

      See Also:
        Constant Field Values

    - #### WS_AUTHENTICATION_USER_NAME

          public static final String WS_AUTHENTICATION_USER_NAME

      See Also:
        Constant Field Values

    - #### WS_AUTHENTICATION_PASSWORD

          public static final String WS_AUTHENTICATION_PASSWORD

      See Also:
        Constant Field Values

    - #### STRICT_SPEC_COMPLIANCE

          public static final boolean STRICT_SPEC_COMPLIANCE

    - #### INSTALLED_EXTENSIONS

          public static final List<Extension> INSTALLED_EXTENSIONS

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.