private static class ServletUtils.ByteAccumulator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private byte[] |
bytes |
private java.nio.charset.Charset |
encoding |
private int |
length |
Constructor and Description |
---|
ByteAccumulator(int capacity,
java.nio.charset.Charset encoding) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
append(byte b) |
(package private) void |
dumpTo(java.lang.StringBuilder dest) |
private void |
ensureCapacity(int minCapacity) |
(package private) boolean |
isEmpty() |