Package org.xwiki.websocket
Class AbstractPartialStringMessageHandler
- java.lang.Object
-
- org.xwiki.websocket.AbstractPartialMessageHandler<String>
-
- org.xwiki.websocket.AbstractPartialStringMessageHandler
-
- All Implemented Interfaces:
javax.websocket.MessageHandler
,javax.websocket.MessageHandler.Partial<String>
@Unstable public abstract class AbstractPartialStringMessageHandler extends AbstractPartialMessageHandler<String>
Base class for partial string message handlers.- Since:
- 13.10.5, 14.3RC1
- Version:
- $Id: 75945c0cf5a3277c1ea8d7ce6576f77c0a973f72 $
-
-
Constructor Summary
Constructors Constructor Description AbstractPartialStringMessageHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
onMessage(String message)
Called to handle the string message when all its parts have been received.void
onMessage(List<String> parts)
Called to handle the message when all its parts have been received.-
Methods inherited from class org.xwiki.websocket.AbstractPartialMessageHandler
onMessage
-
-
-
-
Method Detail
-
onMessage
public void onMessage(List<String> parts)
Description copied from class:AbstractPartialMessageHandler
Called to handle the message when all its parts have been received.- Specified by:
onMessage
in classAbstractPartialMessageHandler<String>
- Parameters:
parts
- the message parts
-
onMessage
public abstract void onMessage(String message)
Called to handle the string message when all its parts have been received.- Parameters:
message
- the complete string message
-
-