private static class TransferEncodingParser.FixedLengthEncodingParser extends TransferEncodingParser
Modifier and Type | Field and Description |
---|---|
private int |
consumedLength |
private int |
expectedLength |
private AsynchronousBodyInputStream |
responseBody |
Constructor and Description |
---|
FixedLengthEncodingParser(AsynchronousBodyInputStream responseBody,
int expectedLength) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
parse(java.nio.ByteBuffer input) |
createChunkParser, createFixedLengthParser
private final int expectedLength
private final AsynchronousBodyInputStream responseBody
private volatile int consumedLength
FixedLengthEncodingParser(AsynchronousBodyInputStream responseBody, int expectedLength)
boolean parse(java.nio.ByteBuffer input) throws ParseException
parse
in class TransferEncodingParser
ParseException