Commit Graph
1 Commits
Author SHA1 Message Date
Richard Low 1f94a6e620 Out of pipeline byte stream decoding (#1268)
* Add NIOSingleStepByteToMessageDecoder and NIOSingleStepByteToMessageProcessor
for processing byte streams outside of the channel pipeline.

Motivation:

ByteToMessageHandler works well when you can embed it in your pipeline, but if
you have a wrapped protocol (e.g. sending a protocol over HTTP), you can't use
it without losing the context of the outer protocol (e.g. HTTP headers/trailers).

Modifications:

Added NIOSingleStepByteToMessageDecoder and NIOSingleStepByteToMessageProcessor.

Result:

New functionality above.
2019-12-03 11:29:38 +00:00