public class MockRenderResponse extends MockMimeResponse implements RenderResponse
RenderResponse interface.CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENT| Constructor and Description | 
|---|
MockRenderResponse()
Create a new MockRenderResponse with a default  
MockPortalContext. | 
MockRenderResponse(PortalContext portalContext)
Create a new MockRenderResponse. 
 | 
MockRenderResponse(PortalContext portalContext,
                  RenderRequest request)
Create a new MockRenderResponse. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<PortletMode> | 
getNextPossiblePortletModes()  | 
String | 
getTitle()  | 
void | 
setNextPossiblePortletModes(Collection<PortletMode> portletModes)  | 
void | 
setTitle(String title)  | 
createActionURL, createRenderURL, createResourceURL, flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentAsByteArray, getContentAsString, getContentType, getForwardedUrl, getIncludedUrl, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setCharacterEncoding, setCommitted, setContentType, setForwardedUrl, setIncludedUrl, setLocaleaddProperty, addProperty, addProperty, createElement, encodeURL, getCookie, getCookies, getNamespace, getPortalContext, getProperties, getProperty, getPropertyNames, getXmlProperties, getXmlProperty, getXmlPropertyNames, setNamespace, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetContentTypecreateActionURL, createRenderURL, createResourceURL, flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSizeaddProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setPropertypublic MockRenderResponse()
MockPortalContext.MockPortalContextpublic MockRenderResponse(PortalContext portalContext)
portalContext - the PortalContext defining the supported
 PortletModes and WindowStatespublic MockRenderResponse(PortalContext portalContext, RenderRequest request)
portalContext - the PortalContext defining the supported
 PortletModes and WindowStatesrequest - the corresponding render request that this response
 is generated forpublic void setTitle(String title)
setTitle in interface RenderResponsepublic String getTitle()
public void setNextPossiblePortletModes(Collection<PortletMode> portletModes)
setNextPossiblePortletModes in interface RenderResponsepublic Collection<PortletMode> getNextPossiblePortletModes()