Package com.google.inject.servlet
Class ServletUtils.ByteAccumulator
- java.lang.Object
-
- com.google.inject.servlet.ServletUtils.ByteAccumulator
-
- Enclosing class:
- ServletUtils
private static class ServletUtils.ByteAccumulator extends java.lang.Object
Accumulates byte sequences while decoding strings, and encodes them into a StringBuilder.
-
-
Constructor Summary
Constructors Constructor Description ByteAccumulator(int capacity, java.nio.charset.Charset encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
append(byte b)
(package private) void
dumpTo(java.lang.StringBuilder dest)
private void
ensureCapacity(int minCapacity)
(package private) boolean
isEmpty()
-