java.lang.Object
org.eclipse.jetty.websocket.common.extensions.compress.ByteAccumulator
All Implemented Interfaces:
AutoCloseable

@Deprecated public class ByteAccumulator extends Object implements AutoCloseable
Deprecated.
use ByteBufferAccumulator instead.
  • Field Details

    • MIN_SPACE

      private static final int MIN_SPACE
      Deprecated.
      See Also:
    • accumulator

      private final org.eclipse.jetty.io.ByteBufferAccumulator accumulator
      Deprecated.
    • maxSize

      private final int maxSize
      Deprecated.
    • length

      private int length
      Deprecated.
  • Constructor Details

    • ByteAccumulator

      public ByteAccumulator(int maxOverallBufferSize)
      Deprecated.
    • ByteAccumulator

      public ByteAccumulator(int maxOverallBufferSize, org.eclipse.jetty.io.ByteBufferPool byteBufferPool)
      Deprecated.
  • Method Details

    • getLength

      public int getLength()
      Deprecated.
    • ensureBuffer

      public ByteBuffer ensureBuffer(int minAllocationSize)
      Deprecated.
    • addLength

      public void addLength(int read)
      Deprecated.
    • copyChunk

      public void copyChunk(byte[] buf, int offset, int length)
      Deprecated.
    • copyChunk

      public void copyChunk(ByteBuffer buffer)
      Deprecated.
    • transferTo

      public void transferTo(ByteBuffer buffer)
      Deprecated.
    • close

      public void close()
      Deprecated.
      Specified by:
      close in interface AutoCloseable