Class WebSocketTextPayload
- java.lang.Object
-
- org.apache.wicket.protocol.ws.api.event.WebSocketPayload<TextMessage>
-
- org.apache.wicket.protocol.ws.api.event.WebSocketTextPayload
-
public class WebSocketTextPayload extends WebSocketPayload<TextMessage>
A event broadcasting payload for the case when a text message arrives in the WebSocket connection- Since:
- 6.0
-
-
Constructor Summary
Constructors Constructor Description WebSocketTextPayload(TextMessage data, WebSocketRequestHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextMessage
getMessage()
-
Methods inherited from class org.apache.wicket.protocol.ws.api.event.WebSocketPayload
getHandler
-
-
-
-
Constructor Detail
-
WebSocketTextPayload
public WebSocketTextPayload(TextMessage data, WebSocketRequestHandler handler)
-
-
Method Detail
-
getMessage
public final TextMessage getMessage()
- Specified by:
getMessage
in classWebSocketPayload<TextMessage>
-
-