public class ResourceResponseImpl extends MimeResponseImpl implements javax.portlet.ResourceResponse
bufferSize, cacheControlinvocation, preq| Constructor and Description |
|---|
ResourceResponseImpl(ResourceInvocation invocation,
PortletRequestImpl preq) |
| Modifier and Type | Method and Description |
|---|---|
javax.portlet.PortletURL |
createActionURL() |
javax.portlet.PortletURL |
createRenderURL() |
protected ContentResponse |
createResponse(ResponseProperties props,
Map<String,Object> attrs,
String contentType,
byte[] bytes,
CacheControl cacheControl) |
protected ContentResponse |
createResponse(ResponseProperties props,
Map<String,Object> attrs,
String contentType,
CacheControl cacheControl) |
protected ContentResponse |
createResponse(ResponseProperties props,
Map<String,Object> attrs,
String contentType,
String chars,
CacheControl cacheControl) |
String |
getCharacterEncoding() |
void |
setCharacterEncoding(String charset) |
void |
setContentLength(int i) |
void |
setContentType(String contentType) |
void |
setLocale(Locale locale) |
addProperty, createResourceURL, flushBuffer, getBufferSize, getCacheControl, getContentType, getLocale, getPortletOutputStream, getResponse, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setPropertyaddProperty, addProperty, createElement, encodeURL, getNamespace, getProperties, getProperties, getRealResponseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ResourceResponseImpl(ResourceInvocation invocation, PortletRequestImpl preq)
public void setLocale(Locale locale)
setLocale in interface javax.portlet.ResourceResponsepublic void setContentType(String contentType)
setContentType in interface javax.portlet.MimeResponsesetContentType in class MimeResponseImplpublic void setCharacterEncoding(String charset)
setCharacterEncoding in interface javax.portlet.ResourceResponsepublic String getCharacterEncoding()
getCharacterEncoding in interface javax.portlet.MimeResponsepublic void setContentLength(int i)
setContentLength in interface javax.portlet.ResourceResponsepublic javax.portlet.PortletURL createActionURL()
createActionURL in interface javax.portlet.MimeResponsecreateActionURL in interface javax.portlet.ResourceResponsecreateActionURL in class MimeResponseImplpublic javax.portlet.PortletURL createRenderURL()
createRenderURL in interface javax.portlet.MimeResponsecreateRenderURL in interface javax.portlet.ResourceResponsecreateRenderURL in class MimeResponseImplprotected ContentResponse createResponse(ResponseProperties props, Map<String,Object> attrs, String contentType, byte[] bytes, CacheControl cacheControl)
createResponse in class MimeResponseImplprotected ContentResponse createResponse(ResponseProperties props, Map<String,Object> attrs, String contentType, String chars, CacheControl cacheControl)
createResponse in class MimeResponseImplprotected ContentResponse createResponse(ResponseProperties props, Map<String,Object> attrs, String contentType, CacheControl cacheControl)
createResponse in class MimeResponseImplCopyright © 2003-2019 GateIn. All Rights Reserved.