org.jasig.portal.url
Interface IPortalRequestUtils

All Known Implementing Classes:
PortalRequestUtilsImpl

public interface IPortalRequestUtils

Version:
$Revision$
Author:
Eric Dalquist

Method Summary
 HttpServletRequest getCurrentPortalRequest()
          Uses RequestContextHolder to retrieve the current portal HttpServletRequest
 HttpServletRequest getOriginalPortalRequest(HttpServletRequest portletRequest)
           
 HttpServletRequest getOriginalPortalRequest(PortletRequest portletRequest)
          Useful for container service callbacks and service portlets that are provided with the portlet's request but need access to the portal's HttpServletRequest.
 HttpServletResponse getOriginalPortalResponse(HttpServletRequest portletRequest)
           
 HttpServletResponse getOriginalPortalResponse(PortletRequest portletRequest)
          Useful for container service callbacks and service portlets that are provided with the portlet's request but need access to the portal's HttpServletResponse.
 HttpServletRequest getOriginalPortletAdaptorRequest(HttpServletRequest portletRequest)
           
 HttpServletRequest getOriginalPortletAdaptorRequest(PortletRequest portletRequest)
          Useful for container service callbacks that are provided with the portlet's request but need access to the HttpServletRequest passed into the portlet container.
 HttpServletRequest getPortletAdaptorParentRequest(HttpServletRequest portletRequest)
           
 

Method Detail

getOriginalPortletAdaptorRequest

HttpServletRequest getOriginalPortletAdaptorRequest(PortletRequest portletRequest)
Useful for container service callbacks that are provided with the portlet's request but need access to the HttpServletRequest passed into the portlet container.

Parameters:
portletRequest - The request targeted to the portlet
Returns:
The portlet scoped request passed to the portlet container

getOriginalPortletAdaptorRequest

HttpServletRequest getOriginalPortletAdaptorRequest(HttpServletRequest portletRequest)
See Also:
getOriginalPortletAdaptorRequest(PortletRequest)

getPortletAdaptorParentRequest

HttpServletRequest getPortletAdaptorParentRequest(HttpServletRequest portletRequest)
Parameters:
portletRequest - The request targeted to the portlet
Returns:
The next request up the chain from a portlet adaptor request

getOriginalPortalRequest

HttpServletRequest getOriginalPortalRequest(PortletRequest portletRequest)
Useful for container service callbacks and service portlets that are provided with the portlet's request but need access to the portal's HttpServletRequest.

Parameters:
portletRequest - The request targeted to the portlet
Returns:
The portal's request, not scoped to a particular portlet

getOriginalPortalRequest

HttpServletRequest getOriginalPortalRequest(HttpServletRequest portletRequest)
See Also:
getOriginalPortalRequest(PortletRequest)

getOriginalPortalResponse

HttpServletResponse getOriginalPortalResponse(PortletRequest portletRequest)
Useful for container service callbacks and service portlets that are provided with the portlet's request but need access to the portal's HttpServletResponse.

Parameters:
portletRequest - The request targeted to the portlet
Returns:
The portal's response, not scoped to a particular portlet

getOriginalPortalResponse

HttpServletResponse getOriginalPortalResponse(HttpServletRequest portletRequest)
See Also:
getOriginalPortalResponse(PortletRequest)

getCurrentPortalRequest

HttpServletRequest getCurrentPortalRequest()
Uses RequestContextHolder to retrieve the current portal HttpServletRequest



Copyright © 2010 Jasig. All Rights Reserved.