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
Callable for
OnMessage
annotated methods for InputStream
based binary message objects- See Also:
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionOnMessageBinaryStreamCallable
(Class<?> pojo, Method method) Copy Constructor -
Method Summary
Modifier and TypeMethodDescriptioncall
(Object endpoint, 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
-
Field Details
-
binaryDecoder
private javax.websocket.Decoder.BinaryStream<?> binaryDecoder
-
-
Constructor Details
-
OnMessageBinaryStreamCallable
-
OnMessageBinaryStreamCallable
Copy Constructor- Parameters:
copy
- the callable to copy from
-
-
Method Details
-
call
public Object call(Object endpoint, InputStream stream) throws javax.websocket.DecodeException, IOException - Throws:
javax.websocket.DecodeException
IOException
-
init
- Overrides:
init
in classOnMessageCallable
-