Class ClosingConnectionInputStream
java.lang.Object
java.io.InputStream
com.cloudbees.jenkins.plugins.bitbucket.client.ClosingConnectionInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
ConstructorDescriptionClosingConnectionInputStream
(org.apache.http.client.methods.CloseableHttpResponse response, org.apache.http.client.methods.HttpRequestBase method, org.apache.http.conn.HttpClientConnectionManager connectionmanager) -
Method Summary
Methods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
ClosingConnectionInputStream
public ClosingConnectionInputStream(org.apache.http.client.methods.CloseableHttpResponse response, org.apache.http.client.methods.HttpRequestBase method, org.apache.http.conn.HttpClientConnectionManager connectionmanager) throws UnsupportedOperationException, IOException
-
-
Method Details
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
mark
public void mark(int readlimit) - Overrides:
mark
in classInputStream
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classInputStream
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
reset
- Overrides:
reset
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-