Package com.atlassian.confluence.xwork
Class StrutsActionHelper
- java.lang.Object
-
- com.atlassian.confluence.xwork.StrutsActionHelper
-
@ParametersAreNonnullByDefault public final class StrutsActionHelper extends Object
Helper class for Struts actions.- Since:
- 4.2
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MethodgetActionMethod(Class<?> actionClass, @Nullable String methodName)Finds the action method on the action class.
-
-
-
Method Detail
-
getActionMethod
public static Method getActionMethod(Class<?> actionClass, @Nullable String methodName) throws NoSuchMethodException
Finds the action method on the action class. This method followed the logic found inActionConfigwithout 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 namedmethodNamecannot be found
-
-