public class MockRenderRequest extends MockPortletRequest
javax.portlet.RenderRequest
interface.Constructor and Description |
---|
MockRenderRequest()
Create a new MockRenderRequest with a default
MockPortalContext
and a default MockPortletContext . |
MockRenderRequest(PortalContext portalContext,
PortletContext portletContext)
Create a new MockRenderRequest.
|
MockRenderRequest(PortletContext portletContext)
Create a new MockRenderRequest with a default
MockPortalContext . |
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 . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getETag() |
protected java.lang.String |
getLifecyclePhase()
Return the Portlet 2.0 lifecycle id for the current phase.
|
addLocale, addParameter, addParameter, addPreferredLocale, addPreferredResponseContentType, addProperty, addResponseContentType, addUserRole, checkActive, close, getAttribute, getAttributeNames, getAuthType, getContextPath, getCookies, getLocale, getLocales, getParameter, getParameterMap, getParameterNames, getParameterValues, getPortalContext, getPortletMode, getPortletSession, getPortletSession, getPreferences, getPrivateParameterMap, getProperties, getProperty, getPropertyNames, getPublicParameterMap, getRemoteUser, getRequestedSessionId, getResponseContentType, getResponseContentTypes, getScheme, getServerName, getServerPort, getUserPrincipal, getWindowID, getWindowState, isActive, isPortletModeAllowed, isRequestedSessionIdValid, isSecure, isUserInRole, isWindowStateAllowed, registerPublicParameter, removeAttribute, setAttribute, setAuthType, setContextPath, setCookies, setParameter, setParameter, setParameters, setPortletMode, setPreferences, setProperty, setRemoteUser, setRequestedSessionIdValid, setScheme, setSecure, setServerName, setServerPort, setSession, setUserPrincipal, setWindowID, setWindowState
public MockRenderRequest()
MockPortalContext
and a default MockPortletContext
.MockPortalContext
,
MockPortletContext
public MockRenderRequest(PortletMode portletMode)
MockPortalContext
and a default MockPortletContext
.portletMode
- the mode that the portlet runs inpublic MockRenderRequest(PortletMode portletMode, WindowState windowState)
MockPortalContext
and a default MockPortletContext
.portletMode
- the mode that the portlet runs inwindowState
- the window state to run the portlet inpublic MockRenderRequest(PortletContext portletContext)
MockPortalContext
.portletContext
- the PortletContext that the request runs inpublic MockRenderRequest(PortalContext portalContext, PortletContext portletContext)
portalContext
- the PortletContext that the request runs inportletContext
- the PortletContext that the request runs inprotected java.lang.String getLifecyclePhase()
MockPortletRequest
getLifecyclePhase
in class MockPortletRequest
public java.lang.String getETag()