Uses of Class
org.eclipse.jetty.websocket.core.exception.WebSocketException
Packages that use WebSocketException
Package
Description
-
Uses of WebSocketException in org.eclipse.jetty.websocket.core.exception
Subclasses of WebSocketException in org.eclipse.jetty.websocket.core.exceptionModifier 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.server
Methods in org.eclipse.jetty.websocket.core.server that throw WebSocketExceptionModifier 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.