public class ResponseStreamsServlet extends Object implements ResponseStreams
| Constructor and Description |
|---|
ResponseStreamsServlet() |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream()
Get the output stream to write the response.
|
Writer |
getWriter()
Get the writer to write the response.
|
void |
init(javax.servlet.http.HttpServletResponse httpServletResponse) |
public void init(javax.servlet.http.HttpServletResponse httpServletResponse)
public OutputStream getOutputStream() throws IOException
getOutputStream in interface ResponseStreamsIOExceptionpublic Writer getWriter() throws IOException
getWriter in interface ResponseStreamsIOExceptionCopyright © 2019. All rights reserved.