Home / Function/ write() — netty Function Reference

write() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  92f89bf4_2b10_7968_2875_1890f0eed386["write()"]
  7bb99c84_0884_e59e_f284_a7da408d2406["State"]
  92f89bf4_2b10_7968_2875_1890f0eed386 -->|defined in| 7bb99c84_0884_e59e_f284_a7da408d2406
  a477195a_8699_0505_29de_529047b61e11["distribute()"]
  a477195a_8699_0505_29de_529047b61e11 -->|calls| 92f89bf4_2b10_7968_2875_1890f0eed386
  style 92f89bf4_2b10_7968_2875_1890f0eed386 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributor.java lines 606–613

        void write(int numBytes, Writer writer) throws Http2Exception {
            assert stream != null;
            try {
                writer.write(stream, numBytes);
            } catch (Throwable t) {
                throw connectionError(INTERNAL_ERROR, t, "byte distribution write error");
            }
        }

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free