public final class WebSocketEvent extends 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() |
Map<String,String> |
getData() |
Throwable |
getError() |
String |
getMessage() |
javax.websocket.Session |
getSession() |
WebSocketEventType |
getType() |
public WebSocketEventType getType()
public javax.websocket.Session getSession()
public Throwable getError()
public javax.websocket.CloseReason getCloseReason()
public String getMessage()
public static WebSocketEvent.Builder create()