public interface HttpMethodAware
HttpMethodInterceptor
Another function of this interface is to return result, which should be returned when action
was called with wrong http methodHttpMethodInterceptor
Modifier and Type | Method and Description |
---|---|
String |
getBadRequestResultName()
Action name to use when action was requested with wrong http method
can return null and then default result name will be used instead defined
in
HttpMethodInterceptor |
void |
setMethod(HttpMethod httpMethod)
Notifies action about http method used to perform request
|
void setMethod(HttpMethod httpMethod)
httpMethod
- HttpServletRequest.getMethod()
translated to enumString getBadRequestResultName()
HttpMethodInterceptor
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.