This implementation is empty.
This implementation returns string as the expected payload type for STOMP ERROR frames.
This implementation is empty.
This implementation is empty.
This implementation is empty.
Invoked when the session is ready to use, i.e. after the underlying transport (TCP, WebSocket) is connected and a STOMP CONNECTED frame is received from the broker. @param session the client STOMP session @param connectedHeaders the STOMP CONNECTED frame headers
Handle any exception arising while processing a STOMP frame such as a failure to convert the payload or an unhandled exception in the application {@code StompFrameHandler}. @param session the client STOMP session @param command the STOMP command of the frame @param headers the headers @param payload the raw payload @param exception the exception
Handle a low level transport error which could be an I/O error or a failure to encode or decode a STOMP message. <p>Note that {@link hunt.stomp.simp.stomp.ConnectionLostException ConnectionLostException} will be passed into this method when the connection is lost rather than closed normally via {@link StompSession#disconnect()}. @param session the client STOMP session @param exception the exception that occurred
Abstract adapter class for {@link StompSessionHandler} with mostly empty implementation methods except for {@link #getPayloadType} which returns string as the default Object type expected for STOMP ERROR frame payloads.
@author Rossen Stoyanchev @since 4.2