public interface ResponseDelegate
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.
|
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.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.