Class 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
    • Constructor Detail

      • ResourceResponseImpl

        public ResourceResponseImpl​(org.gatein.pc.api.invocation.ResourceInvocation invocation,
                                    PortletRequestImpl preq)
    • Method Detail

      • setLocale

        public void setLocale​(Locale locale)
        Specified by:
        setLocale in interface javax.portlet.ResourceResponse
      • setContentType

        public void setContentType​(String contentType)
        Specified by:
        setContentType in interface javax.portlet.MimeResponse
        Overrides:
        setContentType in class MimeResponseImpl
      • setCharacterEncoding

        public void setCharacterEncoding​(String charset)
        Specified by:
        setCharacterEncoding in interface javax.portlet.ResourceResponse
      • getCharacterEncoding

        public String getCharacterEncoding()
        Specified by:
        getCharacterEncoding in interface javax.portlet.MimeResponse
      • setContentLength

        public void setContentLength​(int i)
        Specified by:
        setContentLength in interface javax.portlet.ResourceResponse
      • createActionURL

        public javax.portlet.PortletURL createActionURL()
        Specified by:
        createActionURL in interface javax.portlet.MimeResponse
        Specified by:
        createActionURL in interface javax.portlet.ResourceResponse
        Overrides:
        createActionURL in class MimeResponseImpl
      • createRenderURL

        public javax.portlet.PortletURL createRenderURL()
        Specified by:
        createRenderURL in interface javax.portlet.MimeResponse
        Specified by:
        createRenderURL in interface javax.portlet.ResourceResponse
        Overrides:
        createRenderURL in class MimeResponseImpl
      • 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:
        createResponse in class MimeResponseImpl
      • 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:
        createResponse in class MimeResponseImpl
      • 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:
        createResponse in class MimeResponseImpl