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):
- previous ServletAction (if there is any)
- ServletConfig
- ServletContext
- HttpSession
- HttpServletRequest
- HttpServletResponse
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).
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 |
ServletAction
protected ServletAction(ServletApplication app)
ServletAction
protected ServletAction(ServletAction prev)
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()