Package com.atlassian.confluence.xwork
Class StrutsActionHelper
java.lang.Object
com.atlassian.confluence.xwork.StrutsActionHelper
@ParametersAreNonnullByDefault
@Deprecated(forRemoval=true,
since="9.3")
public final class StrutsActionHelper
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Helper class for Struts actions.
- Since:
- 4.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic Method
getActionClassMethod
(Class<?> actionClass, @Nullable String methodName) Deprecated, for removal: This API element is subject to removal in a future version.static Method
getActionMethod
(Class<?> actionClass, @Nullable String methodName) Deprecated, for removal: This API element is subject to removal in a future version.Finds the action method on the action class.
-
Method Details
-
getActionMethod
public static Method getActionMethod(Class<?> actionClass, @Nullable String methodName) throws NoSuchMethodException Deprecated, for removal: This API element is subject to removal in a future version.Finds the action method on the action class. This method followed the logic found inActionConfig
without the need to instantiate the action class.- Parameters:
actionClass
- The struts action classmethodName
- the name of the action method- Returns:
- Method - the action method named
methodName
- Throws:
NoSuchMethodException
- if the method namedmethodName
cannot be found
-
getActionClassMethod
Deprecated, for removal: This API element is subject to removal in a future version.
-
MappedAction
instead.