Package org.xwiki.websocket
Class AbstractPartialMessageHandler<T>
- java.lang.Object
-
- org.xwiki.websocket.AbstractPartialMessageHandler<T>
-
- Type Parameters:
T
- the type of message to handle
- All Implemented Interfaces:
javax.websocket.MessageHandler
,javax.websocket.MessageHandler.Partial<T>
- Direct Known Subclasses:
AbstractPartialStringMessageHandler
@Unstable public abstract class AbstractPartialMessageHandler<T> extends Object implements javax.websocket.MessageHandler.Partial<T>
Base class for partial message handlers that want to handle messages when all their parts have been received.- Since:
- 13.10.5, 14.3RC1
- Version:
- $Id: 288f9ceeb4295b451e14be082393ff92c9e079a1 $
-
-
Constructor Summary
Constructors Constructor Description AbstractPartialMessageHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
onMessage(List<T> parts)
Called to handle the message when all its parts have been received.void
onMessage(T partialMessage, boolean last)
-