public abstract class Action extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of this action.
|
abstract void |
handle(HttpServletRequest request,
HttpServletResponse res)
Subclasses should implement this method to carry out a particular
action
|
java.lang.String |
toString() |
public abstract void handle(HttpServletRequest request, HttpServletResponse res) throws java.lang.Exception
java.lang.Exception
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object