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 ResponseStreams
IOException
public Writer getWriter() throws IOException
getWriter
in interface ResponseStreams
IOException
Copyright © 2016. All Rights Reserved.