You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ServerWebSocketContainer only has an ensure method which takes both Server and ContextHandler.
But in some cases people do not want to use ContextHandler.
Right now you can do WebSocketUpgradeHandler.from(jettyServer) which will create the ServerWebSocketContainer on the server without a ContextHandler. However if you do not want the WebSocketUpgradeHandler this is a waste. As you may wish to use the direct upgrade on ServerWebSocketContainer and not register any mappings on the WebSocketUpgradeHandler.
The text was updated successfully, but these errors were encountered:
Jetty version(s)
12.0.x
Description
ServerWebSocketContainer
only has an ensure method which takes bothServer
andContextHandler
.But in some cases people do not want to use
ContextHandler
.Right now you can do
WebSocketUpgradeHandler.from(jettyServer)
which will create theServerWebSocketContainer
on the server without aContextHandler
. However if you do not want theWebSocketUpgradeHandler
this is a waste. As you may wish to use the direct upgrade onServerWebSocketContainer
and not register any mappings on theWebSocketUpgradeHandler
.The text was updated successfully, but these errors were encountered: