|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.faces.FacesWebContext
public class FacesWebContext
Concrete implementation of WebContext suitable for use in
JavaServer Faces apps. The abstract methods are mapped to the appropriate
collections of the underlying FacesContext instance
that is passed to the constructor (or the initialize method).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.AbstractMap |
|---|
AbstractMap.SimpleEntry, AbstractMap.SimpleImmutableEntry |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry |
| Constructor Summary | |
|---|---|
FacesWebContext()
Construct an uninitialized FacesWebContext instance. |
|
FacesWebContext(javax.faces.context.FacesContext context)
Construct a FacesWebContext instance that is initialized
with the specified JavaServer Faces API objects. |
|
| Method Summary | |
|---|---|
Map |
getApplicationScope()
See the WebContext's Javadoc. |
javax.faces.context.FacesContext |
getContext()
Return the FacesContext instance for the request
associated with this FacesWebContext. |
Map |
getCookies()
See the WebContext's Javadoc. |
Map |
getHeader()
See the WebContext's Javadoc. |
Map |
getHeaderValues()
See the WebContext's Javadoc. |
Map |
getInitParam()
See the WebContext's Javadoc. |
Map |
getParam()
See the WebContext's Javadoc. |
Map |
getParamValues()
See the WebContext's Javadoc. |
Map |
getRequestScope()
See the WebContext's Javadoc. |
Map |
getSessionScope()
See the WebContext's Javadoc. |
void |
initialize(javax.faces.context.FacesContext context)
Initialize (or reinitialize) this FacesWebContext instance
for the specified JavaServer Faces API objects. |
void |
release()
Release references to allocated resources acquired in initialize() of via subsequent processing. |
| Methods inherited from class org.apache.commons.chain.impl.ContextBase |
|---|
clear, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, values |
| Methods inherited from class java.util.HashMap |
|---|
clone, containsKey, size |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
containsKey, equals, hashCode, size |
| Constructor Detail |
|---|
public FacesWebContext()
Construct an uninitialized FacesWebContext instance.
public FacesWebContext(javax.faces.context.FacesContext context)
Construct a FacesWebContext instance that is initialized
with the specified JavaServer Faces API objects.
context - The FacesContext for this request| Method Detail |
|---|
public javax.faces.context.FacesContext getContext()
Return the FacesContext instance for the request
associated with this FacesWebContext.
FacesContext for this requestpublic void initialize(javax.faces.context.FacesContext context)
Initialize (or reinitialize) this FacesWebContext instance
for the specified JavaServer Faces API objects.
context - The FacesContext for this requestpublic void release()
Release references to allocated resources acquired in
initialize() of via subsequent processing. After this
method is called, subsequent calls to any other method than
initialize() will return undefined results.
public Map getApplicationScope()
WebContext's Javadoc.
getApplicationScope in class WebContextpublic Map getHeader()
WebContext's Javadoc.
getHeader in class WebContextpublic Map getHeaderValues()
WebContext's Javadoc.
getHeaderValues in class WebContextpublic Map getInitParam()
WebContext's Javadoc.
getInitParam in class WebContextpublic Map getParam()
WebContext's Javadoc.
getParam in class WebContextpublic Map getParamValues()
WebContext's Javadoc.
getParamValues in class WebContextpublic Map getCookies()
WebContext's Javadoc.
getCookies in class WebContextpublic Map getRequestScope()
WebContext's Javadoc.
getRequestScope in class WebContextpublic Map getSessionScope()
WebContext's Javadoc.
getSessionScope in class WebContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||