T
- The type of message to handlepublic abstract class PojoMessageHandlerPartialBase<T> extends PojoMessageHandlerBase<T> implements MessageHandler.Partial<T>
MessageHandler.Partial<T>, MessageHandler.Whole<T>
convert, indexPayload, indexSession, maxMessageSize, method, params, pojo, session
Constructor and Description |
---|
PojoMessageHandlerPartialBase(java.lang.Object pojo,
java.lang.reflect.Method method,
Session session,
java.lang.Object[] params,
int indexPayload,
boolean convert,
int indexBoolean,
int indexSession,
long maxMessageSize) |
Modifier and Type | Method and Description |
---|---|
void |
onMessage(T message,
boolean last)
Called when part of a message is available to be processed.
|
getMaxMessageSize, getWrappedHandler, handlePojoMethodException, processResult
public PojoMessageHandlerPartialBase(java.lang.Object pojo, java.lang.reflect.Method method, Session session, java.lang.Object[] params, int indexPayload, boolean convert, int indexBoolean, int indexSession, long maxMessageSize)
public final void onMessage(T message, boolean last)
javax.websocket.MessageHandler.Partial
onMessage
in interface MessageHandler.Partial<T>
message
- The message partlast
- true
if this is the last part of
this message, else false
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.