io.vertx.ext.web.handler.sockjs

## Interface BridgeEvent

- All Superinterfaces:
    AsyncResult<Boolean>, BaseBridgeEvent, Future<Boolean>, Handler<AsyncResult<Boolean>>

      public interface BridgeEvent
      extends BaseBridgeEvent

  Represents an event that occurs on the event bus bridge.

  Please consult the documentation for a full explanation.

  Author:
    Tim Fox

- - ### Field Summary

    - ### Fields inherited from interface io.vertx.core.Future

      `factory`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `BridgeEvent` | `setRawMessage(JsonObject message)` Get the raw JSON message for the event.
    `SockJSSocket` | `socket()` Get the SockJSSocket instance corresponding to the event

    - ### Methods inherited from interface io.vertx.ext.bridge.BaseBridgeEvent

      `getRawMessage, type`

    - ### Methods inherited from interface io.vertx.core.Future

      `cause, complete, complete, completer, compose, compose, fail, fail, failed, failedFuture, failedFuture, future, future, handle, isComplete, map, map, mapEmpty, otherwise, otherwise, otherwiseEmpty, recover, result, setHandler, succeeded, succeededFuture, succeededFuture, tryComplete, tryComplete, tryFail, tryFail`

- - ### Method Detail

    - #### setRawMessage

          BridgeEvent setRawMessage(JsonObject message)

      Get the raw JSON message for the event. This will be null for SOCKET_CREATED or SOCKET_CLOSED events as there is no message involved.
      Specified by:
        `setRawMessage` in interface `BaseBridgeEvent`
      Parameters:
        `message` - the raw message
      Returns:
        this reference, so it can be used fluently

    - #### socket

          SockJSSocket socket()

      Get the SockJSSocket instance corresponding to the event
      Returns:
        the SockJSSocket instance

Copyright © 2018 Eclipse. All rights reserved.