org.locomotive.loco.servlet
Class LocoRequestDispatcher

java.lang.Object
  |
  +--org.locomotive.loco.servlet.LocoRequestDispatcher

public class LocoRequestDispatcher
extends java.lang.Object
implements javax.servlet.RequestDispatcher

Performs all the required functions for forwarding or including a request for the present request


Method Summary
 void forward(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp)
          This will reset the necessary variables in request, then forward the existing request to another service.
 void include(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp)
          This will include the contents of the servlet which is invoked to be included in the parent servlet's response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forward

public void forward(javax.servlet.ServletRequest req,
                    javax.servlet.ServletResponse resp)
             throws java.io.IOException,
                    javax.servlet.ServletException
This will reset the necessary variables in request, then forward the existing request to another service.
Specified by:
forward in interface javax.servlet.RequestDispatcher

include

public void include(javax.servlet.ServletRequest req,
                    javax.servlet.ServletResponse resp)
             throws java.io.IOException,
                    javax.servlet.ServletException
This will include the contents of the servlet which is invoked to be included in the parent servlet's response.
Specified by:
include in interface javax.servlet.RequestDispatcher