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 classWebSocketEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebSocketEvent.Buildercreate()javax.websocket.CloseReasongetCloseReason()Map<String,String>getData()ThrowablegetError()StringgetMessage()javax.websocket.SessiongetSession()WebSocketEventTypegetType()
-
-
-
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()
-
create
public static WebSocketEvent.Builder create()
-
-