public static class HTTPServer.ResponseOutputStream extends FilterOutputStream
ResponseOutputStream encompasses a single response over a connection,
and does not close the underlying stream so that it can be used by subsequent responses.out| Constructor and Description |
|---|
ResponseOutputStream(OutputStream out)
Constructs a ResponseOutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(byte[] b,
int off,
int len) |
flush, write, writepublic ResponseOutputStream(OutputStream out)
out - the underlying output streampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreampublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionCopyright © 2021 freeutils.net. All rights reserved.