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 forOnMessage
annotated methods forInputStream
based 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
-
Fields inherited from class org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
method, paramTypes, pojo
-
-
Constructor Summary
Constructors Constructor Description OnMessageBinaryStreamCallable(java.lang.Class<?> pojo, java.lang.reflect.Method method)
OnMessageBinaryStreamCallable(OnMessageCallable copy)
Copy Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
call(java.lang.Object endpoint, java.io.InputStream stream)
void
init(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
-
Methods inherited from class org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
-
-
-
-
Constructor Detail
-
OnMessageBinaryStreamCallable
public OnMessageBinaryStreamCallable(java.lang.Class<?> pojo, java.lang.reflect.Method method)
-
OnMessageBinaryStreamCallable
public OnMessageBinaryStreamCallable(OnMessageCallable copy)
Copy Constructor- Parameters:
copy
- the callable to copy from
-
-
Method Detail
-
call
public java.lang.Object call(java.lang.Object endpoint, java.io.InputStream stream) throws javax.websocket.DecodeException, java.io.IOException
- Throws:
javax.websocket.DecodeException
java.io.IOException
-
init
public void init(JsrSession session)
- Overrides:
init
in classOnMessageCallable
-
-