vertx / io.vertx.ext.stomp / DefaultConnectHandler

# DefaultConnectHandler

`open class DefaultConnectHandler : Handler<ServerFrame>`

STOMP compliant actions executed when receiving a `CONNECT` frame. It may also be called when receiving a `STOMP` frame depending on the io.vertx.ext.stomp.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

### Constructors

<init> | `DefaultConnectHandler()` STOMP compliant actions executed when receiving a `CONNECT` frame. It may also be called when receiving a `STOMP` frame depending on the io.vertx.ext.stomp.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.

### Functions

handle | `open fun handle(sf: ServerFrame): Unit`