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 boolean
hasSession
private boolean
isStreaming
private static org.eclipse.jetty.util.log.Logger
LOG
protected java.lang.reflect.Method
method
private java.lang.Class<?>[]
paramTypes
protected 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 void
call(java.lang.Object obj, java.lang.Object... args)
private static java.lang.Object[]
dropFirstArg(java.lang.Object[] args)
java.lang.reflect.Method
getMethod()
protected java.lang.Class<?>[]
getParamTypes()
private void
identifyPresentParamTypes()
boolean
isHasSession()
boolean
isStreaming()
-
-
-
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()
-
-