SubProtocolErrorHandler for use with STOMP.
| Modifier and Type | Field and Description |
|---|---|
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Message | handleClientMessageProcessingError(Message<byte[]>
the client message related to the error, possibly
clientMessage, Throwable null if error occurred while parsing a WebSocket messagethe cause for the error, never ex)nullImplements org. Handle errors thrown while processing client messages providing an opportunity to prepare the error message or to prevent one from being sent. |
| public Message | handleErrorMessageToClient(Message<byte[]>
the error message, never errorMessage)nullImplements org. Handle errors sent from the server side to clients, e.g. errors from the
|
| protected Message | handleInternal(StompHeaderAccessor errorHeaderAccessor, byte[] errorPayload, Throwable cause, StompHeaderAccessor clientHeaderAccessor)
|
| EMPTY_PAYLOAD | back to summary |
|---|---|
| private static final byte[] EMPTY_PAYLOAD | |
| StompSubProtocolErrorHandler | back to summary |
|---|---|
| public StompSubProtocolErrorHandler() | |
| handleClientMessageProcessingError | back to summary |
|---|---|
| public Message Implements org. Doc from org. Handle errors thrown while processing client messages providing an opportunity to prepare the error message or to prevent one from being sent. Note that the STOMP protocol requires a server to close the connection
after sending an ERROR frame. To prevent an ERROR frame from being sent,
a handler could return
| |
| handleErrorMessageToClient | back to summary |
|---|---|
| public Message Implements org. Doc from org. Handle errors sent from the server side to clients, e.g. errors from the
| |
| handleInternal | back to summary |
|---|---|
| protected Message | |