pt.despodata.java.webappl.actions
Class ActionRouter

java.lang.Object
  extended bypt.despodata.java.webappl.actions.ActionRouter

public class ActionRouter
extends java.lang.Object

ActionRouter.java Company MoreData

Version:
$Revision: 1.1.1.1 $
Author:
psfbc

Constructor Summary
ActionRouter(java.lang.String url)
          Creates a new instance of ActionRouter.
ActionRouter(java.lang.String url, boolean isForward)
          Creates a new instance of ActionRouter.
 
Method Summary
 java.lang.String getUrl()
          Getter for property url.
 void route(javax.servlet.GenericServlet servlet, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method is called by the action servlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionRouter

public ActionRouter(java.lang.String url)
Creates a new instance of ActionRouter. Forward by default


ActionRouter

public ActionRouter(java.lang.String url,
                    boolean isForward)
Creates a new instance of ActionRouter.

Method Detail

route

public void route(javax.servlet.GenericServlet servlet,
                  javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
This method is called by the action servlet

Throws:
javax.servlet.ServletException
java.io.IOException

getUrl

public java.lang.String getUrl()
Getter for property url.

Returns:
Value of property url.