Class RenderResponseImpl
- 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.RenderResponseImpl
-
- All Implemented Interfaces:
javax.portlet.MimeResponse,javax.portlet.PortletResponse,javax.portlet.RenderResponse
public class RenderResponseImpl extends MimeResponseImpl implements javax.portlet.RenderResponse
- Version:
- $Revision: 6704 $
- Author:
- Julien Viet
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<org.gatein.pc.api.Mode>responseNextModes.protected StringresponseTitleThe title if any.-
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 RenderResponseImpl(org.gatein.pc.api.invocation.RenderInvocation invocation, PortletRequestImpl preq)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()voidsetContentType(String contentType)voidsetNextPossiblePortletModes(Collection<javax.portlet.PortletMode> portletModes)voidsetTitle(String title)-
Methods inherited from class org.gatein.pc.portlet.impl.jsr168.api.MimeResponseImpl
addProperty, createActionURL, createRenderURL, 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
-
-
-
-
Constructor Detail
-
RenderResponseImpl
public RenderResponseImpl(org.gatein.pc.api.invocation.RenderInvocation invocation, PortletRequestImpl preq)
-
-
Method Detail
-
setTitle
public void setTitle(String title)
- Specified by:
setTitlein interfacejavax.portlet.RenderResponse
-
setNextPossiblePortletModes
public void setNextPossiblePortletModes(Collection<javax.portlet.PortletMode> portletModes)
- Specified by:
setNextPossiblePortletModesin interfacejavax.portlet.RenderResponse
-
setContentType
public void setContentType(String contentType)
- Specified by:
setContentTypein interfacejavax.portlet.MimeResponse- Specified by:
setContentTypein interfacejavax.portlet.RenderResponse- Overrides:
setContentTypein classMimeResponseImpl
-
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncodingin interfacejavax.portlet.MimeResponse
-
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
-
-