Home / Function/ initBidirectionalStream() — netty Function Reference

initBidirectionalStream() — netty Function Reference

Architecture documentation for the initBidirectionalStream() function in Http3ServerConnectionHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c8025f8e_e01e_ec68_d533_e66f87074725["initBidirectionalStream()"]
  bf0c8de8_912a_8590_5f07_20a9e72e30d4["Http3ServerConnectionHandler"]
  c8025f8e_e01e_ec68_d533_e66f87074725 -->|defined in| bf0c8de8_912a_8590_5f07_20a9e72e30d4
  style c8025f8e_e01e_ec68_d533_e66f87074725 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ServerConnectionHandler.java lines 95–106

    @Override
    void initBidirectionalStream(ChannelHandlerContext ctx, QuicStreamChannel streamChannel) {
        ChannelPipeline pipeline = streamChannel.pipeline();
        Http3RequestStreamEncodeStateValidator encodeStateValidator = new Http3RequestStreamEncodeStateValidator();
        Http3RequestStreamDecodeStateValidator decodeStateValidator = new Http3RequestStreamDecodeStateValidator();
        // Add the encoder and decoder in the pipeline so we can handle Http3Frames
        pipeline.addLast(newCodec(encodeStateValidator, decodeStateValidator));
        pipeline.addLast(encodeStateValidator);
        pipeline.addLast(decodeStateValidator);
        pipeline.addLast(newRequestStreamValidationHandler(streamChannel, encodeStateValidator, decodeStateValidator));
        pipeline.addLast(requestStreamHandler);
    }

Domain

Subdomains

Frequently Asked Questions

What does initBidirectionalStream() do?
initBidirectionalStream() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ServerConnectionHandler.java.
Where is initBidirectionalStream() defined?
initBidirectionalStream() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3ServerConnectionHandler.java at line 95.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free