public class MimeResponseDelegate extends Object implements ResponseDelegate
MimeResponse.| Constructor and Description | 
|---|
| MimeResponseDelegate(javax.portlet.MimeResponse response)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| OutputStream | getOutputStream()Returns the output stream. | 
| PrintWriter | getPrintWriter()Returns the print writer. | 
| Writer | getWriter()Returns the writer. | 
| boolean | isResponseCommitted()Checks if the response is committed. | 
| void | setContentType(String contentType)Sets the content type of the response. | 
public MimeResponseDelegate(javax.portlet.MimeResponse response)
response - The response.public OutputStream getOutputStream() throws IOException
getOutputStream in interface ResponseDelegateIOException - If the underlying response causes a problem.public PrintWriter getPrintWriter() throws IOException
getPrintWriter in interface ResponseDelegateIOException - If the underlying response causes a problem.public Writer getWriter() throws IOException
getWriter in interface ResponseDelegateIOException - If the underlying response causes a problem.public boolean isResponseCommitted()
isResponseCommitted in interface ResponseDelegatetrue if the response is committed.public void setContentType(String contentType)
setContentType in interface ResponseDelegatecontentType - The content type.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.