title: Reactive Spring does not support HttpServletRequest as parameter in REST endpoint?
body: <p>I created a RestController which look like this : </p>
  
  <pre><code>@RestController
  public class GreetingController {
  
      @RequestMapping(value = "/greetings", method = RequestMethod.GET)
      public Mono&lt;Greeting&gt; greeting(HttpServletRequest request) {
  
          return Mono.just(new Greeting("Hello..." + request.toString()));
      }
  }
  </code></pre>
  
  <p>Unfortunately when I try to hit the "greetings" endpoint I get an exception :</p>
  
  <blockquote>
    <p>java.lang.IllegalStateException: No resolver for argument [0] of type
    [org.apache.catalina.servlet4preview.http.HttpServletRequest]</p>
  </blockquote>
  
  <p>I am using </p>
  
  <blockquote>
  <pre><code>compile('org.springframework.boot.experimental:spring-boot-starter-web-reactive')
  </code></pre>
  </blockquote>
  
  <p>How to fix this ?</p>
  
  <p><a href="http://pastebin.com/heybvCeK" rel="noreferrer">Link</a> to full stack-trace. <a href="http://pastebin.com/U9t60NUw" rel="noreferrer">Link</a> to build.gradle</p>
  
  <p><strong>----------EDIT----------</strong></p>
  
  <p>Using the interface. Now getting : </p>
  
  <blockquote>
    <p>java.lang.IllegalStateException: No resolver for argument [0] of type
    [javax.servlet.http.HttpServletRequest] on method (rest is same)</p>
  </blockquote>