The ClientConfiguration 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.
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.
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 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 the number of seconds before this conversation will be closed by the
container if it is inactive, ie no messages are either sent or received in that time.
Developers may implement this method when a web socket connection, represented by the session,
creates some kind of error that is not modeled in the web socket protocol.
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.
The ServerConfiguration is a special kind of endpoint configuration object that contains
web socket configuration information specific only to server endpoints.
The ServerContainer is an implementation provided object that, in addition
to being able to initiate web socket connections (client), can register endpoints
that can handle incoming connection requests.