org.jasig.portal.portlet.container.properties
Class HttpRequestPropertiesManager

java.lang.Object
  extended by org.jasig.portal.portlet.container.properties.BaseRequestPropertiesManager
      extended by org.jasig.portal.portlet.container.properties.HttpRequestPropertiesManager
All Implemented Interfaces:
IRequestPropertiesManager

public class HttpRequestPropertiesManager
extends BaseRequestPropertiesManager

Provides some extra information from the HttpServletRequest to the portlet as properties.

Version:
$Revision$
Author:
Eric Dalquist

Field Summary
 
Fields inherited from class org.jasig.portal.portlet.container.properties.BaseRequestPropertiesManager
logger
 
Constructor Summary
HttpRequestPropertiesManager()
           
 
Method Summary
 IPortalRequestUtils getPortalRequestUtils()
           
 Map<String,String[]> getRequestProperties(HttpServletRequest portletRequest, IPortletWindow portletWindow)
          Called when a portlet gets the request properties via PortletRequest.getProperties(String), PortletRequest.getProperty(String), or PortletRequest.getPropertyNames().
 void setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
           
 
Methods inherited from class org.jasig.portal.portlet.container.properties.BaseRequestPropertiesManager
addResponseProperty, setResponseProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpRequestPropertiesManager

public HttpRequestPropertiesManager()
Method Detail

getPortalRequestUtils

public IPortalRequestUtils getPortalRequestUtils()
Returns:
the portalRequestUtils

setPortalRequestUtils

public void setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
Parameters:
portalRequestUtils - the portalRequestUtils to set

getRequestProperties

public Map<String,String[]> getRequestProperties(HttpServletRequest portletRequest,
                                                 IPortletWindow portletWindow)
Description copied from interface: IRequestPropertiesManager
Called when a portlet gets the request properties via PortletRequest.getProperties(String), PortletRequest.getProperty(String), or PortletRequest.getPropertyNames().

Specified by:
getRequestProperties in interface IRequestPropertiesManager
Overrides:
getRequestProperties in class BaseRequestPropertiesManager
Parameters:
portletRequest - The request the call was made during
portletWindow - The PortletWindow representing the portlet requesting properties.
Returns:
A Map of properties to present to the portlet, must not be null.


Copyright © 2010 Jasig. All Rights Reserved.