Class ResourceResponseImpl
- java.lang.Object
-
- org.gatein.pc.portlet.impl.jsr168.api.PortletResponseImpl
-
- org.gatein.pc.portlet.impl.jsr168.api.MimeResponseImpl
-
- org.gatein.pc.portlet.impl.jsr168.api.ResourceResponseImpl
-
- All Implemented Interfaces:
javax.portlet.MimeResponse,javax.portlet.PortletResponse,javax.portlet.ResourceResponse
public class ResourceResponseImpl extends MimeResponseImpl implements javax.portlet.ResourceResponse
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
-
-
Field Summary
-
Fields inherited from class org.gatein.pc.portlet.impl.jsr168.api.MimeResponseImpl
bufferSize, cacheControl
-
Fields inherited from class org.gatein.pc.portlet.impl.jsr168.api.PortletResponseImpl
invocation, preq
-
-
Constructor Summary
Constructors Constructor Description ResourceResponseImpl(org.gatein.pc.api.invocation.ResourceInvocation invocation, PortletRequestImpl preq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.portlet.PortletURLcreateActionURL()javax.portlet.PortletURLcreateRenderURL()protected org.gatein.pc.api.invocation.response.ContentResponsecreateResponse(org.gatein.pc.api.invocation.response.ResponseProperties props, Map<String,Object> attrs, String contentType, byte[] bytes, org.gatein.pc.api.cache.CacheControl cacheControl)protected org.gatein.pc.api.invocation.response.ContentResponsecreateResponse(org.gatein.pc.api.invocation.response.ResponseProperties props, Map<String,Object> attrs, String contentType, String chars, org.gatein.pc.api.cache.CacheControl cacheControl)protected org.gatein.pc.api.invocation.response.ContentResponsecreateResponse(org.gatein.pc.api.invocation.response.ResponseProperties props, Map<String,Object> attrs, String contentType, org.gatein.pc.api.cache.CacheControl cacheControl)StringgetCharacterEncoding()voidsetCharacterEncoding(String charset)voidsetContentLength(int i)voidsetContentType(String contentType)voidsetLocale(Locale locale)-
Methods inherited from class org.gatein.pc.portlet.impl.jsr168.api.MimeResponseImpl
addProperty, createResourceURL, flushBuffer, getBufferSize, getCacheControl, getContentType, getLocale, getPortletOutputStream, getResponse, getWriter, isCommitted, reset, resetBuffer, setBufferSize, setProperty
-
Methods inherited from class org.gatein.pc.portlet.impl.jsr168.api.PortletResponseImpl
addProperty, addProperty, createElement, encodeURL, getNamespace, getProperties, getProperties, getRealResponse
-
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, getContentType, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSize
-
-
-
-
Constructor Detail
-
ResourceResponseImpl
public ResourceResponseImpl(org.gatein.pc.api.invocation.ResourceInvocation invocation, PortletRequestImpl preq)
-
-
Method Detail
-
setLocale
public void setLocale(Locale locale)
- Specified by:
setLocalein interfacejavax.portlet.ResourceResponse
-
setContentType
public void setContentType(String contentType)
- Specified by:
setContentTypein interfacejavax.portlet.MimeResponse- Overrides:
setContentTypein classMimeResponseImpl
-
setCharacterEncoding
public void setCharacterEncoding(String charset)
- Specified by:
setCharacterEncodingin interfacejavax.portlet.ResourceResponse
-
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncodingin interfacejavax.portlet.MimeResponse
-
setContentLength
public void setContentLength(int i)
- Specified by:
setContentLengthin interfacejavax.portlet.ResourceResponse
-
createActionURL
public javax.portlet.PortletURL createActionURL()
- Specified by:
createActionURLin interfacejavax.portlet.MimeResponse- Specified by:
createActionURLin interfacejavax.portlet.ResourceResponse- Overrides:
createActionURLin classMimeResponseImpl
-
createRenderURL
public javax.portlet.PortletURL createRenderURL()
- Specified by:
createRenderURLin interfacejavax.portlet.MimeResponse- Specified by:
createRenderURLin interfacejavax.portlet.ResourceResponse- Overrides:
createRenderURLin classMimeResponseImpl
-
createResponse
protected org.gatein.pc.api.invocation.response.ContentResponse createResponse(org.gatein.pc.api.invocation.response.ResponseProperties props, Map<String,Object> attrs, String contentType, byte[] bytes, org.gatein.pc.api.cache.CacheControl cacheControl)- Specified by:
createResponsein classMimeResponseImpl
-
createResponse
protected org.gatein.pc.api.invocation.response.ContentResponse createResponse(org.gatein.pc.api.invocation.response.ResponseProperties props, Map<String,Object> attrs, String contentType, String chars, org.gatein.pc.api.cache.CacheControl cacheControl)- Specified by:
createResponsein classMimeResponseImpl
-
createResponse
protected org.gatein.pc.api.invocation.response.ContentResponse createResponse(org.gatein.pc.api.invocation.response.ResponseProperties props, Map<String,Object> attrs, String contentType, org.gatein.pc.api.cache.CacheControl cacheControl)- Specified by:
createResponsein classMimeResponseImpl
-
-