private class Request.ContentOutputStream extends OutputStream
| Modifier | Constructor and Description |
|---|---|
private |
ContentOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkOpen()
Checks to make sure stream is open and startOutput has been called.
|
void |
close() |
private void |
close(boolean checkAbort)
Attempts to close stream.
|
void |
flush() |
private void |
invalidate(Throwable cause)
Invalidates stream, saving cause.
|
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
writepublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
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 OutputStreamIOExceptionprivate void checkOpen()
throws IOException
IOExceptionprivate void close(boolean checkAbort)
throws IOException
IOExceptionprivate void invalidate(Throwable cause) throws IOException
IOExceptionCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.