code: public boolean actionSupportsHttpMethod(String actionMethodName, HttpMethod httpMethod) {
          if (restful()) {
              return restfulActionSupportsHttpMethod(actionMethodName, httpMethod) || standardActionSupportsHttpMethod(actionMethodName, httpMethod);
          } else {
              return standardActionSupportsHttpMethod(actionMethodName, httpMethod);
          }
      }
docs: Checks if the action supports an HTTP method, according to its configuration.
  
  @param actionMethodName name of action method.
  @param httpMethod http method
  @return true if supports, false if does not.