public class ImplicitObjects
extends java.lang.Object
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.
Constructor and Description |
---|
ImplicitObjects(PageContext pContext)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map |
createApplicationScopeMap(PageContext pContext)
Creates the Map that "wraps" application-scoped attributes
|
static java.util.Map |
createCookieMap(PageContext pContext)
Creates the Map that maps cookie name to the first matching
Cookie in request.getCookies().
|
static java.util.Map |
createHeaderMap(PageContext pContext)
Creates the Map that maps header name to single header
value.
|
static java.util.Map |
createHeadersMap(PageContext pContext)
Creates the Map that maps header name to an array of header
values.
|
static java.util.Map |
createInitParamMap(PageContext pContext)
Creates the Map that maps init parameter name to single init
parameter value.
|
static java.util.Map |
createPageScopeMap(PageContext pContext)
Creates the Map that "wraps" page-scoped attributes
|
static java.util.Map |
createParamMap(PageContext pContext)
Creates the Map that maps parameter name to single parameter
value.
|
static java.util.Map |
createParamsMap(PageContext pContext)
Creates the Map that maps parameter name to an array of parameter
values.
|
static java.util.Map |
createRequestScopeMap(PageContext pContext)
Creates the Map that "wraps" request-scoped attributes
|
static java.util.Map |
createSessionScopeMap(PageContext pContext)
Creates the Map that "wraps" session-scoped attributes
|
java.util.Map |
getApplicationScopeMap()
Returns the Map that "wraps" application-scoped attributes
|
java.util.Map |
getCookieMap()
Returns the Map that maps cookie name to the first matching
Cookie in request.getCookies().
|
java.util.Map |
getHeaderMap()
Returns the Map that maps header name to a single header
values.
|
java.util.Map |
getHeadersMap()
Returns the Map that maps header name to an array of header
values.
|
static ImplicitObjects |
getImplicitObjects(PageContext pContext)
Finds the ImplicitObjects associated with the PageContext,
creating it if it doesn't yet exist.
|
java.util.Map |
getInitParamMap()
Returns the Map that maps init parameter name to a single init
parameter values.
|
java.util.Map |
getPageScopeMap()
Returns the Map that "wraps" page-scoped attributes
|
java.util.Map |
getParamMap()
Returns the Map that maps parameter name to a single parameter
values.
|
java.util.Map |
getParamsMap()
Returns the Map that maps parameter name to an array of parameter
values.
|
java.util.Map |
getRequestScopeMap()
Returns the Map that "wraps" request-scoped attributes
|
java.util.Map |
getSessionScopeMap()
Returns the Map that "wraps" session-scoped attributes
|
public ImplicitObjects(PageContext pContext)
public static ImplicitObjects getImplicitObjects(PageContext pContext)
public java.util.Map getPageScopeMap()
public java.util.Map getRequestScopeMap()
public java.util.Map getSessionScopeMap()
public java.util.Map getApplicationScopeMap()
public java.util.Map getParamMap()
public java.util.Map getParamsMap()
public java.util.Map getHeaderMap()
public java.util.Map getHeadersMap()
public java.util.Map getInitParamMap()
public java.util.Map getCookieMap()
public static java.util.Map createPageScopeMap(PageContext pContext)
public static java.util.Map createRequestScopeMap(PageContext pContext)
public static java.util.Map createSessionScopeMap(PageContext pContext)
public static java.util.Map createApplicationScopeMap(PageContext pContext)
public static java.util.Map createParamMap(PageContext pContext)
public static java.util.Map createParamsMap(PageContext pContext)
public static java.util.Map createHeaderMap(PageContext pContext)
public static java.util.Map createHeadersMap(PageContext pContext)
public static java.util.Map createInitParamMap(PageContext pContext)
public static java.util.Map createCookieMap(PageContext pContext)