|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.mock.web.portlet.MockPortletResponse org.springframework.mock.web.portlet.MockMimeResponse org.springframework.mock.web.portlet.MockRenderResponse
public class MockRenderResponse
Mock implementation of the RenderResponse
interface.
Field Summary |
---|
Fields inherited from interface javax.portlet.MimeResponse |
---|
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENT |
Constructor Summary | |
---|---|
MockRenderResponse()
Create a new MockRenderResponse with a default MockPortalContext . |
|
MockRenderResponse(javax.portlet.PortalContext portalContext)
Create a new MockRenderResponse. |
|
MockRenderResponse(javax.portlet.PortalContext portalContext,
javax.portlet.RenderRequest request)
Create a new MockRenderResponse. |
Method Summary | |
---|---|
Collection<javax.portlet.PortletMode> |
getNextPossiblePortletModes()
|
String |
getTitle()
|
void |
setNextPossiblePortletModes(Collection<javax.portlet.PortletMode> portletModes)
|
void |
setTitle(String title)
|
Methods inherited from class org.springframework.mock.web.portlet.MockMimeResponse |
---|
createActionURL, createRenderURL, createResourceURL, flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentAsByteArray, getContentAsString, getContentType, getForwardedUrl, getIncludedUrl, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setCharacterEncoding, setCommitted, setContentType, setForwardedUrl, setIncludedUrl, setLocale |
Methods inherited from class org.springframework.mock.web.portlet.MockPortletResponse |
---|
addProperty, addProperty, addProperty, createElement, encodeURL, getCookie, getCookies, getNamespace, getPortalContext, getProperties, getProperty, getPropertyNames, getXmlProperties, getXmlProperty, getXmlPropertyNames, setNamespace, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.portlet.RenderResponse |
---|
setContentType |
Methods inherited from interface javax.portlet.MimeResponse |
---|
createActionURL, createRenderURL, createResourceURL, flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize |
Methods inherited from interface javax.portlet.PortletResponse |
---|
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty |
Constructor Detail |
---|
public MockRenderResponse()
MockPortalContext
.
MockPortalContext
public MockRenderResponse(javax.portlet.PortalContext portalContext)
portalContext
- the PortalContext defining the supported
PortletModes and WindowStatespublic MockRenderResponse(javax.portlet.PortalContext portalContext, javax.portlet.RenderRequest request)
portalContext
- the PortalContext defining the supported
PortletModes and WindowStatesrequest
- the corresponding render request that this response
is generated forMethod Detail |
---|
public void setTitle(String title)
setTitle
in interface javax.portlet.RenderResponse
public String getTitle()
public void setNextPossiblePortletModes(Collection<javax.portlet.PortletMode> portletModes)
setNextPossiblePortletModes
in interface javax.portlet.RenderResponse
public Collection<javax.portlet.PortletMode> getNextPossiblePortletModes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |