|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.request.portlet.delegate.MimeResponseDelegate
public class MimeResponseDelegate
Response delegate in case of MimeResponse
.
Constructor Summary | |
---|---|
MimeResponseDelegate(javax.portlet.MimeResponse response)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MimeResponseDelegate(javax.portlet.MimeResponse response)
response
- The response.Method Detail |
---|
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface ResponseDelegate
IOException
- If the underlying response causes a problem.public PrintWriter getPrintWriter() throws IOException
getPrintWriter
in interface ResponseDelegate
IOException
- If the underlying response causes a problem.public Writer getWriter() throws IOException
getWriter
in interface ResponseDelegate
IOException
- If the underlying response causes a problem.public boolean isResponseCommitted()
isResponseCommitted
in interface ResponseDelegate
true
if the response is committed.public void setContentType(String contentType)
setContentType
in interface ResponseDelegate
contentType
- The content type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |