public class OnMessageTextStreamCallable extends OnMessageCallable
OnMessage
annotated methods for Reader
based text message objectsDecoder.TextStream
decoder, decoderClass, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnType
args, idxConfig, idxSession, params
method, paramTypes, pojo
Constructor and Description |
---|
OnMessageTextStreamCallable(Class<?> pojo,
Method method) |
OnMessageTextStreamCallable(OnMessageCallable copy)
Copy Constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
call(Object endpoint,
Reader reader) |
void |
init(JsrSession session) |
assertDecoderRequired, getDecoder, getDecoderClass, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecoderClass, setPartialMessageFlag
assertRoleRequired, findIndexForRole, findParamForRole, getParams
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
public OnMessageTextStreamCallable(OnMessageCallable copy)
copy
- the callable to copy frompublic Object call(Object endpoint, Reader reader) throws javax.websocket.DecodeException, IOException
javax.websocket.DecodeException
IOException
public void init(JsrSession session)
init
in class OnMessageCallable
Copyright © 1995-2015 Webtide. All Rights Reserved.