Uses of Class
org.java_websocket.exceptions.InvalidDataException
Packages that use InvalidDataException
Package
Description
This package encapsulates all implementations in relation with the WebSocket drafts.
This package encapsulates all implementations in relation with the exceptions thrown in this
lib.
This package encapsulates all interfaces and implementations in relation with the WebSocket
Sec-WebSocket-Extensions.
This package encapsulates all interfaces and implementations in relation with the WebSocket
frames.
This package encapsulates the utility classes.
-
Uses of InvalidDataException in org.java_websocket
Methods in org.java_websocket with parameters of type InvalidDataExceptionMethods in org.java_websocket that throw InvalidDataExceptionModifier and TypeMethodDescriptionvoid
WebSocketAdapter.onWebsocketHandshakeReceivedAsClient
(WebSocket conn, ClientHandshake request, ServerHandshake response) void
WebSocketListener.onWebsocketHandshakeReceivedAsClient
(WebSocket conn, ClientHandshake request, ServerHandshake response) Called on the client side when the socket connection is first established, and the WebSocketImpl handshake response has been received.WebSocketAdapter.onWebsocketHandshakeReceivedAsServer
(WebSocket conn, Draft draft, ClientHandshake request) This default implementation does not do anything.WebSocketListener.onWebsocketHandshakeReceivedAsServer
(WebSocket conn, Draft draft, ClientHandshake request) Called on the server side when the socket connection is first established, and the WebSocket handshake has been received.void
WebSocketAdapter.onWebsocketHandshakeSentAsClient
(WebSocket conn, ClientHandshake request) This default implementation does not do anything which will cause the connections to always progress.void
WebSocketListener.onWebsocketHandshakeSentAsClient
(WebSocket conn, ClientHandshake request) Called on the client side when the socket connection is first established, and the WebSocketImpl handshake has just been sent. -
Uses of InvalidDataException in org.java_websocket.drafts
Methods in org.java_websocket.drafts that throw InvalidDataExceptionModifier and TypeMethodDescriptionint
Draft.checkAlloc
(int bytecount) void
Draft_6455.processFrame
(WebSocketImpl webSocketImpl, Framedata frame) abstract void
Draft.processFrame
(WebSocketImpl webSocketImpl, Framedata frame) Handle the frame specific to the draftDraft_6455.translateFrame
(ByteBuffer buffer) Draft.translateFrame
(ByteBuffer buffer) -
Uses of InvalidDataException in org.java_websocket.exceptions
Subclasses of InvalidDataException in org.java_websocket.exceptionsModifier and TypeClassDescriptionclass
exception which indicates that a invalid frame was received (CloseFrame.PROTOCOL_ERROR)class
exception which indicates that a invalid handshake was received (CloseFrame.PROTOCOL_ERROR)class
exception which indicates that the message limited was exceeded (CloseFrame.TOOBIG) -
Uses of InvalidDataException in org.java_websocket.extensions
Methods in org.java_websocket.extensions that throw InvalidDataExceptionModifier and TypeMethodDescriptionvoid
DefaultExtension.decodeFrame
(Framedata inputFrame) void
IExtension.decodeFrame
(Framedata inputFrame) Decode a frame with a extension specific algorithm.void
CompressionExtension.isFrameValid
(Framedata inputFrame) void
DefaultExtension.isFrameValid
(Framedata inputFrame) void
IExtension.isFrameValid
(Framedata inputFrame) Check if the received frame is correctly implemented by the other endpoint and there are no specification errors (like wrongly set RSV) -
Uses of InvalidDataException in org.java_websocket.extensions.permessage_deflate
Methods in org.java_websocket.extensions.permessage_deflate that throw InvalidDataExceptionModifier and TypeMethodDescriptionvoid
PerMessageDeflateExtension.decodeFrame
(Framedata inputFrame) void
PerMessageDeflateExtension.isFrameValid
(Framedata inputFrame) This extension requires the RSV1 bit to be set only for the first frame. -
Uses of InvalidDataException in org.java_websocket.framing
Methods in org.java_websocket.framing that throw InvalidDataException -
Uses of InvalidDataException in org.java_websocket.util
Methods in org.java_websocket.util that throw InvalidDataExceptionModifier and TypeMethodDescriptionstatic String
Charsetfunctions.stringUtf8
(byte[] bytes) static String
Charsetfunctions.stringUtf8
(ByteBuffer bytes)