类 MockResourceResponse
- java.lang.Object
- org.springframework.mock.web.portlet.MockPortletResponse
- org.springframework.mock.web.portlet.MockMimeResponse
- org.springframework.mock.web.portlet.MockResourceResponse
- 所有已实现的接口:
MimeResponse
,PortletResponse
,ResourceResponse
public class MockResourceResponse extends MockMimeResponse implements ResourceResponse
Mock implementation of theResourceResponse
interface.- 从以下版本开始:
- 3.0
- 作者:
- Juergen Hoeller
字段概要
从接口继承的字段 javax.portlet.MimeResponse
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENT
从接口继承的字段 javax.portlet.ResourceResponse
HTTP_STATUS_CODE
构造器概要
构造器 构造器 说明 MockResourceResponse()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 int
getContentLength()
void
setContentLength(int len)
从类继承的方法 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
从类继承的方法 org.springframework.mock.web.portlet.MockPortletResponse
addProperty, addProperty, addProperty, createElement, encodeURL, getCookie, getCookies, getNamespace, getPortalContext, getProperties, getProperty, getPropertyNames, getXmlProperties, getXmlProperty, getXmlPropertyNames, setNamespace, setProperty
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 javax.portlet.MimeResponse
flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setContentType
从接口继承的方法 javax.portlet.PortletResponse
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty
从接口继承的方法 javax.portlet.ResourceResponse
createActionURL, createRenderURL, createResourceURL, setCharacterEncoding, setLocale
构造器详细资料
MockResourceResponse
public MockResourceResponse()
方法详细资料
setContentLength
public void setContentLength(int len)
- 指定者:
setContentLength
在接口中ResourceResponse
getContentLength
public int getContentLength()