lumis.portal.el
Class HttpServletRequestVariableResolver
java.lang.Object
lumis.portal.el.HttpServletRequestVariableResolver
- All Implemented Interfaces:
- VariableResolver
public class HttpServletRequestVariableResolver
- extends Object
- implements VariableResolver
Resolves variables based on a HttpServletRequest
. The implicit
objects resolved by this class are:
- param: Maps a request parameter name to a single value.
- paramValues: Maps a request parameter name to an array of values.
- header: Maps a request header name to a single value.
- headerValues: Maps a request header name to an array of values.
- cookie: Maps a cookie name to a single cookie.
- initParam: Maps a context initialization parameter name to a single value.
- requestScope: Maps request-scoped variable names to their values.
- sessionScope: Maps session-scoped variable names to their values.
Corresponds to the application scope of the
PortletSession
.
- applicationScope: Maps application-scoped variable names to their values.
- Since:
- 5.6.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServletRequestVariableResolver
public HttpServletRequestVariableResolver(HttpServletRequest request)
- Creates a new variable resolver based on the given request.
- Parameters:
request
- the request.- Since:
- 5.6.0
resolveVariable
public Object resolveVariable(String variableName)
throws ELException
- Specified by:
resolveVariable
in interface VariableResolver
- Throws:
ELException
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.