Uses of Class
org.eclipse.jetty.websocket.server.ServerWebSocketContainer
-
Uses of ServerWebSocketContainer in org.eclipse.jetty.websocket.server
Modifier and TypeMethodDescriptionstatic ServerWebSocketContainer
Returns theServerWebSocketContainer
, ensuring that it is available viaget(Context)
.static ServerWebSocketContainer
ServerWebSocketContainer.ensure
(Server server, ContextHandler contextHandler) Returns theServerWebSocketContainer
, ensuring that it is available viaget(Context)
.static ServerWebSocketContainer
Returns theServerWebSocketContainer
present as the context attribute under the name corresponding to the full qualified name of classWebSocketContainer
.WebSocketUpgradeHandler.getServerWebSocketContainer()
Modifier and TypeMethodDescriptionprotected boolean
WebSocketUpgradeHandler.handle
(ServerWebSocketContainer container, Request request, Response response, Callback callback) Modifier and TypeMethodDescriptionWebSocketUpgradeHandler.configure
(Consumer<ServerWebSocketContainer> configurator) Deprecated.static WebSocketUpgradeHandler
WebSocketUpgradeHandler.from
(Server server, Consumer<ServerWebSocketContainer> configurator) Creates a newWebSocketUpgradeHandler
.static WebSocketUpgradeHandler
WebSocketUpgradeHandler.from
(Server server, ContextHandler context, Consumer<ServerWebSocketContainer> configurator) Creates a newWebSocketUpgradeHandler
.ModifierConstructorDescriptionWebSocketUpgradeHandler
(ServerWebSocketContainer container) Creates a newWebSocketUpgradeHandler
with the givenServerWebSocketContainer
.WebSocketUpgradeHandler
(ServerWebSocketContainer container, Consumer<ServerWebSocketContainer> configurator) Creates a newWebSocketUpgradeHandler
with the givenServerWebSocketContainer
and the given configurator.ModifierConstructorDescriptionWebSocketUpgradeHandler
(ServerWebSocketContainer container, Consumer<ServerWebSocketContainer> configurator) Creates a newWebSocketUpgradeHandler
with the givenServerWebSocketContainer
and the given configurator.
WebSocketUpgradeHandler.from(Server, ContextHandler, Consumer)
,WebSocketUpgradeHandler.from(Server, Consumer)
orWebSocketUpgradeHandler.getServerWebSocketContainer()