cyber.web.form
Class WebFormTransaction
java.lang.Object
|
+--cyber.web.form.WebFormTransaction
- public class WebFormTransaction
- extends Object
Holds the transactional context of the architecture. Usually this means a HTTP
request/response. States stored here is persistent only within a HTTP
request/response.
- Author:
- cying
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static WebFormTransaction getInstance(PageContext pageContext)
getInstance
public static WebFormTransaction getInstance(ServletRequest req1,
ServletResponse res1)
createInstance
public static WebFormTransaction createInstance()
getHttpSession
public HttpSession getHttpSession()
addTransactionHandler
public void addTransactionHandler(TransactionHandler value)
removeTransactionHandler
public void removeTransactionHandler(TransactionHandler value)
getMulticastTransactionHandler
public TransactionHandler getMulticastTransactionHandler()
getAttribute
public Object getAttribute(String name)
- Parameters:
name - - Returns:
-
getAttributeNames
public Iterator getAttributeNames()
- Returns:
-
removeAllAttributes
public void removeAllAttributes()
removeAttribute
public Object removeAttribute(String name)
- Parameters:
name - - Returns:
-
setAttribute
public void setAttribute(String name,
Object value)
- Parameters:
name - value -
handleThrowable
public void handleThrowable(Throwable throwable,
PageContext pageContext)
handleComplete
public void handleComplete()
handleFinally
public void handleFinally()
getServletContext
public ServletContext getServletContext()
getDecomposeQueue
public DecomposeQueue getDecomposeQueue()
getServletRequest
public HttpServletRequest getServletRequest()
- Returns:
-
getServletResponse
public HttpServletResponse getServletResponse()
- Returns:
-
Copyright 2000-2002 Apache Software Foundation.