This change prepares for future work to embed the connection demultiplexer within the HTTP2ChannelHandler which will improve performance by removing the need for passing expensive InboundUserEvents.
Modifications:
This first step defines a new protocol (NIOHTTP2ConnectionDemultiplexer) which will later be used to abstract over the embedded and legacy separate demultiplexer code but at the moment should not change the logic.
Motivation:
This change prepares for future work to embed the connection demultiplexer within the
HTTP2ChannelHandler
which will improve performance by removing the need for passing expensiveInboundUserEvent
s.Modifications:
This first step defines a new protocol (
NIOHTTP2ConnectionDemultiplexer
) which will later be used to abstract over the embedded and legacy separate demultiplexer code but at the moment should not change the logic.Result:
Behaviour should be unchanged.