Uses of Class
org.java_websocket.exceptions.InvalidDataException
-
Packages that use InvalidDataException Package Description org.java_websocket org.java_websocket.drafts This package encapsulates all implementations in relation with the WebSocket drafts.org.java_websocket.exceptions This package encapsulates all implementations in relation with the exceptions thrown in this lib.org.java_websocket.extensions This package encapsulates all interfaces and implementations in relation with the WebSocket Sec-WebSocket-Extensions.org.java_websocket.framing This package encapsulates all interfaces and implementations in relation with the WebSocket frames.org.java_websocket.server This package encapsulates all implementations in relation with the WebSocketServer.org.java_websocket.util This package encapsulates the utility classes. -
-
Uses of InvalidDataException in org.java_websocket
Methods in org.java_websocket with parameters of type InvalidDataException Modifier and Type Method Description voidWebSocketImpl. close(InvalidDataException e)Methods in org.java_websocket that throw InvalidDataException Modifier and Type Method Description voidWebSocketAdapter. 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.ServerHandshakeBuilderWebSocketAdapter. onWebsocketHandshakeReceivedAsServer(WebSocket conn, Draft draft, ClientHandshake request)This default implementation does not do anything.ServerHandshakeBuilderWebSocketListener. 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 InvalidDataException Modifier and Type Method Description intDraft. checkAlloc(int bytecount)voidDraft_6455. processFrame(WebSocketImpl webSocketImpl, Framedata frame)abstract voidDraft. processFrame(WebSocketImpl webSocketImpl, Framedata frame)Handle the frame specific to the draftList<Framedata>Draft_6455. translateFrame(ByteBuffer buffer)abstract List<Framedata>Draft. translateFrame(ByteBuffer buffer)FramedataDraft_6455. translateSingleFrame(ByteBuffer buffer) -
Uses of InvalidDataException in org.java_websocket.exceptions
Subclasses of InvalidDataException in org.java_websocket.exceptions Modifier and Type Class Description classInvalidFrameExceptionexception which indicates that a invalid frame was recieved (CloseFrame.PROTOCOL_ERROR)classInvalidHandshakeExceptionexception which indicates that a invalid handshake was recieved (CloseFrame.PROTOCOL_ERROR)classLimitExedeedExceptionexception which indicates that the message limited was exedeeded (CloseFrame.TOOBIG) -
Uses of InvalidDataException in org.java_websocket.extensions
Methods in org.java_websocket.extensions that throw InvalidDataException Modifier and Type Method Description voidDefaultExtension. 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.framing
Methods in org.java_websocket.framing that throw InvalidDataException Modifier and Type Method Description voidCloseFrame. isValid()voidControlFrame. isValid()voidDataFrame. isValid()abstract voidFramedataImpl1. isValid()Check if the frame is valid due to specificationvoidTextFrame. isValid() -
Uses of InvalidDataException in org.java_websocket.server
Methods in org.java_websocket.server that throw InvalidDataException Modifier and Type Method Description ServerHandshakeBuilderWebSocketServer. onWebsocketHandshakeReceivedAsServer(WebSocket conn, Draft draft, ClientHandshake request) -
Uses of InvalidDataException in org.java_websocket.util
Methods in org.java_websocket.util that throw InvalidDataException Modifier and Type Method Description static StringCharsetfunctions. stringUtf8(byte[] bytes)static StringCharsetfunctions. stringUtf8(ByteBuffer bytes)
-