Class OnMessageTextStreamCallable
java.lang.Object
org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
org.eclipse.jetty.websocket.jsr356.annotations.OnMessageCallable
org.eclipse.jetty.websocket.jsr356.annotations.OnMessageTextStreamCallable
Callable for
OnMessage annotated methods for Reader based text message objects- See Also:
-
Field Summary
FieldsFields inherited from class OnMessageCallable
decoder, decodingType, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnTypeFields inherited from class JsrCallable
args, idxConfig, idxSession, paramsFields inherited from class CallableMethod
method, paramTypes, pojo -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OnMessageCallable
assertDecoderRequired, getDecoder, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecodingType, setPartialMessageFlagMethods inherited from class JsrCallable
assertRoleRequired, findIndexForRole, findParamForRole, getParamsMethods inherited from class CallableMethod
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
-
Field Details
-
textDecoder
private javax.websocket.Decoder.TextStream<?> textDecoder
-
-
Constructor Details
-
OnMessageTextStreamCallable
-
OnMessageTextStreamCallable
Copy Constructor- Parameters:
copy- the callable to copy from
-
-
Method Details
-
call
public Object call(Object endpoint, Reader reader) throws javax.websocket.DecodeException, IOException - Throws:
javax.websocket.DecodeExceptionIOException
-
init
- Overrides:
initin classOnMessageCallable
-