Package org.eclipse.jetty.websocket.api
Class BadPayloadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.jetty.websocket.api.WebSocketException
-
- org.eclipse.jetty.websocket.api.CloseException
-
- org.eclipse.jetty.websocket.api.BadPayloadException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated(since="2021-05-27") public class BadPayloadException extends CloseException
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.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. (eg: not UTF-8 in a text frame, or a unexpected data seen by an extension)- See Also:
StatusCode.BAD_PAYLOAD
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadPayloadException(java.lang.String message)
Deprecated.BadPayloadException(java.lang.String message, java.lang.Throwable t)
Deprecated.BadPayloadException(java.lang.Throwable t)
Deprecated.
-
Method Summary
-
Methods inherited from class org.eclipse.jetty.websocket.api.CloseException
getStatusCode
-
-