public class OnCloseCallable extends JsrCallable
OnClose
annotated methodsargs, idxConfig, idxSession, params
method, 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, getParams
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
public 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 JsrCallable
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 produceCopyright © 1995–2023 Webtide. All rights reserved.