StompSessionHandler with mostly empty
implementation methods except for getPayloadType which returns String
as the default Object type expected for STOMP ERROR frame payloads.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterConnected(StompSession
the client STOMP session session, StompHeaders the STOMP CONNECTED frame headers connectedHeaders)Implements org. |
| public Type | getPayloadType(StompHeaders
the headers of a message headers)Implements org. |
| public void | handleException(StompSession
the client STOMP session session, StompCommand the STOMP command of the frame command, StompHeaders the headers headers, byte[] the raw payload payload, Throwable the exception exception)Implements org. |
| public void | handleFrame(StompHeaders
the headers of the frame headers, Object the payload, or payload)null if there was no payloadImplements org. |
| public void | handleTransportError(StompSession
the client STOMP session session, Throwable the exception that occurred exception)Implements org. |
| StompSessionHandlerAdapter | back to summary |
|---|---|
| public StompSessionHandlerAdapter() | |
| afterConnected | back to summary |
|---|---|
| public void afterConnected(StompSession session, StompHeaders connectedHeaders) Implements org. This implementation is empty.
| |
| getPayloadType | back to summary |
|---|---|
| public Type getPayloadType(StompHeaders headers) Implements org. This implementation returns String as the expected payload type for STOMP ERROR frames.
| |
| handleException | back to summary |
|---|---|
| public void handleException(StompSession session, StompCommand command, StompHeaders headers, byte[] payload, Throwable exception) Implements org. This implementation is empty.
| |
| handleFrame | back to summary |
|---|---|
| public void handleFrame(StompHeaders headers, Object payload) Implements org. This implementation is empty.
| |
| handleTransportError | back to summary |
|---|---|
| public void handleTransportError(StompSession session, Throwable exception) Implements org. This implementation is empty.
| |