Package com.enonic.xp.web.websocket

## Class WebSocketEvent

- java.lang.Object
- - com.enonic.xp.web.websocket.WebSocketEvent

-     public final class WebSocketEvent
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `WebSocketEvent.Builder` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static WebSocketEvent.Builder` | `create()` |
    `javax.websocket.CloseReason` | `getCloseReason()` |
    `Map<String,​String>` | `getData()` |
    `Throwable` | `getError()` |
    `String` | `getMessage()` |
    `javax.websocket.Session` | `getSession()` |
    `WebSocketEventType` | `getType()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getType

          public WebSocketEventType getType()

    - #### getSession

          public javax.websocket.Session getSession()

    - #### getError

          public Throwable getError()

    - #### getCloseReason

          public javax.websocket.CloseReason getCloseReason()

    - #### getMessage

          public String getMessage()

    - #### getData

          public Map<String,​String> getData()

    - #### create

          public static WebSocketEvent.Builder create()