Class Action

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

public abstract class Action extends Object
Represents an action available to a servlet.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of this action.
    abstract void
    handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse res)
    Subclasses should implement this method to carry out a particular action
     

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • handle

      public abstract void handle(jakarta.servlet.http.HttpServletRequest request, jakarta.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