org.springframework.mock.web.portlet
Class MockResourceResponse
java.lang.Object
org.springframework.mock.web.portlet.MockPortletResponse
org.springframework.mock.web.portlet.MockMimeResponse
org.springframework.mock.web.portlet.MockResourceResponse
- All Implemented Interfaces:
- MimeResponse, PortletResponse, ResourceResponse
public class MockResourceResponse
- extends MockMimeResponse
- implements ResourceResponse
Mock implementation of the ResourceResponse
interface.
- Since:
- 3.0
- Author:
- Juergen Hoeller
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.MimeResponse |
flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentType |
MockResourceResponse
public MockResourceResponse()
setContentLength
public void setContentLength(int len)
- Specified by:
setContentLength
in interface ResourceResponse
getContentLength
public int getContentLength()