Interface HttpMethodAware
public interface HttpMethodAware
Action when implements this interface is notified about what method was used to perform request,
 it works in connection with 
HttpMethodInterceptor
 Another function of this interface is to return result, which should be returned when action
 was called with wrong http method- Since:
- 6.2.0
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionAction name to use when action was requested with wrong http method can return null and then default result name will be used instead defined inHttpMethodInterceptorvoidsetMethod(HttpMethod httpMethod) Notifies action about http method used to perform request
- 
Method Details- 
setMethodNotifies action about http method used to perform request- Parameters:
- httpMethod-- HttpServletRequest.getMethod()translated to enum
 
- 
getBadRequestResultNameString 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 inHttpMethodInterceptor- Returns:
- result name or null
 
 
-