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, cacheControlFields inherited from class org.gatein.pc.portlet.impl.jsr168.api.PortletResponseImpl
invocation, preqFields inherited from interface javax.portlet.MimeResponse
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENTFields inherited from interface javax.portlet.ResourceResponse
HTTP_STATUS_CODE -
Constructor Summary
ConstructorsConstructorDescriptionResourceResponseImpl(org.gatein.pc.api.invocation.ResourceInvocation invocation, PortletRequestImpl preq) -
Method Summary
Modifier and TypeMethodDescriptionjavax.portlet.PortletURLjavax.portlet.PortletURLprotected 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) voidsetCharacterEncoding(String charset) voidsetContentLength(int i) voidsetContentType(String contentType) voidMethods 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, setPropertyMethods inherited from class org.gatein.pc.portlet.impl.jsr168.api.PortletResponseImpl
addProperty, addProperty, createElement, encodeURL, getNamespace, getProperties, getProperties, getRealResponseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.portlet.MimeResponse
flushBuffer, getBufferSize, getCacheControl, getContentType, getLocale, getPortletOutputStream, getWriter, isCommitted, reset, resetBuffer, setBufferSizeMethods inherited from interface javax.portlet.PortletResponse
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setPropertyMethods inherited from interface javax.portlet.ResourceResponse
createResourceURL
-
Constructor Details
-
ResourceResponseImpl
public ResourceResponseImpl(org.gatein.pc.api.invocation.ResourceInvocation invocation, PortletRequestImpl preq)
-
-
Method Details
-
setLocale
- Specified by:
setLocalein interfacejavax.portlet.ResourceResponse
-
setContentType
- Specified by:
setContentTypein interfacejavax.portlet.MimeResponse- Overrides:
setContentTypein classMimeResponseImpl
-
setCharacterEncoding
- Specified by:
setCharacterEncodingin interfacejavax.portlet.ResourceResponse
-
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
-