A B C D E F G H I J M N O P R S T U V W 
All Classes All Packages

A

addMessageHandler(MessageHandler) - Method in interface jakarta.websocket.Session
Register to handle to incoming messages in this conversation.
addMessageHandler(Class<T>, MessageHandler.Partial<T>) - Method in interface jakarta.websocket.Session
Register to handle to incoming messages in this conversation.
addMessageHandler(Class<T>, MessageHandler.Whole<T>) - Method in interface jakarta.websocket.Session
Register to handle to incoming messages in this conversation.
afterResponse(HandshakeResponse) - Method in class jakarta.websocket.ClientEndpointConfig.Configurator
This method is called by the implementation after it has received a handshake response from the server as a result of a handshake interaction it initiated.

B

beforeRequest(Map<String, List<String>>) - Method in class jakarta.websocket.ClientEndpointConfig.Configurator
This method is called by the implementation after it has formulated the handshake request that will be used to initiate the connection to the server, but before it has sent any part of the request.
build() - Method in class jakarta.websocket.ClientEndpointConfig.Builder
Builds a configuration object using the attributes set on this builder.

C

CANNOT_ACCEPT - jakarta.websocket.CloseReason.CloseCodes
1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).
ClientEndpoint - Annotation Type in jakarta.websocket
The ClientEndpoint annotation a class level annotation is used to denote that a POJO is a web socket client and can be deployed as such.
ClientEndpointConfig - Interface in jakarta.websocket
The ClientEndpointConfig is a special kind of endpoint configuration object that contains web socket configuration information specific only to client endpoints.
ClientEndpointConfig.Builder - Class in jakarta.websocket
The ClientEndpointConfig.Builder is a class used for creating ClientEndpointConfig objects for the purposes of deploying a client endpoint.
ClientEndpointConfig.Configurator - Class in jakarta.websocket
The Configurator class may be extended by developers who want to provide custom configuration algorithms, such as intercepting the opening handshake, or providing arbitrary methods and algorithms that can be accessed from each endpoint instance configured with this configurator.
close() - Method in interface jakarta.websocket.Session
Close the current conversation with a normal status code and no reason phrase.
close(CloseReason) - Method in interface jakarta.websocket.Session
Close the current conversation, giving a reason for the closure.
CLOSED_ABNORMALLY - jakarta.websocket.CloseReason.CloseCodes
1006 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
CloseReason - Class in jakarta.websocket
A class encapsulating the reason why a web socket has been closed, or why it is being asked to close.
CloseReason(CloseReason.CloseCode, String) - Constructor for class jakarta.websocket.CloseReason
Creates a reason for closing a web socket connection with the given code and reason phrase.
CloseReason.CloseCode - Interface in jakarta.websocket
A marker interface for the close codes.
CloseReason.CloseCodes - Enum in jakarta.websocket
An Enumeration of status codes for a web socket close that are defined in the specification.
configurator() - Method in annotation type jakarta.websocket.ClientEndpoint
An optional custom configurator class that the developer would like to use to provide custom configuration of new instances of this endpoint.
configurator(ClientEndpointConfig.Configurator) - Method in class jakarta.websocket.ClientEndpointConfig.Builder
Sets the configurator object for the configuration this builder will build.
Configurator() - Constructor for class jakarta.websocket.ClientEndpointConfig.Configurator
 
connectToServer(Endpoint, ClientEndpointConfig, URI) - Method in interface jakarta.websocket.WebSocketContainer
Connect the supplied programmatic client endpoint instance to its server with the given configuration.
connectToServer(Class<?>, URI) - Method in interface jakarta.websocket.WebSocketContainer
Connect the supplied annotated endpoint to its server.
connectToServer(Class<? extends Endpoint>, ClientEndpointConfig, URI) - Method in interface jakarta.websocket.WebSocketContainer
Connect the supplied programmatic endpoint to its server with the given configuration.
connectToServer(Object, URI) - Method in interface jakarta.websocket.WebSocketContainer
Connect the supplied annotated endpoint instance to its server.
ContainerProvider - Class in jakarta.websocket
Provider class that allows the developer to get a reference to the implementation of the WebSocketContainer.
ContainerProvider() - Constructor for class jakarta.websocket.ContainerProvider
 
create() - Static method in class jakarta.websocket.ClientEndpointConfig.Builder
Creates a new builder object with no subprotocols, extensions, encoders, decoders and a null configurator.

D

decode(InputStream) - Method in interface jakarta.websocket.Decoder.BinaryStream
Decode the given bytes read from the input stream into an object of type T.
decode(Reader) - Method in interface jakarta.websocket.Decoder.TextStream
Reads the websocket message from the implementation provided Reader and decodes it into an instance of the supplied object type.
decode(String) - Method in interface jakarta.websocket.Decoder.Text
Decode the given String into an object of type T.
decode(ByteBuffer) - Method in interface jakarta.websocket.Decoder.Binary
Decode the given bytes into an object of type T.
DecodeException - Exception in jakarta.websocket
A general exception that occurs when trying to decode a custom object from a text or binary message.
DecodeException(String, String) - Constructor for exception jakarta.websocket.DecodeException
Constructs a DecodedException with the given encoded string that cannot be decoded, and reason why.
DecodeException(String, String, Throwable) - Constructor for exception jakarta.websocket.DecodeException
Constructor with the text data that could not be decoded, and the reason why it failed to be, and the cause.
DecodeException(ByteBuffer, String) - Constructor for exception jakarta.websocket.DecodeException
Constructs a DecodedException with the given ByteBuffer that cannot be decoded, and reason why.
DecodeException(ByteBuffer, String, Throwable) - Constructor for exception jakarta.websocket.DecodeException
Constructor with the binary data that could not be decoded, and the reason why it failed to be, and the cause.
Decoder - Interface in jakarta.websocket
The Decoder interface holds member interfaces that define how a developer can provide the web socket container a way web socket messages into developer defined custom objects.
Decoder.Binary<T> - Interface in jakarta.websocket
This interface defines how a custom object (of type T) is decoded from a web socket message in the form of a byte buffer.
Decoder.BinaryStream<T> - Interface in jakarta.websocket
This interface defines how a custom object is decoded from a web socket message in the form of a binary stream.
Decoder.Text<T> - Interface in jakarta.websocket
This interface defines how a custom object is decoded from a web socket message in the form of a string.
Decoder.TextStream<T> - Interface in jakarta.websocket
This interface defines how a custom object of type T is decoded from a web socket message in the form of a character stream.
decoders() - Method in annotation type jakarta.websocket.ClientEndpoint
The array of Java classes that are to act as Decoders for messages coming into the client.
decoders(List<Class<? extends Decoder>>) - Method in class jakarta.websocket.ClientEndpointConfig.Builder
Assign the list of decoder implementation classes the client will use.
DeploymentException - Exception in jakarta.websocket
Checked exception indicating some kind of failure either to publish an endpoint on its server, or a failure to connect a client to its server.
DeploymentException(String) - Constructor for exception jakarta.websocket.DeploymentException
Creates a deployment exception with the given reason for the deployment failure.
DeploymentException(String, Throwable) - Constructor for exception jakarta.websocket.DeploymentException
Creates a deployment exception with the given reason for the deployment failure and wrapped cause of the failure.
destroy() - Method in interface jakarta.websocket.Decoder
This method is called when the decoder is about to be removed from service in order that any resources the decoder used may be closed gracefully.
destroy() - Method in interface jakarta.websocket.Encoder
This method is called when the encoder is about to be removed from service in order that any resources the encoder used may be closed gracefully.

E

encode(T) - Method in interface jakarta.websocket.Encoder.Binary
Encode the given object into a byte array.
encode(T) - Method in interface jakarta.websocket.Encoder.Text
Encode the given object into a String.
encode(T, OutputStream) - Method in interface jakarta.websocket.Encoder.BinaryStream
Encode the given object into a binary stream written to the implementation provided OutputStream.
encode(T, Writer) - Method in interface jakarta.websocket.Encoder.TextStream
Encode the given object to a character stream writing it to the supplied Writer.
EncodeException - Exception in jakarta.websocket
A general exception that occurs when trying to encode a custom object to a string or binary message.
EncodeException(Object, String) - Constructor for exception jakarta.websocket.EncodeException
Constructor with the object being encoded, and the reason why it failed to be.
EncodeException(Object, String, Throwable) - Constructor for exception jakarta.websocket.EncodeException
Constructor with the object being encoded, and the reason why it failed to be, and the cause.
Encoder - Interface in jakarta.websocket
The Encoder interface defines how developers can provide a way to convert their custom objects into web socket messages.
Encoder.Binary<T> - Interface in jakarta.websocket
This interface defines how to provide a way to convert a custom object into a binary message.
Encoder.BinaryStream<T> - Interface in jakarta.websocket
This interface may be implemented by encoding algorithms that want to write the encoded object to a binary stream.
Encoder.Text<T> - Interface in jakarta.websocket
This interface defines how to provide a way to convert a custom object into a text message.
Encoder.TextStream<T> - Interface in jakarta.websocket
This interface may be implemented by encoding algorithms that want to write the encoded object to a character stream.
encoders() - Method in annotation type jakarta.websocket.ClientEndpoint
The array of Java classes that are to act as Encoders for messages sent by the client.
encoders(List<Class<? extends Encoder>>) - Method in class jakarta.websocket.ClientEndpointConfig.Builder
Assign the list of encoder implementation classes the client will use.
Endpoint - Class in jakarta.websocket
The Web Socket Endpoint represents an object that can handle websocket conversations.
Endpoint() - Constructor for class jakarta.websocket.Endpoint
 
EndpointConfig - Interface in jakarta.websocket
The endpoint configuration contains all the information needed during the handshake process for this end point.
Extension - Interface in jakarta.websocket
A simple representation of a websocket extension as a name and map of extension parameters.
Extension.Parameter - Interface in jakarta.websocket
This member interface defines a single websocket extension parameter.
extensions(List<Extension>) - Method in class jakarta.websocket.ClientEndpointConfig.Builder
Set the extensions for the configuration this builder will build.

F

flushBatch() - Method in interface jakarta.websocket.RemoteEndpoint
This method is only used when batching is allowed for this RemoteEndpint.

G

getApplicationData() - Method in interface jakarta.websocket.PongMessage
The application data inside the pong message from the peer.
getAsyncRemote() - Method in interface jakarta.websocket.Session
Return a reference a RemoteEndpoint object representing the peer of this conversation that is able to send messages asynchronously to the peer.
getBasicRemote() - Method in interface jakarta.websocket.Session
Return a reference a RemoteEndpoint object representing the peer of this conversation that is able to send messages synchronously to the peer.
getBatchingAllowed() - Method in interface jakarta.websocket.RemoteEndpoint
Return whether the implementation is allowed to batch outgoing messages before sending.
getBytes() - Method in exception jakarta.websocket.DecodeException
Return the ByteBuffer containing either the whole message, or the partial message, that could not be decoded, or null if this exception arose from a failure to decode a text message.
getCloseCode() - Method in class jakarta.websocket.CloseReason
The Close code associated with this CloseReason.
getCloseCode(int) - Static method in enum jakarta.websocket.CloseReason.CloseCodes
Creates a CloseCode from the given int code number.
getCode() - Method in interface jakarta.websocket.CloseReason.CloseCode
Returns the code number, for example the integer '1000' for normal closure.
getCode() - Method in enum jakarta.websocket.CloseReason.CloseCodes
Return the code number of this status code.
getConfigurator() - Method in interface jakarta.websocket.ClientEndpointConfig
Return the custom configurator for this configuration.
getContainer() - Method in class jakarta.websocket.ContainerProvider
Create a new instance of the the WebSocket container implementation.
getContainer() - Method in interface jakarta.websocket.Session
Return the container that this session is part of.
getDecoders() - Method in interface jakarta.websocket.EndpointConfig
Return the Decoder implementation classes configured.
getDefaultAsyncSendTimeout() - Method in interface jakarta.websocket.WebSocketContainer
Return the number of milliseconds the implementation will timeout attempting to send a websocket message for all RemoteEndpoints associated with this container.
getDefaultMaxBinaryMessageBufferSize() - Method in interface jakarta.websocket.WebSocketContainer
Returns the default maximum size of incoming binary message that this container will buffer.
getDefaultMaxSessionIdleTimeout() - Method in interface jakarta.websocket.WebSocketContainer
Return the default time in milliseconds after which any web socket sessions in this container will be closed if it has been inactive.
getDefaultMaxTextMessageBufferSize() - Method in interface jakarta.websocket.WebSocketContainer
Returns the default maximum size of incoming text message that this container will buffer.
getEncoders() - Method in interface jakarta.websocket.EndpointConfig
Return the Encoder implementation classes configured.
getException() - Method in class jakarta.websocket.SendResult
The problem sending the message.
getExtensions() - Method in interface jakarta.websocket.ClientEndpointConfig
Return the extensions, in order of preference, favorite first, that this client would like to use for its sessions.
getHeaders() - Method in interface jakarta.websocket.HandshakeResponse
Return the map of HTTP headers to header values sent by the WebSocket server.
getId() - Method in interface jakarta.websocket.Session
Returns a string containing the unique identifier assigned to this session.
getInstalledExtensions() - Method in interface jakarta.websocket.WebSocketContainer
Return the set of Extensions installed in the container.
getMaxBinaryMessageBufferSize() - Method in interface jakarta.websocket.Session
The maximum length of incoming binary messages that this Session can buffer.
getMaxIdleTimeout() - Method in interface jakarta.websocket.Session
Return the number of milliseconds before this session will be closed by the container if it is inactive, i.e.
getMaxTextMessageBufferSize() - Method in interface jakarta.websocket.Session
The maximum length of incoming text messages that this Session can buffer.
getMessageHandlers() - Method in interface jakarta.websocket.Session
Return an unmodifiable copy of the set of MessageHandlers for this Session.
getName() - Method in interface jakarta.websocket.Extension
The name of the extension.
getName() - Method in interface jakarta.websocket.Extension.Parameter
Return the name of the extension parameter.
getNegotiatedExtensions() - Method in interface jakarta.websocket.Session
Return the list of extensions currently in use for this conversation.
getNegotiatedSubprotocol() - Method in interface jakarta.websocket.Session
Return the sub protocol agreed during the websocket handshake for this conversation.
getObject() - Method in exception jakarta.websocket.EncodeException
Return the Object that could not be encoded.
getOpenSessions() - Method in interface jakarta.websocket.Session
Return a copy of the Set of all the open web socket sessions that represent connections to the same endpoint to which this session represents a connection.
getParameters() - Method in interface jakarta.websocket.Extension
The extension parameters for this extension in the order they appear in the http headers.
getPathParameters() - Method in interface jakarta.websocket.Session
Return a map of the path parameter names and values used associated with the request this session was opened under.
getPreferredSubprotocols() - Method in interface jakarta.websocket.ClientEndpointConfig
Return the ordered list of sub protocols a client endpoint would like to use, in order of preference, favorite first that this client would like to use for its sessions.
getProtocolVersion() - Method in interface jakarta.websocket.Session
Returns the version of the websocket protocol currently being used.
getQueryString() - Method in interface jakarta.websocket.Session
Return the query string associated with the request this session was opened under.
getReasonPhrase() - Method in class jakarta.websocket.CloseReason
The reason phrase associated with this CloseReason.
getRequestParameterMap() - Method in interface jakarta.websocket.Session
Return the request parameters associated with the request this session was opened under.
getRequestURI() - Method in interface jakarta.websocket.Session
Return the complete URI under which this session was opened, from protocol to query string (if present).
getSendStream() - Method in interface jakarta.websocket.RemoteEndpoint.Basic
Opens an output stream on which a binary message may be sent.
getSendTimeout() - Method in interface jakarta.websocket.RemoteEndpoint.Async
Return the number of milliseconds the implementation will timeout attempting to send a websocket message.
getSendWriter() - Method in interface jakarta.websocket.RemoteEndpoint.Basic
Opens a character stream on which a text message may be sent.
getSession() - Method in exception jakarta.websocket.SessionException
Return the Session on which the problem occurred.
getSSLContext() - Method in interface jakarta.websocket.ClientEndpointConfig
Return the SSLContext to be used to establish a WebSocket (wss) connection to the server.
getText() - Method in exception jakarta.websocket.DecodeException
Return the encoded string that is either the whole message, or the partial message that could not be decoded, or null if this exception arose from a failure to decode a binary message..
getUserPrincipal() - Method in interface jakarta.websocket.Session
Return the authenticated user for this Session or null if no user is authenticated for this session.
getUserProperties() - Method in interface jakarta.websocket.EndpointConfig
This method returns a modifiable Map that the developer may use to store application specific information relating to the endpoint that uses this configuration instance.
getUserProperties() - Method in interface jakarta.websocket.Session
While the session is open, this method returns a Map that the developer may use to store application specific information relating to this session instance.
getValue() - Method in interface jakarta.websocket.Extension.Parameter
Return the value of the extension parameter.
getWebSocketContainer() - Static method in class jakarta.websocket.ContainerProvider
Obtain a new instance of a WebSocketContainer.
GOING_AWAY - jakarta.websocket.CloseReason.CloseCodes
1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.

H

HandshakeResponse - Interface in jakarta.websocket
The handshake response represents the WebSocket-defined HTTP response that is the response to the opening handshake request.

I

init(EndpointConfig) - Method in interface jakarta.websocket.Decoder
This method is called with the endpoint configuration object of the endpoint this decoder is intended for when it is about to be brought into service.
init(EndpointConfig) - Method in interface jakarta.websocket.Encoder
This method is called with the endpoint configuration object of the endpoint this encoder is intended for when it is about to be brought into service.
isOK() - Method in class jakarta.websocket.SendResult
Determines if this result is ok or not.
isOpen() - Method in interface jakarta.websocket.Session
Return true if and only if the underlying socket is open.
isSecure() - Method in interface jakarta.websocket.Session
Return true if and only if the underlying socket is using a secure transport.

J

jakarta.websocket - package jakarta.websocket
This package contains all the Jakarta WebSocket APIs common to both the client and server side.

M

maxMessageSize() - Method in annotation type jakarta.websocket.OnMessage
Specifies the maximum size of message in bytes that the method this annotates will be able to process, or -1 to indicate that there is no maximum.
MessageHandler - Interface in jakarta.websocket
Developers implement MessageHandlers in order to receive incoming messages during a web socket conversation.
MessageHandler.Partial<T> - Interface in jakarta.websocket
This kind of handler is notified by the implementation as it becomes ready to deliver parts of a whole message.
MessageHandler.Whole<T> - Interface in jakarta.websocket
This kind of handler is notified by the container on arrival of a complete message.

N

NO_EXTENSION - jakarta.websocket.CloseReason.CloseCodes
1010 indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response message of the WebSocket handshake.
NO_STATUS_CODE - jakarta.websocket.CloseReason.CloseCodes
1005 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
NORMAL_CLOSURE - jakarta.websocket.CloseReason.CloseCodes
1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.
NOT_CONSISTENT - jakarta.websocket.CloseReason.CloseCodes
1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 data within a text message).

O

onClose(Session, CloseReason) - Method in class jakarta.websocket.Endpoint
This method is called immediately prior to the session with the remote peer being closed.
OnClose - Annotation Type in jakarta.websocket
This method level annotation can be used to decorate a Java method that wishes to be called when a web socket session is closing.
onError(Session, Throwable) - Method in class jakarta.websocket.Endpoint
Developers may implement this method when the web socket session creates some kind of error that is not modeled in the web socket protocol.
OnError - Annotation Type in jakarta.websocket
This method level annotation can be used to decorate a Java method that wishes to be called in order to handle errors.
onMessage(T) - Method in interface jakarta.websocket.MessageHandler.Whole
Called when the message has been fully received.
onMessage(T, boolean) - Method in interface jakarta.websocket.MessageHandler.Partial
Called when the next part of a message has been fully received.
OnMessage - Annotation Type in jakarta.websocket
This method level annotation can be used to make a Java method receive incoming web socket messages.
onOpen(Session, EndpointConfig) - Method in class jakarta.websocket.Endpoint
Developers must implement this method to be notified when a new conversation has just begun.
OnOpen - Annotation Type in jakarta.websocket
This method level annotation can be used to decorate a Java method that wishes to be called when a new web socket session is open.
onResult(SendResult) - Method in interface jakarta.websocket.SendHandler
Called once the message has been transmitted.

P

PongMessage - Interface in jakarta.websocket
The PongMessage interface represents a web socket pong.
preferredSubprotocols(List<String>) - Method in class jakarta.websocket.ClientEndpointConfig.Builder
Set the preferred sub protocols for the configuration this builder will build.
PROTOCOL_ERROR - jakarta.websocket.CloseReason.CloseCodes
1002 indicates that an endpoint is terminating the connection due to a protocol error.

R

RemoteEndpoint - Interface in jakarta.websocket
The RemoteEndpoint object is supplied by the container and represents the 'other end' or peer of the Web Socket conversation.
RemoteEndpoint.Async - Interface in jakarta.websocket
This representation of the peer of a web socket conversation has the ability to send messages asynchronously.
RemoteEndpoint.Basic - Interface in jakarta.websocket
This representation of the peer of a web socket conversation has the ability to send messages synchronously.
removeMessageHandler(MessageHandler) - Method in interface jakarta.websocket.Session
Remove the given MessageHandler from the set belonging to this session.
RESERVED - jakarta.websocket.CloseReason.CloseCodes
Reserved.

S

SEC_WEBSOCKET_ACCEPT - Static variable in interface jakarta.websocket.HandshakeResponse
The Sec-WebSocket-Accept header name.
sendBinary(ByteBuffer) - Method in interface jakarta.websocket.RemoteEndpoint.Async
Initiates the asynchronous transmission of a binary message.
sendBinary(ByteBuffer) - Method in interface jakarta.websocket.RemoteEndpoint.Basic
Send a binary message, returning when all of the message has been transmitted.
sendBinary(ByteBuffer, boolean) - Method in interface jakarta.websocket.RemoteEndpoint.Basic
Send a binary message in parts, blocking until all of the message has been transmitted.
sendBinary(ByteBuffer, SendHandler) - Method in interface jakarta.websocket.RemoteEndpoint.Async
Initiates the asynchronous transmission of a binary message.
SendHandler - Interface in jakarta.websocket
A simple callback object for asynchronous sending of web socket messages.
sendObject(Object) - Method in interface jakarta.websocket.RemoteEndpoint.Async
Initiates the asynchronous transmission of a custom developer object.
sendObject(Object) - Method in interface jakarta.websocket.RemoteEndpoint.Basic
Sends a custom developer object, blocking until it has been transmitted.
sendObject(Object, SendHandler) - Method in interface jakarta.websocket.RemoteEndpoint.Async
Initiates the asynchronous transmission of a custom developer object.
sendPing(ByteBuffer) - Method in interface jakarta.websocket.RemoteEndpoint
Send a Ping message containing the given application data to the remote endpoint.
sendPong(ByteBuffer) - Method in interface jakarta.websocket.RemoteEndpoint
Allows the developer to send an unsolicited Pong message containing the given application data in order to serve as a unidirectional heartbeat for the session.
SendResult - Class in jakarta.websocket
The result of asynchronously sending a web socket message.
SendResult() - Constructor for class jakarta.websocket.SendResult
Construct a SendResult signifying a successful send carrying no exception.
SendResult(Throwable) - Constructor for class jakarta.websocket.SendResult
Construct a SendResult carrying an exception.
sendText(String) - Method in interface jakarta.websocket.RemoteEndpoint.Async
Initiates the asynchronous transmission of a text message.
sendText(String) - Method in interface jakarta.websocket.RemoteEndpoint.Basic
Send a text message, blocking until all of the message has been transmitted.
sendText(String, boolean) - Method in interface jakarta.websocket.RemoteEndpoint.Basic
Send a text message in parts, blocking until all of the message has been transmitted.
sendText(String, SendHandler) - Method in interface jakarta.websocket.RemoteEndpoint.Async
Initiates the asynchronous transmission of a text message.
SERVICE_RESTART - jakarta.websocket.CloseReason.CloseCodes
1012 indicates that the service will be restarted.
Session - Interface in jakarta.websocket
A Web Socket session represents a conversation between two web socket endpoints.
SessionException - Exception in jakarta.websocket
A SessionException represents a general exception type reporting problems occurring on a websocket session.
SessionException(String, Throwable, Session) - Constructor for exception jakarta.websocket.SessionException
Creates a new instance of this exception with the given message, the wrapped cause of the exception and the session with which the problem is associated.
setAsyncSendTimeout(long) - Method in interface jakarta.websocket.WebSocketContainer
Sets the number of milliseconds the implementation will timeout attempting to send a websocket message for all RemoteEndpoints associated with this container.
setBatchingAllowed(boolean) - Method in interface jakarta.websocket.RemoteEndpoint
Indicate to the implementation that it is allowed to batch outgoing messages before sending.
setDefaultMaxBinaryMessageBufferSize(int) - Method in interface jakarta.websocket.WebSocketContainer
Sets the default maximum size of incoming binary message that this container will buffer.
setDefaultMaxSessionIdleTimeout(long) - Method in interface jakarta.websocket.WebSocketContainer
Sets the default time in milliseconds after which any web socket sessions in this container will be closed if it has been inactive.
setDefaultMaxTextMessageBufferSize(int) - Method in interface jakarta.websocket.WebSocketContainer
Sets the maximum size of incoming text message that this container will buffer.
setMaxBinaryMessageBufferSize(int) - Method in interface jakarta.websocket.Session
Sets the maximum length of incoming binary messages that this Session can buffer.
setMaxIdleTimeout(long) - Method in interface jakarta.websocket.Session
Set the number of milliseconds before this session will be closed by the container if it is inactive, i.e.
setMaxTextMessageBufferSize(int) - Method in interface jakarta.websocket.Session
Sets the maximum length of incoming text messages that this Session can buffer.
setSendTimeout(long) - Method in interface jakarta.websocket.RemoteEndpoint.Async
Sets the number of milliseconds the implementation will timeout attempting to send a websocket message.
sslContext(SSLContext) - Method in class jakarta.websocket.ClientEndpointConfig.Builder
Assign the SSLContext to be used when connection to the WebSocket server.
subprotocols() - Method in annotation type jakarta.websocket.ClientEndpoint
The names of the subprotocols this client supports.

T

TLS_HANDSHAKE_FAILURE - jakarta.websocket.CloseReason.CloseCodes
1015 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint.
TOO_BIG - jakarta.websocket.CloseReason.CloseCodes
1009 indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.
toString() - Method in class jakarta.websocket.CloseReason
Converts the CloseReason to a debug-friendly string.
TRY_AGAIN_LATER - jakarta.websocket.CloseReason.CloseCodes
1013 indicates that the service is experiencing overload

U

UNEXPECTED_CONDITION - jakarta.websocket.CloseReason.CloseCodes
1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.

V

valueOf(String) - Static method in enum jakarta.websocket.CloseReason.CloseCodes
Returns the enum constant of this type with the specified name.
values() - Static method in enum jakarta.websocket.CloseReason.CloseCodes
Returns an array containing the constants of this enum type, in the order they are declared.
VIOLATED_POLICY - jakarta.websocket.CloseReason.CloseCodes
1008 indicates that an endpoint is terminating the connection because it has received a message that violates its policy.

W

WebSocketContainer - Interface in jakarta.websocket
A WebSocketContainer is an implementation provided object that provides applications a view on the container running it.
willDecode(String) - Method in interface jakarta.websocket.Decoder.Text
Answer whether the given String can be decoded into an object of type T.
willDecode(ByteBuffer) - Method in interface jakarta.websocket.Decoder.Binary
Answer whether the given bytes can be decoded into an object of type T.
A B C D E F G H I J M N O P R S T U V W 
All Classes All Packages