private class Request.ContentInputStream extends InputStream
| Modifier | Constructor and Description |
|---|---|
private |
ContentInputStream() |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
private boolean |
checkOpen()
Checks to make sure stream is open and startInput has been called.
|
void |
close() |
private void |
close(boolean checkAbort)
Attempts to close stream.
|
private void |
invalidate(Throwable cause)
Invalidates stream, saving cause.
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
mark, markSupported, read, reset, skippublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionprivate boolean 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.