org.eclipse.higgins.rp
Interface DispatchCallback


public interface DispatchCallback

This is the abstraction of the RequestDispatcher from J2EE Servlets


Method Summary
 void forward(String targetLocation)
          Method to forward the handling of the request to the new local targetLocation
 void redirect(String externalLocation)
          Method to redirect user to an external location.
 

Method Detail

forward

public void forward(String targetLocation)
Method to forward the handling of the request to the new local targetLocation

Parameters:
targetLocation - Local location to dispatch request to

redirect

public void redirect(String externalLocation)
Method to redirect user to an external location. This could implement the above also but non-optimally

Parameters:
externalLocation - external location of redirect