|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.request.portlet.delegate.StateAwareResponseDelegate
public class StateAwareResponseDelegate
A state aware response does not allow to access to the output stream and similar, so it is, essentially, a feature blocker.
Constructor Summary | |
---|---|
StateAwareResponseDelegate()
|
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 StateAwareResponseDelegate()
Method Detail |
---|
public OutputStream getOutputStream()
ResponseDelegate
getOutputStream
in interface ResponseDelegate
public PrintWriter getPrintWriter()
ResponseDelegate
getPrintWriter
in interface ResponseDelegate
public Writer getWriter()
ResponseDelegate
getWriter
in interface ResponseDelegate
public boolean isResponseCommitted()
ResponseDelegate
isResponseCommitted
in interface ResponseDelegate
true
if the response is committed.public void setContentType(String contentType)
ResponseDelegate
setContentType
in interface ResponseDelegate
contentType
- The content type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |