tomp.ext.servlet
Class ServletAction

java.lang.Object
  |
  +--tomp.ext.Action
        |
        +--tomp.ext.servlet.ServletAction
Direct Known Subclasses:
RequestAction, StartApplicationAction, StartSessionAction

public abstract class ServletAction
extends Action

Class ServletAction is an abstract extension of the basic abstract Action.
It provides some more services than the Action, namely access to object available in a servlet (if they are available):

The workflow is organized so that if a requested object is not available in this Action, the request is forwarded to the previous ServletAction (if there is any).


Field Summary
 
Fields inherited from class tomp.ext.Action
ACTION, application, previous, result
 
Constructor Summary
protected ServletAction(ServletAction prev)
           
protected ServletAction(ServletApplication app)
           
 
Method Summary
 ServletAction getPreviousServletAction()
           
 javax.servlet.http.HttpServletRequest getRequest()
           
 javax.servlet.http.HttpServletResponse getResponse()
           
 ServletApplication getServletApplication()
           
 javax.servlet.ServletConfig getServletConfig()
           
 javax.servlet.ServletContext getServletContext()
           
 javax.servlet.http.HttpSession getSession()
           
 
Methods inherited from class tomp.ext.Action
event2tree, execute, get, getApplication, getHere, getPreviousAction, hasParameter, id, init, isERROR, isOK, put, result, setParameter, setResult, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletAction

protected ServletAction(ServletApplication app)

ServletAction

protected ServletAction(ServletAction prev)
Method Detail

getServletApplication

public ServletApplication getServletApplication()

getPreviousServletAction

public ServletAction getPreviousServletAction()

getServletContext

public javax.servlet.ServletContext getServletContext()

getServletConfig

public javax.servlet.ServletConfig getServletConfig()

getSession

public javax.servlet.http.HttpSession getSession()

getRequest

public javax.servlet.http.HttpServletRequest getRequest()

getResponse

public javax.servlet.http.HttpServletResponse getResponse()