Package org.apache.commons.el
Class ImplicitObjects
java.lang.Object
org.apache.commons.el.ImplicitObjects
This class is used to generate the implicit Map and List objects that wrap various elements of the PageContext. It also returns the correct implicit object for a given implicit object name.
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $
- Author:
- Nathan Abramson - Art Technology Group
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Map
(package private) javax.servlet.jsp.PageContext
(package private) Map
(package private) Map
(package private) Map
(package private) Map
(package private) Map
(package private) Map
(package private) Map
(package private) Map
(package private) Map
(package private) static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map
createApplicationScopeMap
(javax.servlet.jsp.PageContext pContext) Creates the Map that "wraps" application-scoped attributesstatic Map
createCookieMap
(javax.servlet.jsp.PageContext pContext) Creates the Map that maps cookie name to the first matching Cookie in request.getCookies().static Map
createHeaderMap
(javax.servlet.jsp.PageContext pContext) Creates the Map that maps header name to single header value.static Map
createHeadersMap
(javax.servlet.jsp.PageContext pContext) Creates the Map that maps header name to an array of header values.static Map
createInitParamMap
(javax.servlet.jsp.PageContext pContext) Creates the Map that maps init parameter name to single init parameter value.static Map
createPageScopeMap
(javax.servlet.jsp.PageContext pContext) Creates the Map that "wraps" page-scoped attributesstatic Map
createParamMap
(javax.servlet.jsp.PageContext pContext) Creates the Map that maps parameter name to single parameter value.static Map
createParamsMap
(javax.servlet.jsp.PageContext pContext) Creates the Map that maps parameter name to an array of parameter values.static Map
createRequestScopeMap
(javax.servlet.jsp.PageContext pContext) Creates the Map that "wraps" request-scoped attributesstatic Map
createSessionScopeMap
(javax.servlet.jsp.PageContext pContext) Creates the Map that "wraps" session-scoped attributesReturns the Map that "wraps" application-scoped attributesReturns the Map that maps cookie name to the first matching Cookie in request.getCookies().Returns the Map that maps header name to a single header values.Returns the Map that maps header name to an array of header values.static ImplicitObjects
getImplicitObjects
(javax.servlet.jsp.PageContext pContext) Finds the ImplicitObjects associated with the PageContext, creating it if it doesn't yet exist.Returns the Map that maps init parameter name to a single init parameter values.Returns the Map that "wraps" page-scoped attributesReturns the Map that maps parameter name to a single parameter values.Returns the Map that maps parameter name to an array of parameter values.Returns the Map that "wraps" request-scoped attributesReturns the Map that "wraps" session-scoped attributes
-
Field Details
-
Constructor Details
-
ImplicitObjects
public ImplicitObjects(javax.servlet.jsp.PageContext pContext) Constructor
-
-
Method Details
-
getImplicitObjects
Finds the ImplicitObjects associated with the PageContext, creating it if it doesn't yet exist. -
getPageScopeMap
Returns the Map that "wraps" page-scoped attributes -
getRequestScopeMap
Returns the Map that "wraps" request-scoped attributes -
getSessionScopeMap
Returns the Map that "wraps" session-scoped attributes -
getApplicationScopeMap
Returns the Map that "wraps" application-scoped attributes -
getParamMap
Returns the Map that maps parameter name to a single parameter values. -
getParamsMap
Returns the Map that maps parameter name to an array of parameter values. -
getHeaderMap
Returns the Map that maps header name to a single header values. -
getHeadersMap
Returns the Map that maps header name to an array of header values. -
getInitParamMap
Returns the Map that maps init parameter name to a single init parameter values. -
getCookieMap
Returns the Map that maps cookie name to the first matching Cookie in request.getCookies(). -
createPageScopeMap
Creates the Map that "wraps" page-scoped attributes -
createRequestScopeMap
Creates the Map that "wraps" request-scoped attributes -
createSessionScopeMap
Creates the Map that "wraps" session-scoped attributes -
createApplicationScopeMap
Creates the Map that "wraps" application-scoped attributes -
createParamMap
Creates the Map that maps parameter name to single parameter value. -
createParamsMap
Creates the Map that maps parameter name to an array of parameter values. -
createHeaderMap
Creates the Map that maps header name to single header value. -
createHeadersMap
Creates the Map that maps header name to an array of header values. -
createInitParamMap
Creates the Map that maps init parameter name to single init parameter value. -
createCookieMap
Creates the Map that maps cookie name to the first matching Cookie in request.getCookies().
-