public class PojoMessageHandlerWholeText extends PojoMessageHandlerWholeBase<java.lang.String>
MessageHandler.Partial<T>, MessageHandler.Whole<T>
convert, indexPayload, indexSession, maxMessageSize, method, params, pojo, session
Constructor and Description |
---|
PojoMessageHandlerWholeText(java.lang.Object pojo,
java.lang.reflect.Method method,
Session session,
EndpointConfig config,
java.util.List<java.lang.Class<? extends Decoder>> decoderClazzes,
java.lang.Object[] params,
int indexPayload,
boolean convert,
int indexSession,
long maxMessageSize) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
convert(java.lang.String message) |
protected java.lang.Object |
decode(java.lang.String message) |
protected void |
onClose() |
onMessage
getMaxMessageSize, getWrappedHandler, handlePojoMethodException, processResult
public PojoMessageHandlerWholeText(java.lang.Object pojo, java.lang.reflect.Method method, Session session, EndpointConfig config, java.util.List<java.lang.Class<? extends Decoder>> decoderClazzes, java.lang.Object[] params, int indexPayload, boolean convert, int indexSession, long maxMessageSize)
protected java.lang.Object decode(java.lang.String message) throws DecodeException
decode
in class PojoMessageHandlerWholeBase<java.lang.String>
DecodeException
protected java.lang.Object convert(java.lang.String message)
convert
in class PojoMessageHandlerWholeBase<java.lang.String>
protected void onClose()
onClose
in class PojoMessageHandlerWholeBase<java.lang.String>
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.