Package org.jclouds.docker.util
Class StdStreamData
java.lang.Object
org.jclouds.docker.util.StdStreamData
Representation of single message from docker-raw-stream. It holds stream
type, data (payload) and flag which says if the payload was truncated. The
truncation can occur when the frame size is greater than
Integer.MAX_VALUE
.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Data from this message.getType()
Type of stream.boolean
Flag which says if the payload was truncated (because of size).
-
Method Details
-
getType
Type of stream.- Returns:
-
getPayload
public byte[] getPayload()Data from this message.- Returns:
- payload.
-
isTruncated
public boolean isTruncated()Flag which says if the payload was truncated (because of size).- Returns:
- true if truncated
-