class ProgressStream extends Object implements Closeable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
closed |
private com.fasterxml.jackson.databind.MappingIterator<ProgressMessage> |
iterator |
private static org.slf4j.Logger |
log |
private InputStream |
stream |
| Constructor and Description |
|---|
ProgressStream(InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
finalize() |
boolean |
hasNextMessage(String method,
URI uri) |
ProgressMessage |
nextMessage(String method,
URI uri) |
void |
tail(ProgressHandler handler,
String method,
URI uri) |
private static final org.slf4j.Logger log
private final InputStream stream
private final com.fasterxml.jackson.databind.MappingIterator<ProgressMessage> iterator
private volatile boolean closed
ProgressStream(InputStream stream) throws IOException
IOExceptionpublic boolean hasNextMessage(String method, URI uri) throws DockerException
DockerExceptionpublic ProgressMessage nextMessage(String method, URI uri) throws DockerException
DockerExceptionpublic void tail(ProgressHandler handler, String method, URI uri) throws DockerException
DockerExceptionprotected void finalize()
throws Throwable
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2015. All rights reserved.