code: protected HttpServletRequest getCurrentRequest() {
          final HttpServletRequest request = httpService.getCurrentRequest();
          if (request == null) {
              throw new IllegalStateException("No HttpServletRequest bound to current thread");
          }
          return request;
      }
docs: Returns the HTTP request bound to the current thread.