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, isFinishedBody getBody()
Part objects.
Each part can then be read as an individual message.Copyright © 2024. All rights reserved.