public class CommitHeaderOutputStream extends OutputStream
| Modifier and Type | Class and Description |
|---|---|
static interface |
CommitHeaderOutputStream.CommitCallback |
| Modifier and Type | Field and Description |
|---|---|
protected OutputStream |
delegate |
protected CommitHeaderOutputStream.CommitCallback |
headers |
protected boolean |
isHeadersCommitted |
| Constructor and Description |
|---|
CommitHeaderOutputStream(OutputStream delegate,
CommitHeaderOutputStream.CommitCallback headers) |
protected OutputStream delegate
protected boolean isHeadersCommitted
protected CommitHeaderOutputStream.CommitCallback headers
public CommitHeaderOutputStream(OutputStream delegate, CommitHeaderOutputStream.CommitCallback headers)
public void commit()
public void write(int i)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] bytes)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] bytes,
int i,
int i1)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2014. All Rights Reserved.