Package com.enonic.xp.web.websocket
Class WebSocketEvent
- java.lang.Object
-
- com.enonic.xp.web.websocket.WebSocketEvent
-
public final class WebSocketEvent extends java.lang.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()
java.util.Map<java.lang.String,java.lang.String>
getData()
java.lang.Throwable
getError()
java.lang.String
getMessage()
javax.websocket.Session
getSession()
WebSocketEventType
getType()
-
-
-
Method Detail
-
getType
public WebSocketEventType getType()
-
getSession
public javax.websocket.Session getSession()
-
getError
public java.lang.Throwable getError()
-
getCloseReason
public javax.websocket.CloseReason getCloseReason()
-
getMessage
public java.lang.String getMessage()
-
getData
public java.util.Map<java.lang.String,java.lang.String> getData()
-
create
public static WebSocketEvent.Builder create()
-
-