- getBasicRemote
Return a reference a RemoteEndpoint object representing the peer of this
conversation that is able t
- close
Close the connection to the remote end point using the specified code and reason
phrase.
- getId
Provides a unique identifier for the session. This identifier should not be
relied upon to be genera
- isOpen
Return true if and only if the underlying socket is open.
- addMessageHandler
Register to handle to incoming messages in this conversation. A maximum of one
message handler per n
- getAsyncRemote
Return a reference a RemoteEndpoint object representing the peer of this
conversation that is able t
- getUserProperties
While the session is open, this method returns a Map that the developer may use
to store application
- setMaxTextMessageBufferSize
Set the current maximum buffer size (in characters) for text messages.
- getUserPrincipal
Return the authenticated user for this Session or null if no user is
authenticated for this session.
- getRequestURI
Return the URI under which this session was opened, including the query string
if there is one.
- setMaxBinaryMessageBufferSize
Set the current maximum buffer size (in bytes) for binary messages.
- setMaxIdleTimeout
Set the idle timeout for this session in milliseconds. Zero or negative values
indicate an infinite