Class DefaultConnectHandler
java.lang.Object
io.vertx.ext.stomp.DefaultConnectHandler
- All Implemented Interfaces:
Handler<ServerFrame>
STOMP compliant actions executed when receiving a
CONNECT frame. It may also be called when receiving a
STOMP frame depending on the StompServerHandler configuration.
This handler manages the STOMP version negotiation and authentication (if enabled). Once all the checks have been
passed, the CONNECTED frame is sent to the client.
This handler is thread safe.- Author:
- Clement Escoffier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ServerFrame sf) Something has happened, so handle it.
-
Constructor Details
-
DefaultConnectHandler
public DefaultConnectHandler()
-
-
Method Details
-
handle
Description copied from interface:HandlerSomething has happened, so handle it.- Specified by:
handlein interfaceHandler<ServerFrame>- Parameters:
sf- the event to handle
-