public class ServiceContainerRequestVariableResolver extends AbstractRequestVariableResolver
ServiceContainerRequest
. The implicit objects resolved by this class are that
ones resolved by PageWebResourceVariableResolver
and the following:
PortletSession
.
preferences
key to a single value.
preferences
key to an array
of values.
AbstractRequestVariableResolver.GetOnlyMap<K,V>
PortalVariableResolver.EnvironmentBean
Constructor and Description |
---|
ServiceContainerRequestVariableResolver(IServiceInterfaceRequest 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 Map<String,Object> |
getSessionScopeMap()
Returns the session scope map.
|
Object |
resolveVariable(String variableName) |
public ServiceContainerRequestVariableResolver(IServiceInterfaceRequest request)
request
- the request.public Object resolveVariable(String variableName) throws ELException
resolveVariable
in interface VariableResolver
resolveVariable
in class AbstractRequestVariableResolver
ELException
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 String getParameter(String string)
AbstractRequestVariableResolver
getParameter
in class AbstractRequestVariableResolver
string
- the parameter name.protected Object getParameterMap()
AbstractRequestVariableResolver
getParameterMap
in class AbstractRequestVariableResolver
protected Map<String,Object> getApplicationScopeMap()
AbstractRequestVariableResolver
getApplicationScopeMap
in class AbstractRequestVariableResolver
protected Map<String,Object> getInitParamMap()
AbstractRequestVariableResolver
getInitParamMap
in class AbstractRequestVariableResolver
protected Map<String,Object> getSessionScopeMap()
AbstractRequestVariableResolver
getSessionScopeMap
in class AbstractRequestVariableResolver
protected Enumeration getHeaders(String string)
AbstractRequestVariableResolver
getHeaders
in class AbstractRequestVariableResolver
string
- the header name.protected String getBusinessContextProperty(String key)
AbstractRequestVariableResolver
getBusinessContextProperty
in class AbstractRequestVariableResolver
key
- the property id.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.