Uses of Interface
org.eclipse.jetty.websocket.core.server.WebSocketNegotiator
Package
Description
-
Uses of WebSocketNegotiator in org.eclipse.jetty.websocket.core.server
Modifier and TypeMethodDescriptionstatic WebSocketNegotiator
WebSocketNegotiator.from
(WebSocketCreator creator, FrameHandlerFactory factory) static WebSocketNegotiator
WebSocketNegotiator.from
(WebSocketCreator creator, FrameHandlerFactory factory, Configuration.Customizer customizer) WebSocketMappings.getMatchedNegotiator
(Request request, BiConsumer<Request, PathSpec> consumer) Returns the mappedWebSocketNegotiator
if there is a match of givenrequest
against aregistered mapping
, otherwise returnsnull
if there is no match.WebSocketMappings.getWebSocketNegotiator
(PathSpec pathSpec) Modifier and TypeMethodDescriptionvoid
WebSocketMappings.addMapping
(PathSpec pathSpec, WebSocketNegotiator negotiator) Manually add a WebSocket mapping.void
WebSocketUpgradeHandler.addMapping
(String pathSpec, WebSocketNegotiator negotiator) void
WebSocketUpgradeHandler.addMapping
(PathSpec pathSpec, WebSocketNegotiator negotiator) boolean
WebSocketMappings.upgrade
(WebSocketNegotiator negotiator, Request request, Response response, Callback callback, Configuration.Customizer defaultCustomizer) Attempts to find a WebSocket mapping and upgrade a request to WebSocket.boolean
Handshaker.upgradeRequest
(WebSocketNegotiator negotiator, Request request, Response response, Callback callback, WebSocketComponents components, Configuration.Customizer defaultCustomizer) Attempts to upgrade a request to WebSocket. -
Uses of WebSocketNegotiator in org.eclipse.jetty.websocket.core.server.internal
Modifier and TypeMethodDescriptionboolean
AbstractHandshaker.upgradeRequest
(WebSocketNegotiator negotiator, Request request, Response response, Callback callback, WebSocketComponents components, Configuration.Customizer defaultCustomizer) boolean
HandshakerSelector.upgradeRequest
(WebSocketNegotiator negotiator, Request request, Response response, Callback callback, WebSocketComponents components, Configuration.Customizer defaultCustomizer)