public class OnMessageTextCallable extends OnMessageCallable
OnMessage
annotated methods with a whole or partial text messages.
Decoder.Text
decoder, decodingType, 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, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecodingType, setPartialMessageFlag
assertRoleRequired, findIndexForRole, findParamForRole, getParams
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
public OnMessageTextCallable(OnMessageCallable copy)
copy
- the callable to copy frompublic Object call(Object endpoint, String str, boolean partialFlag) throws DecodeException
DecodeException
public void init(JsrSession session)
init
in class OnMessageCallable
Copyright © 1995–2017 Webtide. All rights reserved.