public final class HTTPResponseDecoder : HTTPDecoder<HTTPClientResponsePart>, ChannelOutboundHandler

A ChannelInboundHandler used to decode HTTP responses. See the documentation on HTTPDecoder for more.

The HTTPResponseDecoder must be placed later in the channel pipeline than the HTTPRequestEncoder, as it needs to see the outbound messages in order to keep track of what the HTTP request methods were for accurate decoding.

Rather than set this up manually, consider using ChannelPipeline.addHTTPClientHandlers.