Module jakarta.servlet.jsp
Package jakarta.servlet.jsp.el
Class ImplicitObjectELResolver.ImplicitObjects
java.lang.Object
jakarta.servlet.jsp.el.ImplicitObjectELResolver.ImplicitObjects
- Enclosing class:
ImplicitObjectELResolver
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.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) PageContext
(package private) static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateApplicationScopeMap
(PageContext pContext) Creates the Map that "wraps" application-scoped attributescreateCookieMap
(PageContext pContext) Creates the Map that maps cookie name to the first matching Cookie in request.getCookies().createHeaderMap
(PageContext pContext) Creates the Map that maps header name to single header value.createHeadersMap
(PageContext pContext) Creates the Map that maps header name to an array of header values.createInitParamMap
(PageContext pContext) Creates the Map that maps init parameter name to single init parameter value.createPageScopeMap
(PageContext pContext) Creates the Map that "wraps" page-scoped attributescreateParamMap
(PageContext pContext) Creates the Map that maps parameter name to single parameter value.createParamsMap
(PageContext pContext) Creates the Map that maps parameter name to an array of parameter values.createRequestScopeMap
(PageContext pContext) Creates the Map that "wraps" request-scoped attributescreateSessionScopeMap
(PageContext pContext) Creates the Map that "wraps" session-scoped attributesgetImplicitObjects
(PageContext pContext)
-
Field Details
-
sAttributeName
- See Also:
-
mContext
PageContext mContext -
mPage
-
mRequest
-
mSession
-
mApplication
-
mParam
-
mParams
-
mHeader
-
mHeaders
-
mInitParam
-
mCookie
-
-
Constructor Details
-
ImplicitObjects
Constructor- Parameters:
pContext
- The PageContext for which this instance is to be constructed
-
-
Method Details
-
getImplicitObjects
- Parameters:
pContext
- The PageContext for which the ImplicitObjects instance is required- Returns:
- 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- Parameters:
pContext
- The PageContext for which the Map should be produced- Returns:
- the Map that "wraps" page-scoped attributes
-
createRequestScopeMap
Creates the Map that "wraps" request-scoped attributes- Parameters:
pContext
- The PageContext for which the Map should be produced- Returns:
- the Map that "wraps" request-scoped attributes
-
createSessionScopeMap
Creates the Map that "wraps" session-scoped attributes- Parameters:
pContext
- The PageContext for which the Map should be produced- Returns:
- the Map that "wraps" session-scoped attributes
-
createApplicationScopeMap
Creates the Map that "wraps" application-scoped attributes- Parameters:
pContext
- The PageContext for which the Map should be produced- Returns:
- the Map that "wraps" application-scoped attributes
-
createParamMap
Creates the Map that maps parameter name to single parameter value.- Parameters:
pContext
- The PageContext for which the Map should be produced- Returns:
- the Map that maps parameter name to single parameter value
-
createParamsMap
Creates the Map that maps parameter name to an array of parameter values.- Parameters:
pContext
- The PageContext for which the Map should be produced- Returns:
- the Map that maps parameter name to an array of parameter values.
-
createHeaderMap
Creates the Map that maps header name to single header value.- Parameters:
pContext
- The PageContext for which the Map should be produced- Returns:
- the Map that maps header name to single header value
-
createHeadersMap
Creates the Map that maps header name to an array of header values.- Parameters:
pContext
- The PageContext for which the Map should be produced- Returns:
- 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.- Parameters:
pContext
- The PageContext for which the Map should be produced- Returns:
- 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().- Parameters:
pContext
- The PageContext for which the Map should be produced- Returns:
- the Map that maps cookie name to the first matching Cookie in request.getCookies().
-