public class OnMessageBinaryStreamCallable extends OnMessageCallable
OnMessage
annotated methods for InputStream
based binary message objectsBinaryStream
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, getMethod, getParamTypes, getPojo, toString
public OnMessageBinaryStreamCallable(OnMessageCallable copy)
public 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-2014 Mort Bay Consulting. All Rights Reserved.