Package org.apache.dubbo.remoting.http12
Class CompositeInputStream
java.lang.Object
java.io.InputStream
org.apache.dubbo.remoting.http12.CompositeInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInputStream(InputStream inputStream) intvoidclose()intread()intread(byte[] b, int off, int len) Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
CompositeInputStream
public CompositeInputStream()
-
-
Method Details
-
addInputStream
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
available
public int available()- Overrides:
availablein classInputStream
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-