public class OnMessageBinaryStreamCallable extends OnMessageCallable
OnMessage
annotated methods for InputStream
based binary message objectsDecoder.BinaryStream
decoder, decoderClass, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnType
args, idxConfig, idxSession, params
method, paramTypes, pojo
Constructor and Description |
---|
OnMessageBinaryStreamCallable(Class<?> pojo,
Method method) |
OnMessageBinaryStreamCallable(OnMessageCallable copy)
Copy Constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
call(Object endpoint,
InputStream stream) |
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 OnMessageBinaryStreamCallable(OnMessageCallable copy)
copy
- the callable to copy frompublic Object call(Object endpoint, InputStream stream) 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.