public class HttpServletRequestVariableResolver extends AbstractRequestVariableResolver
HttpServletRequest
. The implicit
objects resolved by this class are:
PortletSession
.
AbstractRequestVariableResolver.GetOnlyMap<K,V>
PortalVariableResolver.EnvironmentBean
Constructor and Description |
---|
HttpServletRequestVariableResolver(HttpServletRequest request)
Creates a new variable resolver based on the given request.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
getApplicationScopeMap()
Returns the application scope map.
|
protected Object |
getAttribute(String string)
Returns the attribute with the given name.
|
protected String |
getBusinessContextProperty(String key)
Returns the value with the given property id.
|
protected Cookie[] |
getCookies()
Returns the cookies.
|
protected String |
getHeader(String string)
Returns the header with the given name.
|
protected Enumeration |
getHeaders(String string)
Returns the headers with the given name.
|
protected Map<String,Object> |
getInitParamMap()
Returns the init parameters.
|
protected String |
getParameter(String string)
Returns the parameter with the given name.
|
protected Object |
getParameterMap()
Returns the parameter map.
|
protected HttpSession |
getSession() |
protected HttpSession |
getSession(boolean b) |
protected Map<String,Object> |
getSessionScopeMap()
Returns the session scope map.
|
resolveVariable
public HttpServletRequestVariableResolver(HttpServletRequest request)
request
- the request.protected Object getAttribute(String string)
AbstractRequestVariableResolver
getAttribute
in class AbstractRequestVariableResolver
string
- the attribute name.protected Cookie[] getCookies()
AbstractRequestVariableResolver
getCookies
in class AbstractRequestVariableResolver
protected String getHeader(String string)
AbstractRequestVariableResolver
getHeader
in class AbstractRequestVariableResolver
protected Enumeration getHeaders(String string)
AbstractRequestVariableResolver
getHeaders
in class AbstractRequestVariableResolver
string
- the header name.protected String getParameter(String string)
AbstractRequestVariableResolver
getParameter
in class AbstractRequestVariableResolver
string
- the parameter name.protected Object getParameterMap()
AbstractRequestVariableResolver
getParameterMap
in class AbstractRequestVariableResolver
protected HttpSession getSession()
protected HttpSession getSession(boolean b)
protected Map<String,Object> getSessionScopeMap()
AbstractRequestVariableResolver
getSessionScopeMap
in class AbstractRequestVariableResolver
protected Map<String,Object> getApplicationScopeMap()
AbstractRequestVariableResolver
getApplicationScopeMap
in class AbstractRequestVariableResolver
protected Map<String,Object> getInitParamMap()
AbstractRequestVariableResolver
getInitParamMap
in class AbstractRequestVariableResolver
protected String getBusinessContextProperty(String key)
AbstractRequestVariableResolver
getBusinessContextProperty
in class AbstractRequestVariableResolver
key
- the property id.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.