public final class NIOHTTPClientResponseAggregator : ChannelInboundHandler, RemovableChannelHandler

A ChannelInboundHandler that handles HTTP chunked HTTPClientResponsePart messages by aggregating individual message chunks into a single NIOHTTPClientResponseFull.

This is achieved by buffering the contents of all received HTTPClientResponsePart messages until HTTPClientResponsePart.end is received, then assembling the full message and firing a channel read upstream with it. Useful when you do not want to deal with chunked messages and just want to receive everything at once, and are happy with the additional memory used and delay handling of the message until everything has been received.

If NIOHTTPClientResponseAggregator encounters a message larger than maxContentLength, it discards the aggregated contents until the next HTTPClientResponsePart.end and signals that via fireUserInboundEventTriggered.