public class

MockRenderRequest

extends MockPortletRequest
java.lang.Object
   ↳ org.springframework.mock.web.portlet.MockPortletRequest
     ↳ org.springframework.mock.web.portlet.MockRenderRequest

Class Overview

Mock implementation of the javax.portlet.RenderRequest interface.

Summary

Public Constructors
MockRenderRequest()
Create a new MockRenderRequest with a default MockPortalContext and a default MockPortletContext.
MockRenderRequest(PortletMode portletMode)
Create a new MockRenderRequest with a default MockPortalContext and a default MockPortletContext.
MockRenderRequest(PortletMode portletMode, WindowState windowState)
Create a new MockRenderRequest with a default MockPortalContext and a default MockPortletContext.
MockRenderRequest(PortletContext portletContext)
Create a new MockRenderRequest with a default MockPortalContext.
MockRenderRequest(PortalContext portalContext, PortletContext portletContext)
Create a new MockRenderRequest.
Public Methods
String getETag()
Protected Methods
String getLifecyclePhase()
Return the Portlet 2.0 lifecycle id for the current phase.
[Expand]
Inherited Methods
From class org.springframework.mock.web.portlet.MockPortletRequest
From class java.lang.Object

Public Constructors

public MockRenderRequest ()

Create a new MockRenderRequest with a default MockPortalContext and a default MockPortletContext.

public MockRenderRequest (PortletMode portletMode)

Create a new MockRenderRequest with a default MockPortalContext and a default MockPortletContext.

Parameters
portletMode the mode that the portlet runs in

public MockRenderRequest (PortletMode portletMode, WindowState windowState)

Create a new MockRenderRequest with a default MockPortalContext and a default MockPortletContext.

Parameters
portletMode the mode that the portlet runs in
windowState the window state to run the portlet in

public MockRenderRequest (PortletContext portletContext)

Create a new MockRenderRequest with a default MockPortalContext.

Parameters
portletContext the PortletContext that the request runs in

public MockRenderRequest (PortalContext portalContext, PortletContext portletContext)

Create a new MockRenderRequest.

Parameters
portalContext the PortletContext that the request runs in
portletContext the PortletContext that the request runs in

Public Methods

public String getETag ()

Protected Methods

protected String getLifecyclePhase ()

Return the Portlet 2.0 lifecycle id for the current phase.