public class HttpOutputStream extends BufferedOutputStream
buf, count
out
Constructor and Description |
---|
HttpOutputStream(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
write(byte[] buf) |
void |
write(byte[] buf,
int len) |
void |
write(byte[] buf,
int off,
int len) |
void |
write(HttpBody body) |
void |
write(HttpResponseHeader resHeader) |
void |
write(String data) |
write
public HttpOutputStream(OutputStream out)
public void write(String data) throws IOException
IOException
public void write(HttpBody body) throws IOException
IOException
public void write(HttpResponseHeader resHeader) throws IOException
IOException
public void write(byte[] buf) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] buf, int len) throws IOException
IOException
public void write(byte[] buf, int off, int len) throws IOException
write
in class BufferedOutputStream
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
public void flush() throws IOException
flush
in interface Flushable
flush
in class BufferedOutputStream
IOException