|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
javax.servlet.ServletOutputStream
org.apache.catalina.connector.ResponseStream
org.apache.catalina.connector.http.HttpResponseStream
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.
| Field Summary |
| Fields inherited from class org.apache.catalina.connector.ResponseStream |
closed, commit, count, length, response, sm, stream, suspended |
| Constructor Summary | |
HttpResponseStream(org.apache.catalina.connector.http.HttpResponseImpl response)
Deprecated. Construct a servlet output stream associated with the specified Request. |
|
| Method Summary | |
protected void |
checkHead(org.apache.catalina.connector.http.HttpResponseImpl response)
Deprecated. |
void |
close()
Deprecated. Close this output stream, causing any buffered data to be flushed and any further output data to throw an IOException. |
void |
write(byte[] b,
int off,
int len)
Deprecated. Write the specified byte array. |
void |
write(int b)
Deprecated. Write the specified byte to our output stream. |
| Methods inherited from class org.apache.catalina.connector.ResponseStream |
flush, write |
| Methods inherited from class javax.servlet.ServletOutputStream |
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HttpResponseStream(org.apache.catalina.connector.http.HttpResponseImpl response)
response - The associated response| Method Detail |
public void write(int b)
throws java.io.IOException
write in class ResponseStreamb - The byte to be written
java.io.IOException - if an input/output error occurs
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class ResponseStreamb - The byte array containing the bytes to be writtenoff - Zero-relative starting offset of the bytes to be writtenlen - The number of bytes to be written
java.io.IOException - if an input/output error occurs
public void close()
throws java.io.IOException
close in class ResponseStreamjava.io.IOExceptionprotected void checkHead(org.apache.catalina.connector.http.HttpResponseImpl response)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||