public class OnMessageTextCallable extends OnMessageCallable
OnMessage
annotated methods with a whole or partial text messages.
Not for use with Reader
based OnMessage
method objects.
Text
decoder, decoderClass, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnType
args, idxConfig, idxSession, params
method, paramTypes, pojo
Constructor and Description |
---|
OnMessageTextCallable(Class<?> pojo,
Method method) |
OnMessageTextCallable(OnMessageCallable copy)
Copy Constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
call(Object endpoint,
String str,
boolean partialFlag) |
void |
init(JsrSession session) |
assertDecoderRequired, getDecoder, getDecoderClass, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecoderClass, setPartialMessageFlag
assertRoleRequired, findIndexForRole, findParamForRole, getParams
call, getMethod, getParamTypes, getPojo, toString
public OnMessageTextCallable(OnMessageCallable copy)
public Object call(Object endpoint, String str, boolean partialFlag) throws DecodeException
DecodeException
public void init(JsrSession session)
init
in class OnMessageCallable
Copyright © 1995-2015 Webtide. All Rights Reserved.