title: Spring Boot Adding Http Request Interceptors
body: <p>What is the right way to add HttpRequest interceptors in spring boot application? What I want to do is log requests and responses for every http request.</p>
  
  <p>Spring boot documentation does not cover this topic at all. (<a href="http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/">http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/</a>)</p>
  
  <p>I found some web samples on how to do the same with older versions of spring, but those work with applicationcontext.xml. Please help.</p>