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 org.eclipse.jetty.websocket.jsr356.annotations.OnMessageCallable
decoder, decodingType, idxMessageObject, idxPartialMessageFlag, messageRoleAssigned, returnEncoder, returnTypeFields inherited from class org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
args, idxConfig, idxSession, paramsFields inherited from class org.eclipse.jetty.websocket.common.events.annotated.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 org.eclipse.jetty.websocket.jsr356.annotations.OnMessageCallable
assertDecoderRequired, getDecoder, getMessageObjectParam, getReturnEncoder, getReturnType, isMessageRoleAssigned, isPartialMessageSupported, setDecodingType, setPartialMessageFlagMethods inherited from class org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
assertRoleRequired, findIndexForRole, findParamForRole, getParamsMethods inherited from class org.eclipse.jetty.websocket.common.events.annotated.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
-