| org.apache.catalina.connector.ResponseStream org.apache.catalina.connector.http.HttpResponseStream
HttpResponseStream | final public class HttpResponseStream extends ResponseStream (Code) | | Response stream for the HTTP/1.1 connector. This stream will automatically
chunk the answer if using HTTP/1.1 and no Content-Length has been properly
set.
author: Remy Maucherat |
Method Summary | |
void | checkChunking(HttpResponseImpl response) | protected void | checkHead(HttpResponseImpl response) | public void | close() Close this output stream, causing any buffered data to be flushed and
any further output data to throw an IOException. | public void | write(int b) Write the specified byte to our output stream. | public void | write(byte[] b, int off, int len) Write the specified byte array. |
HttpResponseStream | public HttpResponseStream(HttpResponseImpl response)(Code) | | Construct a servlet output stream associated with the specified Request.
Parameters: response - The associated response |
close | public void close() throws IOException(Code) | | Close this output stream, causing any buffered data to be flushed and
any further output data to throw an IOException.
|
write | public void write(int b) throws IOException(Code) | | Write the specified byte to our output stream.
Parameters: b - The byte to be written exception: IOException - if an input/output error occurs |
write | public void write(byte[] b, int off, int len) throws IOException(Code) | | Write the specified byte array.
|
|
|