net.sf.morph.context.contexts
Class JspContext
java.lang.Object
net.sf.morph.context.contexts.BaseContext
net.sf.morph.context.contexts.BaseHierarchicalContext
net.sf.morph.context.contexts.ReflectorHierarchicalContext
net.sf.morph.context.contexts.JspContext
- All Implemented Interfaces:
- java.util.Map, Context, DecoratedContext, DelegatingContext, HierarchicalContext
public class JspContext
- extends ReflectorHierarchicalContext
Context for JSP pages that evaluates page context attributes, request
parameters, request attributes, session attributes, and application
attributes, in that order. Exposing request parameters in this manner is
somewhat unusual, so
HttpServletContext.setReflectingRequestParameters(boolean)
can be
called to turn this behavior off.
This class is not threadsafe, but since usually only a single
thread is accessing a request at any given time, this should be OK.
- Since:
- Dec 4, 2004
- Author:
- Matt Sgarlata
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Methods inherited from class net.sf.morph.context.contexts.BaseContext |
clear, containsKey, containsValue, entrySet, get, get, get, get, get, getContextMapBridge, getConverter, getLanguage, getLog, getPropertyNames, isEmpty, keySet, put, putAll, remove, set, set, setContextMapBridge, setConverter, setLanguage, setLog, size, values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
JspContext
public JspContext()
JspContext
public JspContext(javax.servlet.jsp.PageContext pageContext)
getPageContext
public javax.servlet.jsp.PageContext getPageContext()
- Returns:
- Returns the pageContext.
setPageContext
public void setPageContext(javax.servlet.jsp.PageContext pageContext)
- Parameters:
pageContext
- The pageContext to set.
isReflectingRequestParameters
public boolean isReflectingRequestParameters()
setReflectingRequestParameters
public void setReflectingRequestParameters(boolean reflectingRequestParameters)
Copyright © 2004-2008.