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.
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.
Makes a check of the validity of the Origin header sent along with the opening
handshake following the recommendation at: Sending the Server's Opening Handshake.
The ClientEndpointConfiguration is a special kind of endpoint configuration object that contains
web socket configuration information specific only to client endpoints.
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.
The DefaultServerConfiguration is a concrete class that embodies all the configuration
parameters for an endpoint that is to be published as a server endpoint.
Return the number of milliseconds the implementation will timeout
attempting to send a websocket message for all RemoteEndpoints associated
with this container.
Provides a simple algorithm to return the list of extensions this server will
use for the web socket session: the configuration returns a list containing all of the requested
extensions passed to this method that it supports, using the order in the requested
extensions, the empty list if none.
The default implementation of this method returns, the first subprotocol in the list sent by the client that
the server supports, or null if there isn't one none.
Return the subprotocol this server endpoint has chosen from the requested
list supplied by a client who wishes to connect, or none if there wasn't one
this server endpoint liked.
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.
Return the number of milliseconds before this conversation may be closed by the
container if it is inactive, ie no messages are either sent or received in that time.
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.
This default implementation matches the incoming path to the configuration's URI or URI template if and only if
it is an exact match in the case the configuration is a URI, and if and only if it is a valid
expansion of the configuration URI template, in the case where the configuration is a URI template.
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.
Developers may include implementations of ServerApplicationConfiguration in an archive containing
websocket endpoints (WAR file, or JAR file within the WAR file) in order to specify precisely
which of the websocket endpoints within the archive the implementation must deploy.
The ServerEndpointConfiguration is a special kind of endpoint configuration object that contains
web socket configuration information specific only to server endpoints.
Sets the number of milliseconds the implementation will timeout
attempting to send a websocket message for all RemoteEndpoints associated
with this container.
Set the non-zero number of milliseconds before this conversation will be closed by the
container if it is inactive, ie no messages are either sent or received.
This class level annotation declares that the class it decorates
is a web socket endpoint that will be deployed and made available in the URI-space
of a web socket server.
This annotation may be used to annotate method parameters on server side web socket POJOs
where a URI-template has been used in the path-mapping of the WebSocketEndpoint
annotation.