Class CallableMethod
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.events.annotated.CallableMethod
-
- Direct Known Subclasses:
JsrCallable
,OptionalSessionCallableMethod
public class CallableMethod extends java.lang.Object
A Callable Method
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.reflect.Method
method
protected java.lang.Class<?>[]
paramTypes
protected java.lang.Class<?>
pojo
-
Constructor Summary
Constructors Constructor Description CallableMethod(java.lang.Class<?> pojo, java.lang.reflect.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
call(java.lang.Object obj, java.lang.Object... args)
java.lang.String
formatMethodCallError(java.lang.Object... args)
java.lang.reflect.Method
getMethod()
java.lang.Class<?>[]
getParamTypes()
java.lang.Class<?>
getPojo()
java.lang.String
toString()
-
-
-
Method Detail
-
call
public java.lang.Object call(java.lang.Object obj, java.lang.Object... args)
-
formatMethodCallError
public java.lang.String formatMethodCallError(java.lang.Object... args)
-
getMethod
public java.lang.reflect.Method getMethod()
-
getParamTypes
public java.lang.Class<?>[] getParamTypes()
-
getPojo
public java.lang.Class<?> getPojo()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-