Class WebSocketPayload<T>
- java.lang.Object
-
- org.apache.wicket.protocol.ws.api.event.WebSocketPayload<T>
-
- Direct Known Subclasses:
WebSocketAbortedPayload
,WebSocketBinaryPayload
,WebSocketClosedPayload
,WebSocketConnectedPayload
,WebSocketErrorPayload
,WebSocketPushPayload
,WebSocketTextPayload
public abstract class WebSocketPayload<T> extends Object
A base class for all event broadcasting payloads for WebSocket messages.- Since:
- 6.0
-
-
Constructor Summary
Constructors Constructor Description WebSocketPayload(WebSocketRequestHandler handler)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description WebSocketRequestHandler
getHandler()
abstract T
getMessage()
-
-
-
Constructor Detail
-
WebSocketPayload
public WebSocketPayload(WebSocketRequestHandler handler)
-
-
Method Detail
-
getMessage
public abstract T getMessage()
-
getHandler
public final WebSocketRequestHandler getHandler()
-
-