public interface BodyConsumer extends ByteConsumer
BodyConsumer
is used to consume the body of an
HTTP message. Implementations of this consumer must provide the
Body
that has been consumed. If there is no body
associated with the consumer then an empty body is returned.Modifier and Type | Method and Description |
---|---|
Body |
getBody()
This is used to acquire the body that has been consumed.
|
consume, isFinished
Body getBody()
Part
objects.
Each part can then be read as an individual message.Copyright © 2021. All rights reserved.