java.lang.Objectjava.util.AbstractMap
java.util.HashMap
org.apache.commons.chain.impl.ContextBase
org.apache.commons.chain.web.WebContext
org.apache.commons.chain.web.servlet.ServletWebContext
All Implemented Interfaces:
Context, Map, Serializable, Cloneable
Concrete implementation of WebContext suitable for use in Servlets and JSP pages. The abstract methods are mapped to the appropriate collections of the underlying servlet context, request, and response instances that are passed to the constructor (or the initialize method).
Craig
- R. McClanahan$
- Revision: 480477 $ $Date: 2006-11-29 08:34:52 +0000 (Wed, 29 Nov 2006) $Field Summary | ||
---|---|---|
protected ServletContext | context | The |
protected HttpServletRequest | request | The |
protected HttpServletResponse | response | The |
Constructor: |
---|
Construct an uninitialized ServletWebContext instance. |
Construct a ServletWebContext instance that is initialized with the specified Servlet API objects.
|
Method from org.apache.commons.chain.web.servlet.ServletWebContext Summary: |
---|
getApplicationScope, getContext, getCookies, getHeader, getHeaderValues, getInitParam, getParam, getParamValues, getRequest, getRequestScope, getResponse, getSessionScope, initialize, release |
Methods from org.apache.commons.chain.web.WebContext: |
---|
getApplicationScope, getCookies, getHeader, getHeaderValues, getInitParam, getParam, getParamValues, getRequestScope, getSessionScope |
Methods from org.apache.commons.chain.impl.ContextBase: |
---|
clear, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, values |
Methods from java.util.HashMap: |
---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods from java.util.AbstractMap: |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values |
Methods from java.lang.Object: |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from org.apache.commons.chain.web.servlet.ServletWebContext Detail: |
---|
|
Return the ServletContext for this context. |
|
|
|
|
|
|
Return the HttpServletRequest for this context. |
|
Return the HttpServletResponse for this context. |
|
Initialize (or reinitialize) this ServletWebContext instance for the specified Servlet API objects. |
Release references to allocated resources acquired in
|