Class OnOpenCallable
java.lang.Object
org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
org.eclipse.jetty.websocket.jsr356.annotations.JsrCallable
org.eclipse.jetty.websocket.jsr356.annotations.OnOpenCallable
Callable for
OnOpen annotated methods-
Field Summary
FieldsFields inherited from class JsrCallable
args, idxConfig, idxSession, paramsFields inherited from class CallableMethod
method, paramTypes, pojo -
Constructor Summary
ConstructorsConstructorDescriptionOnOpenCallable(Class<?> pojo, Method method) OnOpenCallable(OnOpenCallable copy) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidinit(JsrSession session) voidsetDecodingType(Class<?> decodingType) The Type of Class aDecodershould be created to produce.Methods inherited from class JsrCallable
assertRoleRequired, findIndexForRole, findParamForRole, getParamsMethods inherited from class CallableMethod
call, formatMethodCallError, getMethod, getParamTypes, getPojo, toString
-
Field Details
-
idxEndpointConfig
private int idxEndpointConfig
-
-
Constructor Details
-
OnOpenCallable
-
OnOpenCallable
-
-
Method Details
-
call
-
init
- Overrides:
initin classJsrCallable
-
setDecodingType
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
-