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.ByteBufferAccumulatorDeprecated.private intDeprecated.private final intDeprecated.private static final intDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionByteAccumulator(int maxOverallBufferSize) Deprecated.ByteAccumulator(int maxOverallBufferSize, org.eclipse.jetty.io.ByteBufferPool byteBufferPool) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLength(int read) Deprecated.voidclose()Deprecated.voidcopyChunk(byte[] buf, int offset, int length) Deprecated.voidcopyChunk(ByteBuffer buffer) Deprecated.ensureBuffer(int minAllocationSize) Deprecated.intDeprecated.voidtransferTo(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
-
ByteBufferAccumulatorinstead.