This change prepares for future work to embed the connection multiplexer within the HTTP2ChannelHandler which will improve performance by removing the need for passing expensive InboundUserEvents.
Modifications:
Define a new protocol (OutboundStreamMultiplexer; named such to avoid confusion with the legacy handler, HTTP2StreamMultiplexer) which will later be used to abstract over the inline and legacy multiplexer code but at the moment should not change the logic.
Motivation:
This change prepares for future work to embed the connection multiplexer within the
HTTP2ChannelHandler
which will improve performance by removing the need for passing expensiveInboundUserEvent
s.Modifications:
OutboundStreamMultiplexer
; named such to avoid confusion with the legacy handler,HTTP2StreamMultiplexer
) which will later be used to abstract over the inline and legacy multiplexer code but at the moment should not change the logic.NIOHTTP2ConnectionDemultiplexer
->InboundStreamMultiplexer
Result:
Behaviour should be unchanged.