Package org.eclipse.jetty.client.util
Class InputStreamResponseListener.Input
- java.lang.Object
-
- java.io.InputStream
-
- org.eclipse.jetty.client.util.InputStreamResponseListener.Input
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- InputStreamResponseListener
private class InputStreamResponseListener.Input extends java.io.InputStream
-
-
Constructor Summary
Constructors Modifier Constructor Description privateInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intread()intread(byte[] b, int offset, int length)private java.io.IOExceptiontoIOException(java.lang.Throwable failure)
-
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Specified by:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
read
public int read(byte[] b, int offset, int length) throws java.io.IOException- Overrides:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
toIOException
private java.io.IOException toIOException(java.lang.Throwable failure)
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Overrides:
closein classjava.io.InputStream- Throws:
java.io.IOException
-
-