Class StdStreamData

java.lang.Object
org.jclouds.docker.util.StdStreamData

public final class StdStreamData extends Object
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.
  • Method Details

    • getType

      public StdStreamData.StdStreamType 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