code: private String getHttpMethod(final HttpServletRequest request) {
          String ret = (String) request.getAttribute(Keys.HttpRequest.REQUEST_METHOD);
          if (StringUtils.isBlank(ret)) {
              ret = request.getMethod();
          }
  
          return ret;
      }
docs: Gets the HTTP method.
  
  @param request the specified request
  @return HTTP method