|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResponseDelegate
Exposes features of a response, if they are available.
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. |
Method Detail |
---|
OutputStream getOutputStream() throws IOException
IOException
- If the underlying response causes a problem.PrintWriter getPrintWriter() throws IOException
IOException
- If the underlying response causes a problem.Writer getWriter() throws IOException
IOException
- If the underlying response causes a problem.void setContentType(String contentType)
contentType
- The content type.boolean isResponseCommitted()
true
if the response is committed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |