Class DockerLogStreamReader
java.lang.Object
org.jenkinsci.plugins.dockerbuildstep.log.container.DockerLogStreamReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
Stream support should be rolled into docker-java, see https://github.com/docker-java/docker-java/issues/42.
As a workaround we borrowed the decoding magic from https://github.com/spotify/docker-client.
- See Also:
-
Field Details
-
HEADER_SIZE
public static final int HEADER_SIZE- See Also:
-
FRAME_SIZE_OFFSET
public static final int FRAME_SIZE_OFFSET- See Also:
-
-
Constructor Details
-
DockerLogStreamReader
-
-
Method Details
-
nextMessage
- Throws:
IOException
-
finalize
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-