HTTPRequestDecoder
A ByteToMessageDecoder
used to decode HTTP requests. See the documentation on HTTPDecoder
for more.
typealias HTTPRequestDecoder = HTTPDecoder<HTTPServerRequestPart, HTTPServerResponsePart>
While the HTTPRequestDecoder
does not currently have a specific ordering requirement in the ChannelPipeline
(unlike HTTPResponseDecoder
), it is possible that it will develop one. For that reason, applications should try to ensure that the HTTPRequestDecoder
later in the ChannelPipeline
than the HTTPResponseEncoder
.
Rather than set this up manually, consider using ChannelPipeline.configureHTTPServerPipeline
.