fc.web.servlet
Class Action

java.lang.Object
  extended by fc.web.servlet.Action

public abstract class Action
extends Object

Represents an action available to a servlet.


Method Summary
 String getName()
          Returns the name of this action.
abstract  void handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res)
          Subclasses should implement this method to carry out a particular action
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

handle

public abstract void handle(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse res)
                     throws Exception
Subclasses should implement this method to carry out a particular action

Throws:
Exception

getName

public String getName()
Returns the name of this action.


toString

public String toString()
Overrides:
toString in class Object