title: Fire off an internal ServletRequest in Tomcat
body: <p>I am using Quartz to schedule background tasks for a web application. Some of these tasks just fire off requests against the same web application.</p>
  
  <p>I want to avoid depending on any kind of network settings (for example a request with my own domain name might not be routed properly if made from within the data center). Is there a Java API to fire off a ServletRequest and have it handled by Tomcat internally (without any actual HTTP involved)?</p>
  
  <p>I still want to wrap the work into a Servlet request rather than calling the Java code for the background tasks directly, so that I can go back to regular HTTP request as a configuration option.</p>
  
  <p>Tomcat-specific code is acceptable.</p>