abstract class StompSessionHandlerAdapter : StompSessionHandler
Abstract adapter class for StompSessionHandler with mostly empty implementation methods except for #getPayloadType which returns String as the default Object type expected for STOMP ERROR frame payloads.
Author
Rossen Stoyanchev
Since
4.2
StompSessionHandlerAdapter()
Abstract adapter class for StompSessionHandler with mostly empty implementation methods except for |
open fun afterConnected(session: StompSession, connectedHeaders: StompHeaders): Unit
This implementation is empty. |
|
open fun getPayloadType(headers: StompHeaders): Type
This implementation returns String as the expected payload type for STOMP ERROR frames. |
|
open fun handleException(session: StompSession, command: StompCommand, headers: StompHeaders, payload: ByteArray, exception: Throwable): Unit
This implementation is empty. |
|
open fun handleFrame(headers: StompHeaders, payload: Any): Unit
This implementation is empty. |
|
open fun handleTransportError(session: StompSession, exception: Throwable): Unit
This implementation is empty. |