Class ByteAccumulator
java.lang.Object
org.eclipse.jetty.websocket.common.extensions.compress.ByteAccumulator
- All Implemented Interfaces:
AutoCloseable
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.eclipse.jetty.io.ByteBufferAccumulator
Deprecated.private int
Deprecated.private final int
Deprecated.private static final int
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionByteAccumulator
(int maxOverallBufferSize) Deprecated.ByteAccumulator
(int maxOverallBufferSize, org.eclipse.jetty.io.ByteBufferPool byteBufferPool) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLength
(int read) Deprecated.void
close()
Deprecated.void
copyChunk
(byte[] buf, int offset, int length) Deprecated.void
copyChunk
(ByteBuffer buffer) Deprecated.ensureBuffer
(int minAllocationSize) Deprecated.int
Deprecated.void
transferTo
(ByteBuffer buffer) Deprecated.
-
Field Details
-
MIN_SPACE
private static final int MIN_SPACEDeprecated.- See Also:
-
accumulator
private final org.eclipse.jetty.io.ByteBufferAccumulator accumulatorDeprecated. -
maxSize
private final int maxSizeDeprecated. -
length
private int lengthDeprecated.
-
-
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
Deprecated. -
addLength
public void addLength(int read) Deprecated. -
copyChunk
public void copyChunk(byte[] buf, int offset, int length) Deprecated. -
copyChunk
Deprecated. -
transferTo
Deprecated. -
close
public void close()Deprecated.- Specified by:
close
in interfaceAutoCloseable
-
ByteBufferAccumulator
instead.