Class ChunkHolder


  • public final class ChunkHolder
    extends Object
    Holds a chunk or an indication that the end of the stream has been reached.
    • Field Detail

      • chunk

        @Nullable
        public Chunk chunk
        The chunk.
      • endOfStream

        public boolean endOfStream
        Indicates that the end of the stream has been reached.
    • Constructor Detail

      • ChunkHolder

        public ChunkHolder()
    • Method Detail

      • clear

        public void clear()
        Clears the holder.