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