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 TypeMethodDescriptionvoidWebSocketAdapter.onWebsocketHandshakeReceivedAsClient(WebSocket conn, ClientHandshake request, ServerHandshake response) voidWebSocketListener.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.voidWebSocketAdapter.onWebsocketHandshakeSentAsClient(WebSocket conn, ClientHandshake request) This default implementation does not do anything which will cause the connections to always progress.voidWebSocketListener.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 TypeMethodDescriptionintDraft.checkAlloc(int bytecount) voidDraft_6455.processFrame(WebSocketImpl webSocketImpl, Framedata frame) abstract voidDraft.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 TypeClassDescriptionclassexception which indicates that a invalid frame was received (CloseFrame.PROTOCOL_ERROR)classexception which indicates that a invalid handshake was received (CloseFrame.PROTOCOL_ERROR)classexception 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 TypeMethodDescriptionvoidDefaultExtension.decodeFrame(Framedata inputFrame) voidIExtension.decodeFrame(Framedata inputFrame) Decode a frame with a extension specific algorithm.voidCompressionExtension.isFrameValid(Framedata inputFrame) voidDefaultExtension.isFrameValid(Framedata inputFrame) voidIExtension.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 TypeMethodDescriptionvoidPerMessageDeflateExtension.decodeFrame(Framedata inputFrame) voidPerMessageDeflateExtension.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 StringCharsetfunctions.stringUtf8(byte[] bytes) static StringCharsetfunctions.stringUtf8(ByteBuffer bytes)