Configures the action to execute when a ABORT
frame is received.
Configures the action to execute when a ACK
frame is received.
Configures the to be used to authenticate the user.
Configures the action to execute when a BEGIN
frame is received.
Configures the STOMP server to act as a bridge with the Vert.x event bus.
Configures the action to execute when a connection with the client is closed.
Configures the action to execute when a COMMIT
frame is received.
Configures the action to execute when a CONNECT
frame is received.
Configures the DestinationFactory used to create Destination objects.
Configures the action to execute when a DISCONNECT
frame is received.
Gets the destination with the given name.
Gets a Destination object if existing, or create a new one. The creation is delegated to the DestinationFactory.
Provides for authorization matches on a destination level, this will return the User created by the .
Configures the action to execute when a NACK
frame is received.
Method called by single message (client-individual policy) or a set of message (client policy) are acknowledged. Implementations must call the handler configured using {@link StompServerHandler#onAckHandler}.
Configures the action to execute when messages are acknowledged.
Called when the client connects to a server requiring authentication. It invokes the configured using {@link StompServerHandler#authProvider}.
Called when the client connects to a server requiring authentication. It invokes the configured using {@link StompServerHandler#authProvider}.
Called when the connection is closed. This method executes a default behavior and must calls the configured {@link StompServerHandler#closeHandler} if any.
Method called by single message (client-individual policy) or a set of message (client policy) are
not acknowledged. Not acknowledgment can result from a NACK
frame or from a timeout (no
ACK
frame received in a given time. Implementations must call the handler configured using
{@link StompServerHandler#onNackHandler}.
Configures the action to execute when messages are not acknowledged.
Allows customizing the action to do when the server needs to send a PING
to the client. By default it send a
frame containing EOL
(specification). However, you can customize this and send another frame. However,
be aware that this may requires a custom client.
Configures a handler that get notified when a STOMP frame is received by the server. This handler can be used for logging, debugging or ad-hoc behavior.
Configures the action to execute when a SEND
frame is received.
Configures the action to execute when a STOMP
frame is received.
Configures the action to execute when a SUBSCRIBE
frame is received.
Configures the action to execute when a UNSUBSCRIBE
frame is received.
Creates an instance of StompServerHandler using the default (compliant) implementation.
Generated using TypeDoc
STOMP server handler implements the behavior of the STOMP server when a specific event occurs. For instance, if let customize the behavior when specific STOMP frames arrives or when a connection is closed. This class has been designed to let you customize the server behavior. The default implementation is compliant with the STOMP specification. In this default implementation, not acknowledge frames are dropped.