Package org.apache.tomcat.websocket
Class Constants
java.lang.Object
org.apache.tomcat.websocket.Constants
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final long
static final long
static final long
static final int
static final String
static final long
static final String
Property name to set to configure the timeout (in milliseconds) when establishing a WebSocket connection to server.static final String
static final int
static final String
static final int
static final int
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final String
static final String
static final int
static final String
static final String
static final int
static final String
static final String
Deprecated, for removal: This API element is subject to removal in a future version.This will be removed in Tomcat 11.static final String
Deprecated, for removal: This API element is subject to removal in a future version.This will be removed in Tomcat 11.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final int
static final int
static final String
static final String
static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
-
Field Details
-
OPCODE_CONTINUATION
public static final byte OPCODE_CONTINUATION- See Also:
-
OPCODE_TEXT
public static final byte OPCODE_TEXT- See Also:
-
OPCODE_BINARY
public static final byte OPCODE_BINARY- See Also:
-
OPCODE_CLOSE
public static final byte OPCODE_CLOSE- See Also:
-
OPCODE_PING
public static final byte OPCODE_PING- See Also:
-
OPCODE_PONG
public static final byte OPCODE_PONG- See Also:
-
SSL_PROTOCOLS_PROPERTY
@Deprecated(forRemoval=true, since="Tomcat 10.1.x") public static final String SSL_PROTOCOLS_PROPERTYDeprecated, for removal: This API element is subject to removal in a future version.This will be removed in Tomcat 11. UseClientEndpointConfig.getSSLContext()
Property name to set to configure the value that is passed toSSLEngine.setEnabledProtocols(String[])
. The value should be a comma separated string.- See Also:
-
SSL_TRUSTSTORE_PROPERTY
@Deprecated(forRemoval=true, since="Tomcat 10.1.x") public static final String SSL_TRUSTSTORE_PROPERTYDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
SSL_TRUSTSTORE_PWD_PROPERTY
@Deprecated(forRemoval=true, since="Tomcat 10.1.x") public static final String SSL_TRUSTSTORE_PWD_PROPERTYDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
SSL_TRUSTSTORE_PWD_DEFAULT
@Deprecated(forRemoval=true, since="Tomcat 10.1.x") public static final String SSL_TRUSTSTORE_PWD_DEFAULTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
SSL_CONTEXT_PROPERTY
Deprecated, for removal: This API element is subject to removal in a future version.This will be removed in Tomcat 11. UseClientEndpointConfig.getSSLContext()
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:
-
IO_TIMEOUT_MS_PROPERTY
Property name to set to configure the timeout (in milliseconds) when establishing a WebSocket connection to server. The default isIO_TIMEOUT_MS_DEFAULT
.- See Also:
-
IO_TIMEOUT_MS_DEFAULT
public static final long IO_TIMEOUT_MS_DEFAULT- See Also:
-
MAX_REDIRECTIONS_PROPERTY
- See Also:
-
MAX_REDIRECTIONS_DEFAULT
public static final int MAX_REDIRECTIONS_DEFAULT- See Also:
-
HOST_HEADER_NAME
- See Also:
-
UPGRADE_HEADER_NAME
- See Also:
-
UPGRADE_HEADER_VALUE
- See Also:
-
ORIGIN_HEADER_NAME
- See Also:
-
CONNECTION_HEADER_NAME
- See Also:
-
CONNECTION_HEADER_VALUE
- See Also:
-
LOCATION_HEADER_NAME
- See Also:
-
AUTHORIZATION_HEADER_NAME
- See Also:
-
WWW_AUTHENTICATE_HEADER_NAME
- See Also:
-
PROXY_AUTHORIZATION_HEADER_NAME
- See Also:
-
PROXY_AUTHENTICATE_HEADER_NAME
- See Also:
-
WS_VERSION_HEADER_NAME
- See Also:
-
WS_VERSION_HEADER_VALUE
- See Also:
-
WS_KEY_HEADER_NAME
- See Also:
-
WS_PROTOCOL_HEADER_NAME
- See Also:
-
WS_EXTENSIONS_HEADER_NAME
- See Also:
-
MULTIPLE_CHOICES
public static final int MULTIPLE_CHOICES- See Also:
-
MOVED_PERMANENTLY
public static final int MOVED_PERMANENTLY- See Also:
-
FOUND
public static final int FOUND- See Also:
-
SEE_OTHER
public static final int SEE_OTHER- See Also:
-
USE_PROXY
public static final int USE_PROXY- See Also:
-
TEMPORARY_REDIRECT
public static final int TEMPORARY_REDIRECT- See Also:
-
UNAUTHORIZED
public static final int UNAUTHORIZED- See Also:
-
PROXY_AUTHENTICATION_REQUIRED
public static final int PROXY_AUTHENTICATION_REQUIRED- See Also:
-
BLOCKING_SEND_TIMEOUT_PROPERTY
- See Also:
-
DEFAULT_BLOCKING_SEND_TIMEOUT
public static final long DEFAULT_BLOCKING_SEND_TIMEOUT- See Also:
-
SESSION_CLOSE_TIMEOUT_PROPERTY
- See Also:
-
DEFAULT_SESSION_CLOSE_TIMEOUT
public static final long DEFAULT_SESSION_CLOSE_TIMEOUT -
ABNORMAL_SESSION_CLOSE_SEND_TIMEOUT_PROPERTY
- See Also:
-
DEFAULT_ABNORMAL_SESSION_CLOSE_SEND_TIMEOUT
public static final long DEFAULT_ABNORMAL_SESSION_CLOSE_SEND_TIMEOUT- See Also:
-
READ_IDLE_TIMEOUT_MS
- See Also:
-
WRITE_IDLE_TIMEOUT_MS
- See Also:
-
WS_AUTHENTICATION_USER_NAME
- See Also:
-
WS_AUTHENTICATION_PASSWORD
- See Also:
-
WS_AUTHENTICATION_REALM
- See Also:
-
WS_AUTHENTICATION_PROXY_USER_NAME
- See Also:
-
WS_AUTHENTICATION_PROXY_PASSWORD
- See Also:
-
WS_AUTHENTICATION_PROXY_REALM
- See Also:
-
INSTALLED_EXTENSIONS
-