Class OnCloseCallable
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
-
- org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
-
- org.eclipse.jetty.websocket.jsr356.annotations.OnCloseCallable
-
public class OnCloseCallable extends JsrCallable
Callable forOnCloseannotated methods
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
args, idxConfig, idxSession, params
-
-
Constructor Summary
Constructors Constructor Description OnCloseCallable(Class<?> pojo, Method method)OnCloseCallable(OnCloseCallable copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcall(Object endpoint, int statusCode, String reason)voidcall(Object endpoint, CloseReason closeReason)voidcall(Object endpoint, org.eclipse.jetty.websocket.common.CloseInfo close)voidinit(JsrSession session)voidsetDecodingType(Class<?> decodingType)The Type of Class aDecodershould be created to produce.-
Methods inherited from class org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
assertRoleRequired, findIndexForRole, findParamForRole, getParams
-
-
-
-
Constructor Detail
-
OnCloseCallable
public OnCloseCallable(OnCloseCallable copy)
-
-
Method Detail
-
call
public void call(Object endpoint, org.eclipse.jetty.websocket.common.CloseInfo close)
-
call
public void call(Object endpoint, CloseReason closeReason)
-
init
public void init(JsrSession session)
- Overrides:
initin classJsrCallable
-
setDecodingType
public void setDecodingType(Class<?> decodingType)
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
-
-