| javax.servlet.http.HttpServlet org.gomba.TransactorAbstractServlet
All known Subclasses: org.gomba.MultiServlet, org.gomba.AbstractServlet,
TransactorAbstractServlet | abstract public class TransactorAbstractServlet extends HttpServlet (Code) | | Base class for servlets that support RESTful transactions.
Context params:
- org.gomba.transactionURI
- Expression that evaluates to a transaction identifier or to
null if the current request is not bound to a transaction.
This context-param is a shortcut to globally configure all
TransactorAbstractServlet .
Init params:
- transaction-uri
- Expression that evaluates to a transaction identifier or to
null if the current request is not bound to a transaction.
author: Flavio Tordini version: $Id: TransactorAbstractServlet.java,v 1.1 2004/11/26 17:52:58 version: flaviotordini Exp $ |
CONTEXT_PARAM_TRANSACTION_URI | final protected static String CONTEXT_PARAM_TRANSACTION_URI(Code) | | |
REQUEST_ATTRIBUTE_NAME_TRANSACTION | final protected static String REQUEST_ATTRIBUTE_NAME_TRANSACTION(Code) | | Name of the request attribute that holds a transaction generated by a
servlet (i.e. MultiServlet).
|
getTransaction | final protected Transaction getTransaction(ParameterResolver parameterResolver) throws ServletException(Code) | | Subclasses may call this method to retrieve the current Transaction.
Parameters: parameterResolver - A ParameterResolver resolver instance. A Transaction instance or null, if the current request is notpart of a transaction. |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|