public class DefaultResourceAction extends Object implements ResourceAction
Modifier and Type | Field and Description |
---|---|
protected Action |
action |
protected Controller |
controller |
Constructor and Description |
---|
DefaultResourceAction(Controller controller,
Action action) |
Modifier and Type | Method and Description |
---|---|
Controller |
getController() |
Method |
getMethod() |
Action |
getMethodForm() |
Class<?>[] |
getParametersType() |
DataTypeMap |
getRequestTypes() |
Class<?> |
getResourceClass() |
DataTypeMap |
getResponseTypes() |
Object |
invoke(Object source,
Object[] args) |
boolean |
isAbstract() |
Class<?> |
returnType() |
protected Action action
protected Controller controller
public DefaultResourceAction(Controller controller, Action action)
public Object invoke(Object source, Object[] args) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
invoke
in interface ResourceAction
IllegalAccessException
IllegalArgumentException
InvocationTargetException
public Controller getController()
getController
in interface ResourceAction
public Class<?> getResourceClass()
getResourceClass
in interface ResourceAction
public Method getMethod()
getMethod
in interface ResourceAction
public Class<?> returnType()
returnType
in interface ResourceAction
public Class<?>[] getParametersType()
getParametersType
in interface ResourceAction
public boolean isAbstract()
isAbstract
in interface ResourceAction
public Action getMethodForm()
getMethodForm
in interface ResourceAction
public DataTypeMap getRequestTypes()
getRequestTypes
in interface ResourceAction
public DataTypeMap getResponseTypes()
getResponseTypes
in interface ResourceAction
Copyright © 2018 Brandao. All rights reserved.