Class OnErrorCallable
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
-
- org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
-
- org.eclipse.jetty.websocket.jsr356.annotations.OnErrorCallable
-
public class OnErrorCallable extends JsrCallable
Callable forOnError
annotated methods
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
args, idxConfig, idxSession, params
-
Fields inherited from class org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
method, paramTypes, pojo
-
-
Constructor Summary
Constructors Constructor Description OnErrorCallable(java.lang.Class<?> pojo, java.lang.reflect.Method method)
OnErrorCallable(OnErrorCallable copy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
call(java.lang.Object endpoint, java.lang.Throwable cause)
void
init(JsrSession session)
void
setDecodingType(java.lang.Class<?> decodingType)
The Type of Class aDecoder
should be created to produce.-
Methods inherited from class org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
assertRoleRequired, findIndexForRole, findParamForRole, getParams
-
Methods inherited from class org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
-
-
-
-
Constructor Detail
-
OnErrorCallable
public OnErrorCallable(java.lang.Class<?> pojo, java.lang.reflect.Method method)
-
OnErrorCallable
public OnErrorCallable(OnErrorCallable copy)
-
-
Method Detail
-
call
public void call(java.lang.Object endpoint, java.lang.Throwable cause)
-
init
public void init(JsrSession session)
- Overrides:
init
in classJsrCallable
-
setDecodingType
public void setDecodingType(java.lang.Class<?> decodingType)
Description copied from class:JsrCallable
The Type of Class aDecoder
should be created to produce.- Specified by:
setDecodingType
in classJsrCallable
- Parameters:
decodingType
- the type of class a Decoder should be created to produce
-
-