title: How are Spring HandlerInterceptors instantiated?
body: <p>Is there a new instance of Spring HandlerInterceptors for each request?</p>
  
  <p>I have an interceptor in Spring, which has a class field.</p>
  
  <pre><code>public class MyInterceptor extends HandlerInterceptorAdapter {
      Private boolean state = false;
  
      @Override
      public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
          state = true;
          return true;
      }
  
      @Override
      public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) {
          if (state == true) {
          System.out.println("Success");
          }
  }
  </code></pre>
  
  <p>If this interceptor is used will it always print "Success"? (No matter how many threads are doing this at the same time?)</p>