Class EventMethod
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.events.annotated.EventMethod
-
public class EventMethod extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private booleanhasSessionprivate booleanisStreamingprivate static org.eclipse.jetty.util.log.LoggerLOGprotected java.lang.reflect.Methodmethodprivate java.lang.Class<?>[]paramTypesprotected java.lang.Class<?>pojo
-
Constructor Summary
Constructors Constructor Description EventMethod(java.lang.Class<?> pojo, java.lang.reflect.Method method)EventMethod(java.lang.Class<?> pojo, java.lang.String methodName, java.lang.Class<?>... paramTypes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcall(java.lang.Object obj, java.lang.Object... args)private static java.lang.Object[]dropFirstArg(java.lang.Object[] args)java.lang.reflect.MethodgetMethod()protected java.lang.Class<?>[]getParamTypes()private voididentifyPresentParamTypes()booleanisHasSession()booleanisStreaming()
-
-
-
Method Detail
-
dropFirstArg
private static java.lang.Object[] dropFirstArg(java.lang.Object[] args)
-
call
public void call(java.lang.Object obj, java.lang.Object... args)
-
getMethod
public java.lang.reflect.Method getMethod()
-
getParamTypes
protected java.lang.Class<?>[] getParamTypes()
-
identifyPresentParamTypes
private void identifyPresentParamTypes()
-
isHasSession
public boolean isHasSession()
-
isStreaming
public boolean isStreaming()
-
-