Home / Function/ write() — netty Function Reference

write() — netty Function Reference

Architecture documentation for the write() function in DefaultHttp2PushPromiseFrameTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  aeb65ee4_74e7_1854_a564_7bb01e9c4ce9["write()"]
  4f26c93c_0586_84ae_b8d6_c3389b56672c["ClientHandler"]
  aeb65ee4_74e7_1854_a564_7bb01e9c4ce9 -->|defined in| 4f26c93c_0586_84ae_b8d6_c3389b56672c
  9f97a1e6_7fc9_93e2_d999_dd39aa8de2ab["send()"]
  9f97a1e6_7fc9_93e2_d999_dd39aa8de2ab -->|calls| aeb65ee4_74e7_1854_a564_7bb01e9c4ce9
  style aeb65ee4_74e7_1854_a564_7bb01e9c4ce9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2PushPromiseFrameTest.java lines 176–187

        void write() throws InterruptedException {
            latch.await();
            Http2Headers http2Headers = new DefaultHttp2Headers();
            http2Headers.path("/")
                    .authority("localhost")
                    .method("GET")
                    .scheme("https");

            Http2HeadersFrame headersFrame = new DefaultHttp2HeadersFrame(http2Headers, true);
            headersFrame.stream(newStream());
            ctx.writeAndFlush(headersFrame);
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does write() do?
write() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2PushPromiseFrameTest.java.
Where is write() defined?
write() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2PushPromiseFrameTest.java at line 176.
What calls write()?
write() is called by 1 function(s): send.

Analyze Your Own Codebase

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

Try Supermodel Free