title: Get CommonsRequestLoggingFilter content in Java code
body: <p>I want to implement CommonsRequestLoggingFilter into my application and get the request and response into Java code:</p>
  
  <pre><code>@Bean
  public CommonsRequestLoggingFilter requestLoggingFilter() {
      CommonsRequestLoggingFilter loggingFilter = new CommonsRequestLoggingFilter();
      loggingFilter.setIncludeClientInfo(true);
      loggingFilter.setIncludeQueryString(true);
      loggingFilter.setIncludePayload(true);
      loggingFilter.setIncludeHeaders(false);
      return loggingFilter;
  }
  </code></pre>
  
  <p>How I can get the payload into the Rest controller code? Example:</p>
  
  <pre><code>@RestController
  public class LoggingDemoController {
  
      @GetMapping("/demo/greeting")
      public String sayHello(){
  
          // Get here the payload from CommonsRequestLoggingFilter
  
          return "Hello Stranger !!!";
      }
  }
  </code></pre>
  
  <p>It this somehow possible?</p>