Class TextMessage
- java.lang.Object
-
- org.apache.wicket.protocol.ws.api.message.AbstractClientMessage
-
- org.apache.wicket.protocol.ws.api.message.TextMessage
-
- All Implemented Interfaces:
Serializable
,IWebSocketMessage
,IClusterable
public class TextMessage extends AbstractClientMessage
Amessage
with text data- Since:
- 6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TextMessage(Application application, String sessionId, IKey key, CharSequence text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getText()
-
Methods inherited from class org.apache.wicket.protocol.ws.api.message.AbstractClientMessage
getApplication, getKey, getSessionId
-
-
-
-
Constructor Detail
-
TextMessage
public TextMessage(Application application, String sessionId, IKey key, CharSequence text)
- Parameters:
application
- the Wicket applicationsessionId
- the id of the http sessionkey
- the page id or resource nametext
- the message sent from the client
-
-