public class OnCloseCallable extends JsrCallable
OnClose annotated methodsargs, idxConfig, idxSession, paramsmethod, paramTypes, pojo| Constructor and Description |
|---|
OnCloseCallable(java.lang.Class<?> pojo,
java.lang.reflect.Method method) |
OnCloseCallable(OnCloseCallable copy) |
| Modifier and Type | Method and Description |
|---|---|
void |
call(java.lang.Object endpoint,
CloseInfo close) |
void |
call(java.lang.Object endpoint,
javax.websocket.CloseReason closeReason) |
void |
call(java.lang.Object endpoint,
int statusCode,
java.lang.String reason) |
void |
init(JsrSession session) |
void |
setDecodingType(java.lang.Class<?> decodingType)
The Type of Class a
Decoder should be created to produce. |
assertRoleRequired, findIndexForRole, findParamForRole, getParamscall, formatMethodCallError, getMethod, getParamTypes, getPojo, toStringpublic OnCloseCallable(java.lang.Class<?> pojo,
java.lang.reflect.Method method)
public OnCloseCallable(OnCloseCallable copy)
public void call(java.lang.Object endpoint,
CloseInfo close)
public void call(java.lang.Object endpoint,
javax.websocket.CloseReason closeReason)
public void call(java.lang.Object endpoint,
int statusCode,
java.lang.String reason)
public void init(JsrSession session)
init in class JsrCallablepublic void setDecodingType(java.lang.Class<?> decodingType)
JsrCallableDecoder should be created to produce.setDecodingType in class JsrCallabledecodingType - the type of class a Decoder should be created to produceCopyright © 1995–2023 Webtide. All rights reserved.