Package org.eclipse.jetty.websocket.api
package org.eclipse.jetty.websocket.api
Jetty WebSocket API
-
ClassDescriptionException to terminate the connection because it has received data within a frame payload that was not consistent with the requirements of that frame payload.The possible batch modes when invoking
OutgoingFrames.outgoingFrame(org.eclipse.jetty.websocket.api.extensions.Frame, WriteCallback, BatchMode)
.Indicating that the provided Class is not a valid WebSocket as defined by the API.Exception when a message is too large for the internal buffers occurs and should trigger a connection close.Exception when a violation of policy occurs and should trigger a connection close.Per spec, a protocol error should result in a Close frame of status code 1002 (PROTOCOL_ERROR)Session represents an active link of communications with a Remote WebSocket Endpoint.Connection suspend tokenException during WebSocket Upgrade Handshake.The HTTP Upgrade to WebSocket RequestThe HTTP Upgrade to WebSocket ResponseDefault implementation of theWebSocketListener
.Behavior for how the WebSocket should operate.Core WebSocket Connection ListenerA recoverable exception within the websocket framework.WebSocket Frame Listener interface for incoming WebSocket frames.Basic WebSocket Listener interface for incoming WebSocket message events.WebSocket Partial Message Listener interface for incoming WebSocket TEXT/BINARY/CONTINUATION frames.WebSocket PING/PONG Listener interface for incoming WebSocket PING/PONG frames.Settings for WebSocket operations.Exception thrown to indicate a connection I/O timeout.Callback for Write events.