@PublicApi
public interface RequestMethodChecker
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.
|
RequestMethodCheckResult checkActionInvocation(@Nonnull webwork.action.Action action, @Nonnull String requestMethod)
SupportedMethods
.
For "commands" with missing SupportedMethods
checker assume
that "command" can be invoked only with POST method.action
- the ActionSupport
in play. Cannot be null.requestMethod
- request method action was called withinCopyright © 2002-2024 Atlassian. All Rights Reserved.