Package io.jenkins.docker.client
Class DockerMultiplexedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- io.jenkins.docker.client.DockerMultiplexedInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class DockerMultiplexedInputStream extends InputStream
De-multiplex anapplication/vnd.docker.raw-stream
as described on Docker API documentation- Author:
- Nicolas De Loof
-
-
Constructor Summary
Constructors Constructor Description DockerMultiplexedInputStream(InputStream in, String streamName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read()
int
read(byte[] b, int off, int len)
-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
DockerMultiplexedInputStream
public DockerMultiplexedInputStream(InputStream in, String streamName)
-
-
Method Detail
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
-