Class OnMessageBinaryCallable
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.OnMessageBinaryCallable
Callable for
OnMessage annotated methods with a whole or partial binary messages.
Not for use with InputStream based OnMessage method 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(Object endpoint, ByteBuffer buf, boolean partialFlag) 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.Binary<?> binaryDecoder
-
-
Constructor Details
-
OnMessageBinaryCallable
-
OnMessageBinaryCallable
Copy Constructor- Parameters:
copy- the callable to copy
-
-
Method Details
-
call
public Object call(Object endpoint, ByteBuffer buf, boolean partialFlag) throws javax.websocket.DecodeException - Throws:
javax.websocket.DecodeException
-
init
- Overrides:
initin classOnMessageCallable
-