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()
-
-
-
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()
-
-