public final class WebsocketEvent extends Object implements Serializable
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | WebsocketEvent.Closed | 
| static interface  | WebsocketEvent.Opened | 
| Constructor and Description | 
|---|
| WebsocketEvent(String channel,
              Serializable user,
              jakarta.websocket.CloseReason.CloseCode code) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| String | getChannel() | 
| jakarta.websocket.CloseReason.CloseCode | getCloseCode() | 
| <S extends Serializable> | getUser() | 
| int | hashCode() | 
| String | toString() | 
public WebsocketEvent(String channel, Serializable user, jakarta.websocket.CloseReason.CloseCode code)
public String getChannel()
public <S extends Serializable> S getUser()
public jakarta.websocket.CloseReason.CloseCode getCloseCode()
Copyright © 2022 The Apache Software Foundation. All rights reserved.