Uses of Interface
org.springframework.messaging.simp.stomp.StompFrameHandler
Packages that use StompFrameHandler Package Description org.springframework.messaging.simp.stomp Generic support for simple messaging protocols (like STOMP).Uses of StompFrameHandler in org.springframework.messaging.simp.stomp
Subinterfaces of StompFrameHandler in org.springframework.messaging.simp.stomp Modifier and Type Interface Description interface
StompSessionHandler
A contract for client STOMP session lifecycle events including a callback when the session is established and notifications of transport or message handling failures.Classes in org.springframework.messaging.simp.stomp that implement StompFrameHandler Modifier and Type Class Description class
StompSessionHandlerAdapter
Abstract adapter class forStompSessionHandler
with mostly empty implementation methods except forStompSessionHandlerAdapter.getPayloadType(org.springframework.messaging.simp.stomp.StompHeaders)
which returns String as the default Object type expected for STOMP ERROR frame payloads.Methods in org.springframework.messaging.simp.stomp with parameters of type StompFrameHandler Modifier and Type Method Description StompSession.Subscription
DefaultStompSession. subscribe(String destination, StompFrameHandler handler)
StompSession.Subscription
DefaultStompSession. subscribe(StompHeaders headers, StompFrameHandler handler)
StompSession.Subscription
StompSession. subscribe(String destination, StompFrameHandler handler)
Subscribe to the given destination by sending a SUBSCRIBE frame and handle received messages with the specifiedStompFrameHandler
.StompSession.Subscription
StompSession. subscribe(StompHeaders headers, StompFrameHandler handler)
An overloaded version ofStompSession.subscribe(String, StompFrameHandler)
with fullStompHeaders
instead of just a destination.