com.liferay.faces.bridge.filter
Class MimeResponseWrapper
java.lang.Object
javax.portlet.filter.PortletResponseWrapper
com.liferay.faces.bridge.filter.MimeResponseWrapper
- All Implemented Interfaces:
- javax.portlet.MimeResponse, javax.portlet.PortletResponse
- Direct Known Subclasses:
- BridgeWriteBehindResponseMimeImpl
public class MimeResponseWrapper
- extends javax.portlet.filter.PortletResponseWrapper
- implements javax.portlet.MimeResponse
This is a wrapper style decorator class that is modeled after the RenderResponseWrapper and ResourceResponseWrapper found in the Portlet API.
- Author:
- Neil Griffin
| Fields inherited from interface javax.portlet.MimeResponse |
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENT |
| Methods inherited from class javax.portlet.filter.PortletResponseWrapper |
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty, setResponse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.portlet.PortletResponse |
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty |
MimeResponseWrapper
public MimeResponseWrapper(javax.portlet.MimeResponse mimeResponse)
createActionURL
public javax.portlet.PortletURL createActionURL()
- Specified by:
createActionURL in interface javax.portlet.MimeResponse
createRenderURL
public javax.portlet.PortletURL createRenderURL()
- Specified by:
createRenderURL in interface javax.portlet.MimeResponse
createResourceURL
public javax.portlet.ResourceURL createResourceURL()
- Specified by:
createResourceURL in interface javax.portlet.MimeResponse
flushBuffer
public void flushBuffer()
throws IOException
- Specified by:
flushBuffer in interface javax.portlet.MimeResponse
- Throws:
IOException
reset
public void reset()
- Specified by:
reset in interface javax.portlet.MimeResponse
resetBuffer
public void resetBuffer()
- Specified by:
resetBuffer in interface javax.portlet.MimeResponse
getBufferSize
public int getBufferSize()
- Specified by:
getBufferSize in interface javax.portlet.MimeResponse
setBufferSize
public void setBufferSize(int size)
- Specified by:
setBufferSize in interface javax.portlet.MimeResponse
getCacheControl
public javax.portlet.CacheControl getCacheControl()
- Specified by:
getCacheControl in interface javax.portlet.MimeResponse
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncoding in interface javax.portlet.MimeResponse
getContentType
public String getContentType()
- Specified by:
getContentType in interface javax.portlet.MimeResponse
setContentType
public void setContentType(String type)
- Specified by:
setContentType in interface javax.portlet.MimeResponse
isCommitted
public boolean isCommitted()
- Specified by:
isCommitted in interface javax.portlet.MimeResponse
getLocale
public Locale getLocale()
- Specified by:
getLocale in interface javax.portlet.MimeResponse
getPortletOutputStream
public OutputStream getPortletOutputStream()
throws IOException
- Specified by:
getPortletOutputStream in interface javax.portlet.MimeResponse
- Throws:
IOException
getResponse
public javax.portlet.MimeResponse getResponse()
- Overrides:
getResponse in class javax.portlet.filter.PortletResponseWrapper
getWriter
public PrintWriter getWriter()
throws IOException
- Specified by:
getWriter in interface javax.portlet.MimeResponse
- Throws:
IOException
Copyright © 2014 Liferay, Inc.. All Rights Reserved.