Package io.vertx.ext.stomp
Class DefaultConnectHandler
- java.lang.Object
-
- io.vertx.ext.stomp.DefaultConnectHandler
-
- All Implemented Interfaces:
Handler<ServerFrame>
public class DefaultConnectHandler extends Object implements Handler<ServerFrame>
STOMP compliant actions executed when receiving aCONNECT
frame. It may also be called when receiving aSTOMP
frame depending on theStompServerHandler
configuration. This handler manages the STOMP version negotiation and authentication (if enabled). Once all the checks have been passed, theCONNECTED
frame is sent to the client. This handler is thread safe.- Author:
- Clement Escoffier
-
-
Constructor Summary
Constructors Constructor Description DefaultConnectHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(ServerFrame sf)
Something has happened, so handle it.
-
-
-
Method Detail
-
handle
public void handle(ServerFrame sf)
Description copied from interface:Handler
Something has happened, so handle it.- Specified by:
handle
in interfaceHandler<ServerFrame>
- Parameters:
sf
- the event to handle
-
-