public class OnMessageCallable extends JsrCallable
Modifier and Type | Field and Description |
---|---|
protected javax.websocket.Decoder |
decoder |
protected java.lang.Class<?> |
decodingType |
protected int |
idxMessageObject |
protected int |
idxPartialMessageFlag |
protected boolean |
messageRoleAssigned |
protected javax.websocket.Encoder |
returnEncoder |
protected java.lang.Class<?> |
returnType |
args, idxConfig, idxSession, params
method, paramTypes, pojo
Constructor and Description |
---|
OnMessageCallable(java.lang.Class<?> pojo,
java.lang.reflect.Method method) |
OnMessageCallable(OnMessageCallable copy) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertDecoderRequired() |
javax.websocket.Decoder |
getDecoder() |
Param |
getMessageObjectParam() |
javax.websocket.Encoder |
getReturnEncoder() |
java.lang.Class<?> |
getReturnType() |
void |
init(JsrSession session) |
boolean |
isMessageRoleAssigned() |
boolean |
isPartialMessageSupported() |
void |
setDecodingType(java.lang.Class<?> decodingType)
The Type of Class a
Decoder should be created to produce. |
void |
setPartialMessageFlag(Param param) |
assertRoleRequired, findIndexForRole, findParamForRole, getParams
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
protected final java.lang.Class<?> returnType
protected javax.websocket.Encoder returnEncoder
protected java.lang.Class<?> decodingType
protected javax.websocket.Decoder decoder
protected int idxPartialMessageFlag
protected int idxMessageObject
protected boolean messageRoleAssigned
public OnMessageCallable(java.lang.Class<?> pojo, java.lang.reflect.Method method)
public OnMessageCallable(OnMessageCallable copy)
protected void assertDecoderRequired()
public javax.websocket.Decoder getDecoder()
public Param getMessageObjectParam()
public javax.websocket.Encoder getReturnEncoder()
public java.lang.Class<?> getReturnType()
public void init(JsrSession session)
init
in class JsrCallable
public boolean isMessageRoleAssigned()
public boolean isPartialMessageSupported()
public void setDecodingType(java.lang.Class<?> decodingType)
JsrCallable
Decoder
should be created to produce.setDecodingType
in class JsrCallable
decodingType
- the type of class a Decoder should be created to producepublic void setPartialMessageFlag(Param param)
Copyright © 1995–2023 Webtide. All rights reserved.