Class Constants


  • public class Constants
    extends java.lang.Object
    Internal implementation constants.
    • Field Detail

      • SSL_PROTOCOLS_PROPERTY

        public static final java.lang.String SSL_PROTOCOLS_PROPERTY
        Property name to set to configure the value that is passed to SSLEngine.setEnabledProtocols(String[]). The value should be a comma separated string.
        See Also:
        Constant Field Values
      • SSL_TRUSTSTORE_PROPERTY

        public static final java.lang.String SSL_TRUSTSTORE_PROPERTY
        See Also:
        Constant Field Values
      • SSL_TRUSTSTORE_PWD_PROPERTY

        public static final java.lang.String SSL_TRUSTSTORE_PWD_PROPERTY
        See Also:
        Constant Field Values
      • SSL_TRUSTSTORE_PWD_DEFAULT

        public static final java.lang.String SSL_TRUSTSTORE_PWD_DEFAULT
        See Also:
        Constant Field Values
      • SSL_CONTEXT_PROPERTY

        public static final java.lang.String SSL_CONTEXT_PROPERTY
        Property name to set to configure used SSLContext. The value should be an instance of SSLContext. If this property is present, the SSL_TRUSTSTORE* properties are ignored.
        See Also:
        Constant Field Values
      • IO_TIMEOUT_MS_PROPERTY

        public static final java.lang.String IO_TIMEOUT_MS_PROPERTY
        Property name to set to configure the timeout (in milliseconds) when establishing a WebSocket connection to server. The default is IO_TIMEOUT_MS_DEFAULT.
        See Also:
        Constant Field Values
      • MAX_REDIRECTIONS_PROPERTY

        public static final java.lang.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 java.lang.String HOST_HEADER_NAME
        See Also:
        Constant Field Values
      • UPGRADE_HEADER_NAME

        public static final java.lang.String UPGRADE_HEADER_NAME
        See Also:
        Constant Field Values
      • UPGRADE_HEADER_VALUE

        public static final java.lang.String UPGRADE_HEADER_VALUE
        See Also:
        Constant Field Values
      • ORIGIN_HEADER_NAME

        public static final java.lang.String ORIGIN_HEADER_NAME
        See Also:
        Constant Field Values
      • CONNECTION_HEADER_NAME

        public static final java.lang.String CONNECTION_HEADER_NAME
        See Also:
        Constant Field Values
      • CONNECTION_HEADER_VALUE

        public static final java.lang.String CONNECTION_HEADER_VALUE
        See Also:
        Constant Field Values
      • LOCATION_HEADER_NAME

        public static final java.lang.String LOCATION_HEADER_NAME
        See Also:
        Constant Field Values
      • AUTHORIZATION_HEADER_NAME

        public static final java.lang.String AUTHORIZATION_HEADER_NAME
        See Also:
        Constant Field Values
      • WWW_AUTHENTICATE_HEADER_NAME

        public static final java.lang.String WWW_AUTHENTICATE_HEADER_NAME
        See Also:
        Constant Field Values
      • PROXY_AUTHORIZATION_HEADER_NAME

        public static final java.lang.String PROXY_AUTHORIZATION_HEADER_NAME
        See Also:
        Constant Field Values
      • PROXY_AUTHENTICATE_HEADER_NAME

        public static final java.lang.String PROXY_AUTHENTICATE_HEADER_NAME
        See Also:
        Constant Field Values
      • WS_VERSION_HEADER_NAME

        public static final java.lang.String WS_VERSION_HEADER_NAME
        See Also:
        Constant Field Values
      • WS_VERSION_HEADER_VALUE

        public static final java.lang.String WS_VERSION_HEADER_VALUE
        See Also:
        Constant Field Values
      • WS_KEY_HEADER_NAME

        public static final java.lang.String WS_KEY_HEADER_NAME
        See Also:
        Constant Field Values
      • WS_PROTOCOL_HEADER_NAME

        public static final java.lang.String WS_PROTOCOL_HEADER_NAME
        See Also:
        Constant Field Values
      • WS_EXTENSIONS_HEADER_NAME

        public static final java.lang.String WS_EXTENSIONS_HEADER_NAME
        See Also:
        Constant Field Values
      • PROXY_AUTHENTICATION_REQUIRED

        public static final int PROXY_AUTHENTICATION_REQUIRED
        See Also:
        Constant Field Values
      • BLOCKING_SEND_TIMEOUT_PROPERTY

        public static final java.lang.String BLOCKING_SEND_TIMEOUT_PROPERTY
        See Also:
        Constant Field Values
      • DEFAULT_BLOCKING_SEND_TIMEOUT

        public static final long DEFAULT_BLOCKING_SEND_TIMEOUT
        See Also:
        Constant Field Values
      • READ_IDLE_TIMEOUT_MS

        public static final java.lang.String READ_IDLE_TIMEOUT_MS
        See Also:
        Constant Field Values
      • WRITE_IDLE_TIMEOUT_MS

        public static final java.lang.String WRITE_IDLE_TIMEOUT_MS
        See Also:
        Constant Field Values
      • WS_AUTHENTICATION_USER_NAME

        public static final java.lang.String WS_AUTHENTICATION_USER_NAME
        See Also:
        Constant Field Values
      • WS_AUTHENTICATION_PASSWORD

        public static final java.lang.String WS_AUTHENTICATION_PASSWORD
        See Also:
        Constant Field Values
      • WS_AUTHENTICATION_REALM

        public static final java.lang.String WS_AUTHENTICATION_REALM
        See Also:
        Constant Field Values
      • WS_AUTHENTICATION_PROXY_USER_NAME

        public static final java.lang.String WS_AUTHENTICATION_PROXY_USER_NAME
        See Also:
        Constant Field Values
      • WS_AUTHENTICATION_PROXY_PASSWORD

        public static final java.lang.String WS_AUTHENTICATION_PROXY_PASSWORD
        See Also:
        Constant Field Values
      • WS_AUTHENTICATION_PROXY_REALM

        public static final java.lang.String WS_AUTHENTICATION_PROXY_REALM
        See Also:
        Constant Field Values
      • STRICT_SPEC_COMPLIANCE

        @Deprecated
        public static final boolean STRICT_SPEC_COMPLIANCE
        Deprecated.
        This is no longer required in Jakarta EE 10 onwards and will be removed in Tomcat 10.1.
        WebSocket specification compliance flag.
      • INSTALLED_EXTENSIONS

        public static final java.util.List<Extension> INSTALLED_EXTENSIONS