OnCloseCallable, OnErrorCallable, OnMessageCallable, OnOpenCallablepublic abstract class JsrCallable
extends org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.Object[] |
args |
|
protected int |
idxConfig |
|
protected int |
idxSession |
|
protected Param[] |
params |
| Constructor | Description |
|---|---|
JsrCallable(java.lang.Class<?> pojo,
java.lang.reflect.Method method) |
|
JsrCallable(JsrCallable copy) |
Copy Constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
assertRoleRequired(int index,
java.lang.String description) |
|
protected int |
findIndexForRole(Param.Role role) |
Search the list of parameters for first one matching the role specified.
|
protected Param |
findParamForRole(Param.Role role) |
Find first param for specified role.
|
Param[] |
getParams() |
|
void |
init(JsrSession session) |
|
abstract void |
setDecodingType(java.lang.Class<?> decodingType) |
The Type of Class a
Decoder should be created to produce. |
protected final Param[] params
protected final java.lang.Object[] args
protected int idxSession
protected int idxConfig
public JsrCallable(java.lang.Class<?> pojo,
java.lang.reflect.Method method)
public JsrCallable(JsrCallable copy)
copy - the JsrCallable to copy fromprotected void assertRoleRequired(int index,
java.lang.String description)
protected int findIndexForRole(Param.Role role)
role - the role to look forprotected Param findParamForRole(Param.Role role)
role - the role specifiedpublic Param[] getParams()
public void init(JsrSession session)
public abstract void setDecodingType(java.lang.Class<?> decodingType)
Decoder should be created to produce.decodingType - the type of class a Decoder should be created to produceCopyright © 1995–2018 Webtide. All rights reserved.