lumis.portal.el
Class HttpServletRequestVariableResolver

Package class diagram package HttpServletRequestVariableResolver
java.lang.Object
  extended by lumis.portal.el.AbstractRequestVariableResolver
      extended by lumis.portal.el.HttpServletRequestVariableResolver
All Implemented Interfaces:
VariableResolver
Direct Known Subclasses:
BusinessContextVariableResolver

public class HttpServletRequestVariableResolver
extends AbstractRequestVariableResolver

Resolves variables based on a HttpServletRequest. The implicit objects resolved by this class are:

Since:
5.6.0

Nested Class Summary
 
Nested classes/interfaces inherited from class lumis.portal.el.AbstractRequestVariableResolver
AbstractRequestVariableResolver.GetOnlyMap<K,V>
 
Constructor Summary
HttpServletRequestVariableResolver(HttpServletRequest request)
          Creates a new variable resolver based on the given request.
 
Method Summary
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.
 
Methods inherited from class lumis.portal.el.AbstractRequestVariableResolver
resolveVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServletRequestVariableResolver

public HttpServletRequestVariableResolver(HttpServletRequest request)
Creates a new variable resolver based on the given request.

Parameters:
request - the request.
Since:
5.6.0
Method Detail

getAttribute

protected Object getAttribute(String string)
Description copied from class: AbstractRequestVariableResolver
Returns the attribute with the given name.

Specified by:
getAttribute in class AbstractRequestVariableResolver
Parameters:
string - the attribute name.
Returns:
the attribute with the given name.

getCookies

protected Cookie[] getCookies()
Description copied from class: AbstractRequestVariableResolver
Returns the cookies.

Specified by:
getCookies in class AbstractRequestVariableResolver
Returns:
the cookies.

getHeader

protected String getHeader(String string)
Description copied from class: AbstractRequestVariableResolver
Returns the header with the given name.

Specified by:
getHeader in class AbstractRequestVariableResolver
Returns:
the header with the given name.

getHeaders

protected Enumeration getHeaders(String string)
Description copied from class: AbstractRequestVariableResolver
Returns the headers with the given name.

Specified by:
getHeaders in class AbstractRequestVariableResolver
Parameters:
string - the header name.
Returns:
the headers with the given name.

getParameter

protected String getParameter(String string)
Description copied from class: AbstractRequestVariableResolver
Returns the parameter with the given name.

Specified by:
getParameter in class AbstractRequestVariableResolver
Parameters:
string - the parameter name.
Returns:
the parameter with the given name.

getParameterMap

protected Object getParameterMap()
Description copied from class: AbstractRequestVariableResolver
Returns the parameter map.

Specified by:
getParameterMap in class AbstractRequestVariableResolver
Returns:
the parameter map.

getSession

protected HttpSession getSession()

getSession

protected HttpSession getSession(boolean b)

getSessionScopeMap

protected Map<String,Object> getSessionScopeMap()
Description copied from class: AbstractRequestVariableResolver
Returns the session scope map.

Specified by:
getSessionScopeMap in class AbstractRequestVariableResolver
Returns:
the session scope map.

getApplicationScopeMap

protected Map<String,Object> getApplicationScopeMap()
Description copied from class: AbstractRequestVariableResolver
Returns the application scope map.

Specified by:
getApplicationScopeMap in class AbstractRequestVariableResolver
Returns:
the application scope map.

getInitParamMap

protected Map<String,Object> getInitParamMap()
Description copied from class: AbstractRequestVariableResolver
Returns the init parameters.

Specified by:
getInitParamMap in class AbstractRequestVariableResolver
Returns:
the init parameters.

getBusinessContextProperty

protected String getBusinessContextProperty(String key)
Description copied from class: AbstractRequestVariableResolver
Returns the value with the given property id.

Specified by:
getBusinessContextProperty in class AbstractRequestVariableResolver
Parameters:
key - the property id.
Returns:
the value of the property with the given id.


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.