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 ResourceActionIllegalAccessExceptionIllegalArgumentExceptionInvocationTargetExceptionpublic Controller getController()
getController in interface ResourceActionpublic Class<?> getResourceClass()
getResourceClass in interface ResourceActionpublic Method getMethod()
getMethod in interface ResourceActionpublic Class<?> returnType()
returnType in interface ResourceActionpublic Class<?>[] getParametersType()
getParametersType in interface ResourceActionpublic boolean isAbstract()
isAbstract in interface ResourceActionpublic Action getMethodForm()
getMethodForm in interface ResourceActionpublic DataTypeMap getRequestTypes()
getRequestTypes in interface ResourceActionpublic DataTypeMap getResponseTypes()
getResponseTypes in interface ResourceActionCopyright © 2026 Brandao. All rights reserved.