Search in sources :

Example 1 with PortletResourceRequestContextImpl

use of org.apereo.portal.portlet.container.PortletResourceRequestContextImpl in project uPortal by Jasig.

the class LocalPortletRequestContextServiceImpl method getPortletResourceRequestContext.

/* (non-Javadoc)
     * @see org.apache.pluto.container.PortletRequestContextService#getPortletResourceRequestContext(org.apache.pluto.container.PortletContainer, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.pluto.container.PortletWindow)
     */
@Override
public PortletResourceRequestContext getPortletResourceRequestContext(PortletContainer container, HttpServletRequest containerRequest, HttpServletResponse containerResponse, PortletWindow window) {
    final IPortletWindow portletWindow = this.portletWindowRegistry.convertPortletWindow(containerRequest, window);
    final IPortalRequestInfo portalRequestInfo = this.urlSyntaxProvider.getPortalRequestInfo(containerRequest);
    return new PortletResourceRequestContextImpl(container, portletWindow, containerRequest, containerResponse, this.requestPropertiesManager, portalRequestInfo, this.portletCookieService, requestAttributeService);
}
Also used : IPortalRequestInfo(org.apereo.portal.url.IPortalRequestInfo) IPortletWindow(org.apereo.portal.portlet.om.IPortletWindow) PortletResourceRequestContextImpl(org.apereo.portal.portlet.container.PortletResourceRequestContextImpl)

Aggregations

PortletResourceRequestContextImpl (org.apereo.portal.portlet.container.PortletResourceRequestContextImpl)1 IPortletWindow (org.apereo.portal.portlet.om.IPortletWindow)1 IPortalRequestInfo (org.apereo.portal.url.IPortalRequestInfo)1