Class OnMessageCallable
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
- Direct Known Subclasses:
OnMessageBinaryCallable, OnMessageBinaryStreamCallable, OnMessagePongCallable, OnMessageTextCallable, OnMessageTextStreamCallable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javax.websocket.Decoderprotected Class<?> protected intprotected intprotected booleanprotected javax.websocket.Encoderprotected final Class<?> Fields inherited from class JsrCallable
args, idxConfig, idxSession, paramsFields inherited from class CallableMethod
method, paramTypes, pojo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprivate intjavax.websocket.Decoderjavax.websocket.EncoderClass<?> voidinit(JsrSession session) booleanbooleanvoidsetDecodingType(Class<?> decodingType) The Type of Class aDecodershould be created to produce.voidsetPartialMessageFlag(Param param) Methods inherited from class JsrCallable
assertRoleRequired, findIndexForRole, findParamForRole, getParamsMethods inherited from class CallableMethod
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
-
Field Details
-
returnType
-
returnEncoder
protected javax.websocket.Encoder returnEncoder -
decodingType
-
decoder
protected javax.websocket.Decoder decoder -
idxPartialMessageFlag
protected int idxPartialMessageFlag -
idxMessageObject
protected int idxMessageObject -
messageRoleAssigned
protected boolean messageRoleAssigned
-
-
Constructor Details
-
OnMessageCallable
-
OnMessageCallable
-
-
Method Details
-
assertDecoderRequired
protected void assertDecoderRequired() -
findMessageObjectIndex
private int findMessageObjectIndex() -
getDecoder
public javax.websocket.Decoder getDecoder() -
getMessageObjectParam
-
getReturnEncoder
public javax.websocket.Encoder getReturnEncoder() -
getReturnType
-
init
- Overrides:
initin classJsrCallable
-
isMessageRoleAssigned
public boolean isMessageRoleAssigned() -
isPartialMessageSupported
public boolean isPartialMessageSupported() -
setDecodingType
Description copied from class:JsrCallableThe Type of Class aDecodershould be created to produce.- Specified by:
setDecodingTypein classJsrCallable- Parameters:
decodingType- the type of class a Decoder should be created to produce
-
setPartialMessageFlag
-