public class OnMessageTextStreamCallable extends OnMessageCallable
OnMessage annotated methods for Reader based text message objectsDecoder.TextStreamdecoder, decodingType, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnTypeargs, idxConfig, idxSession, paramsmethod, paramTypes, pojo| Constructor and Description |
|---|
OnMessageTextStreamCallable(java.lang.Class<?> pojo,
java.lang.reflect.Method method) |
OnMessageTextStreamCallable(OnMessageCallable copy)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
call(java.lang.Object endpoint,
java.io.Reader reader) |
void |
init(JsrSession session) |
assertDecoderRequired, getDecoder, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecodingType, setPartialMessageFlagassertRoleRequired, findIndexForRole, findParamForRole, getParamscall, formatMethodCallError, getMethod, getParamTypes, getPojo, toStringpublic OnMessageTextStreamCallable(java.lang.Class<?> pojo,
java.lang.reflect.Method method)
public OnMessageTextStreamCallable(OnMessageCallable copy)
copy - the callable to copy frompublic java.lang.Object call(java.lang.Object endpoint,
java.io.Reader reader)
throws javax.websocket.DecodeException,
java.io.IOException
javax.websocket.DecodeExceptionjava.io.IOExceptionpublic void init(JsrSession session)
init in class OnMessageCallableCopyright © 1995–2023 Webtide. All rights reserved.