private class Request.ContentInputStream extends InputStream
Modifier | Constructor and Description |
---|---|
private |
Request.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, skip
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
private boolean checkOpen() throws IOException
IOException
private void close(boolean checkAbort) throws IOException
IOException
private void invalidate(Throwable cause) throws IOException
IOException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.