- getAnnotatedEndpointClasses(Set<Class<?>>) - Method in interface javax.websocket.server.ServerApplicationConfig
-
Enables applications to filter the discovered classes annotated with
ServerEndpoint
.
- getApplicationData() - Method in interface javax.websocket.PongMessage
-
Get the payload of the Pong message.
- getAsyncRemote() - Method in interface javax.websocket.Session
-
- getBasicRemote() - Method in interface javax.websocket.Session
-
- getBatchingAllowed() - Method in interface javax.websocket.RemoteEndpoint
-
Obtains the current batching status of the endpoint.
- getBytes() - Method in exception javax.websocket.DecodeException
-
- getCloseCode(int) - Static method in enum javax.websocket.CloseReason.CloseCodes
-
- getCloseCode() - Method in class javax.websocket.CloseReason
-
- getCode() - Method in interface javax.websocket.CloseReason.CloseCode
-
- getCode() - Method in enum javax.websocket.CloseReason.CloseCodes
-
- getConfigurator() - Method in interface javax.websocket.ClientEndpointConfig
-
- getConfigurator() - Method in interface javax.websocket.server.ServerEndpointConfig
-
- getContainer() - Method in class javax.websocket.ContainerProvider
-
- getContainer() - Method in interface javax.websocket.Session
-
Get the container that created this session.
- getDecoders() - Method in interface javax.websocket.EndpointConfig
-
- getDefaultAsyncSendTimeout() - Method in interface javax.websocket.WebSocketContainer
-
Get the default timeout for sending a message asynchronously.
- getDefaultMaxBinaryMessageBufferSize() - Method in interface javax.websocket.WebSocketContainer
-
Get the default maximum buffer size for binary messages.
- getDefaultMaxSessionIdleTimeout() - Method in interface javax.websocket.WebSocketContainer
-
Get the current default session idle timeout.
- getDefaultMaxTextMessageBufferSize() - Method in interface javax.websocket.WebSocketContainer
-
Get the default maximum buffer size for text messages.
- getEncoders() - Method in interface javax.websocket.EndpointConfig
-
- getEndpointClass() - Method in interface javax.websocket.server.ServerEndpointConfig
-
- getEndpointConfigs(Set<Class<? extends Endpoint>>) - Method in interface javax.websocket.server.ServerApplicationConfig
-
- getEndpointInstance(Class<T>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
-
- getException() - Method in class javax.websocket.SendResult
-
- getExtensions() - Method in interface javax.websocket.ClientEndpointConfig
-
- getExtensions() - Method in interface javax.websocket.server.ServerEndpointConfig
-
- getHeaders() - Method in interface javax.websocket.HandshakeResponse
-
- getHeaders() - Method in interface javax.websocket.server.HandshakeRequest
-
- getHttpSession() - Method in interface javax.websocket.server.HandshakeRequest
-
Get the HTTP Session object associated with this request.
- getId() - Method in interface javax.websocket.Session
-
Provides a unique identifier for the session.
- getInstalledExtensions() - Method in interface javax.websocket.WebSocketContainer
-
Get the installed extensions.
- getMaxBinaryMessageBufferSize() - Method in interface javax.websocket.Session
-
Get the current maximum buffer size for binary messages.
- getMaxIdleTimeout() - Method in interface javax.websocket.Session
-
Get the idle timeout for this session.
- getMaxTextMessageBufferSize() - Method in interface javax.websocket.Session
-
Get the maximum buffer size for text messages.
- getMessageHandlers() - Method in interface javax.websocket.Session
-
- getName() - Method in interface javax.websocket.Extension
-
- getName() - Method in interface javax.websocket.Extension.Parameter
-
- getNegotiatedExtensions(List<Extension>, List<Extension>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
-
- getNegotiatedExtensions() - Method in interface javax.websocket.Session
-
- getNegotiatedSubprotocol(List<String>, List<String>) - Method in class javax.websocket.server.ServerEndpointConfig.Configurator
-
- getNegotiatedSubprotocol() - Method in interface javax.websocket.Session
-
- getObject() - Method in exception javax.websocket.EncodeException
-
- getOpenSessions() - Method in interface javax.websocket.Session
-
Obtain the set of open sessions associated with the same local endpoint
as this session.
- getParameterMap() - Method in interface javax.websocket.server.HandshakeRequest
-
- getParameters() - Method in interface javax.websocket.Extension
-
- getPath() - Method in interface javax.websocket.server.ServerEndpointConfig
-
Returns the path at which this WebSocket server endpoint has been
registered.
- getPathParameters() - Method in interface javax.websocket.Session
-
- getPreferredSubprotocols() - Method in interface javax.websocket.ClientEndpointConfig
-
- getProtocolVersion() - Method in interface javax.websocket.Session
-
- getQueryString() - Method in interface javax.websocket.server.HandshakeRequest
-
- getQueryString() - Method in interface javax.websocket.Session
-
- getReasonPhrase() - Method in class javax.websocket.CloseReason
-
- getRequestParameterMap() - Method in interface javax.websocket.Session
-
- getRequestURI() - Method in interface javax.websocket.server.HandshakeRequest
-
- getRequestURI() - Method in interface javax.websocket.Session
-
- getSendStream() - Method in interface javax.websocket.RemoteEndpoint.Basic
-
- getSendTimeout() - Method in interface javax.websocket.RemoteEndpoint.Async
-
Obtain the timeout (in milliseconds) for sending a message
asynchronously.
- getSendWriter() - Method in interface javax.websocket.RemoteEndpoint.Basic
-
- getSession() - Method in exception javax.websocket.SessionException
-
- getSubprotocols() - Method in interface javax.websocket.server.ServerEndpointConfig
-
- getText() - Method in exception javax.websocket.DecodeException
-
- getUserPrincipal() - Method in interface javax.websocket.server.HandshakeRequest
-
- getUserPrincipal() - Method in interface javax.websocket.Session
-
- getUserProperties() - Method in interface javax.websocket.EndpointConfig
-
- getUserProperties() - Method in interface javax.websocket.Session
-
- getValue() - Method in interface javax.websocket.Extension.Parameter
-
- getWebSocketContainer() - Static method in class javax.websocket.ContainerProvider
-
Create a new container used to create outgoing WebSocket connections.
- SEC_WEBSOCKET_ACCEPT - Static variable in interface javax.websocket.HandshakeResponse
-
Name of the WebSocket accept HTTP header.
- SEC_WEBSOCKET_EXTENSIONS - Static variable in interface javax.websocket.server.HandshakeRequest
-
- SEC_WEBSOCKET_KEY - Static variable in interface javax.websocket.server.HandshakeRequest
-
- SEC_WEBSOCKET_PROTOCOL - Static variable in interface javax.websocket.server.HandshakeRequest
-
- SEC_WEBSOCKET_VERSION - Static variable in interface javax.websocket.server.HandshakeRequest
-
- sendBinary(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint.Async
-
Send the message asynchronously, using the Future to signal to the client
when the message has been sent.
- sendBinary(ByteBuffer, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
-
Send the message asynchronously, using the SendHandler to signal to the
client when the message has been sent.
- sendBinary(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint.Basic
-
Send the message, blocking until the message is sent.
- sendBinary(ByteBuffer, boolean) - Method in interface javax.websocket.RemoteEndpoint.Basic
-
Sends part of a binary message to the remote endpoint.
- SendHandler - Interface in javax.websocket
-
- sendObject(Object) - Method in interface javax.websocket.RemoteEndpoint.Async
-
Encodes object as a message and sends it asynchronously, using the
Future to signal to the client when the message has been sent.
- sendObject(Object, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
-
Encodes object as a message and sends it asynchronously, using the
SendHandler to signal to the client when the message has been sent.
- sendObject(Object) - Method in interface javax.websocket.RemoteEndpoint.Basic
-
Encodes object as a message and sends it to the remote endpoint.
- sendPing(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint
-
Send a ping message blocking until the message has been sent.
- sendPong(ByteBuffer) - Method in interface javax.websocket.RemoteEndpoint
-
Send a pong message blocking until the message has been sent.
- SendResult - Class in javax.websocket
-
- SendResult(Throwable) - Constructor for class javax.websocket.SendResult
-
- SendResult() - Constructor for class javax.websocket.SendResult
-
- sendText(String, SendHandler) - Method in interface javax.websocket.RemoteEndpoint.Async
-
Send the message asynchronously, using the SendHandler to signal to the
client when the message has been sent.
- sendText(String) - Method in interface javax.websocket.RemoteEndpoint.Async
-
Send the message asynchronously, using the Future to signal to the
client when the message has been sent.
- sendText(String) - Method in interface javax.websocket.RemoteEndpoint.Basic
-
Send the message, blocking until the message is sent.
- sendText(String, boolean) - Method in interface javax.websocket.RemoteEndpoint.Basic
-
Sends part of a text message to the remote endpoint.
- ServerApplicationConfig - Interface in javax.websocket.server
-
Applications may provide an implementation of this interface to filter the
discovered WebSocket endpoints that are deployed.
- ServerContainer - Interface in javax.websocket.server
-
Provides the ability to deploy endpoints programmatically.
- ServerEndpoint - Annotation Type in javax.websocket.server
-
- ServerEndpointConfig - Interface in javax.websocket.server
-
Provides configuration information for WebSocket endpoints published to a
server.
- ServerEndpointConfig.Builder - Class in javax.websocket.server
-
- ServerEndpointConfig.Configurator - Class in javax.websocket.server
-
- Session - Interface in javax.websocket
-
- SessionException - Exception in javax.websocket
-
- SessionException(String, Throwable, Session) - Constructor for exception javax.websocket.SessionException
-
- setAsyncSendTimeout(long) - Method in interface javax.websocket.WebSocketContainer
-
Set the default timeout for sending a message asynchronously.
- setBatchingAllowed(boolean) - Method in interface javax.websocket.RemoteEndpoint
-
Enable or disable the batching of outgoing messages for this endpoint.
- setDefaultMaxBinaryMessageBufferSize(int) - Method in interface javax.websocket.WebSocketContainer
-
Set the default maximum buffer size for binary messages.
- setDefaultMaxSessionIdleTimeout(long) - Method in interface javax.websocket.WebSocketContainer
-
Set the default session idle timeout.
- setDefaultMaxTextMessageBufferSize(int) - Method in interface javax.websocket.WebSocketContainer
-
Set the default maximum buffer size for text messages.
- setMaxBinaryMessageBufferSize(int) - Method in interface javax.websocket.Session
-
Set the current maximum buffer size for binary messages.
- setMaxIdleTimeout(long) - Method in interface javax.websocket.Session
-
Set the idle timeout for this session.
- setMaxTextMessageBufferSize(int) - Method in interface javax.websocket.Session
-
Set the maximum buffer size for text messages.
- setSendTimeout(long) - Method in interface javax.websocket.RemoteEndpoint.Async
-
Set the timeout (in milliseconds) for sending a message
asynchronously.
- subprotocols(List<String>) - Method in class javax.websocket.server.ServerEndpointConfig.Builder
-