public class DefaultRequestMethodChecker extends ActionInvocationCheckerBase implements RequestMethodChecker
| Constructor and Description |
|---|
DefaultRequestMethodChecker() |
| Modifier and Type | Method and Description |
|---|---|
RequestMethodCheckResult |
checkActionInvocation(webwork.action.Action action,
String requestMethod)
Checks that the action about to be executed has been invoked within the correct request method.
|
getMethod, getMethodNamepublic RequestMethodCheckResult checkActionInvocation(@Nonnull webwork.action.Action action, @Nonnull String requestMethod)
RequestMethodCheckerSupportedMethods.
For "commands" with missing SupportedMethods checker assume
that "command" can be invoked only with POST method.checkActionInvocation in interface RequestMethodCheckeraction - the ActionSupport in play. Cannot be null.requestMethod - request method action was called withinCopyright © 2002-2023 Atlassian. All Rights Reserved.