Class OnMessageBinaryStreamCallable
- 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.OnMessageBinaryStreamCallable
-
public class OnMessageBinaryStreamCallable extends OnMessageCallable
Callable forOnMessageannotated methods forInputStreambased binary message objects- See Also:
Decoder.BinaryStream
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.websocket.jsr356.annotations.OnMessageCallable
decoder, decodingType, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnType
-
Fields inherited from class org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
args, idxConfig, idxSession, params
-
-
Constructor Summary
Constructors Constructor Description OnMessageBinaryStreamCallable(Class<?> pojo, Method method)OnMessageBinaryStreamCallable(OnMessageCallable copy)Copy Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectcall(Object endpoint, InputStream stream)voidinit(JsrSession session)-
Methods inherited from class org.eclipse.jetty.websocket.jsr356.annotations.OnMessageCallable
assertDecoderRequired, getDecoder, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecodingType, setPartialMessageFlag
-
Methods inherited from class org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
assertRoleRequired, findIndexForRole, findParamForRole, getParams
-
-
-
-
Constructor Detail
-
OnMessageBinaryStreamCallable
public OnMessageBinaryStreamCallable(OnMessageCallable copy)
Copy Constructor- Parameters:
copy- the callable to copy from
-
-
Method Detail
-
call
public Object call(Object endpoint, InputStream stream) throws DecodeException, IOException
- Throws:
DecodeExceptionIOException
-
init
public void init(JsrSession session)
- Overrides:
initin classOnMessageCallable
-
-