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 OnMessageCallable
decoder, decodingType, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnTypeFields inherited from class JsrCallable
args, idxConfig, idxSession, paramsFields inherited from class CallableMethod
method, paramTypes, pojo -
Constructor Summary
ConstructorsConstructorDescriptionOnMessageBinaryStreamCallable(Class<?> pojo, Method method) Copy Constructor -
Method Summary
Modifier and TypeMethodDescriptioncall(Object endpoint, InputStream stream) voidinit(JsrSession session) Methods inherited from class OnMessageCallable
assertDecoderRequired, getDecoder, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecodingType, setPartialMessageFlagMethods inherited from class JsrCallable
assertRoleRequired, findIndexForRole, findParamForRole, getParamsMethods inherited from class 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.DecodeExceptionIOException
-
init
- Overrides:
initin classOnMessageCallable
-