Uses of Class
org.eclipse.jetty.websocket.core.exception.WebSocketException
Package
Description
-
Uses of WebSocketException in org.eclipse.jetty.websocket.core.exception
Modifier and TypeClassDescriptionclass
Exception to terminate the connection because it has received data within a frame payload that was not consistent with the requirements of that frame payload.static class
class
class
class
class
Indicating that the provided Class is not a valid WebSocket per the chosen API.class
Exception when a message is too large for the internal buffers occurs and should trigger a connection close.class
Per spec, a protocol error should result in a Close frame of status code 1002 (PROTOCOL_ERROR)class
Exception during WebSocket Upgrade Handshake.class
Exception thrown to indicate a connection I/O timeout.class
-
Uses of WebSocketException in org.eclipse.jetty.websocket.core.internal
-
Uses of WebSocketException in org.eclipse.jetty.websocket.core.server
Modifier and TypeMethodDescriptionvoid
WebSocketMappings.addMapping
(PathSpec pathSpec, WebSocketCreator creator, FrameHandlerFactory factory, Configuration.Customizer customizer) Manually add a WebSocket mapping.void
WebSocketMappings.addMapping
(PathSpec pathSpec, WebSocketNegotiator negotiator) Manually add a WebSocket mapping.boolean
WebSocketMappings.upgrade
(Request request, Response response, Callback callback, Configuration.Customizer defaultCustomizer) Attempts to find a WebSocket mapping and upgrade a request to WebSocket.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 WebSocketException 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)