Home / Type/ Writer Type — netty Architecture

Writer Type — netty Architecture

Architecture documentation for the Writer type/interface in StreamByteDistributor.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0442e189_bf0e_b2b1_5c03_3ff4a8585528["Writer"]
  ed6553eb_f96d_ef7e_dd46_da04ed6bc35e["StreamByteDistributor.java"]
  0442e189_bf0e_b2b1_5c03_3ff4a8585528 -->|defined in| ed6553eb_f96d_ef7e_dd46_da04ed6bc35e
  style 0442e189_bf0e_b2b1_5c03_3ff4a8585528 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/StreamByteDistributor.java lines 62–72

    interface Writer {
        /**
         * Writes the allocated bytes for this stream.
         * <p>
         * Any {@link Throwable} thrown from this method is considered a programming error.
         * A {@code GOAWAY} frame will be sent and the will be connection closed.
         * @param stream the stream for which to perform the write.
         * @param numBytes the number of bytes to write.
         */
        void write(Http2Stream stream, int numBytes);
    }

Frequently Asked Questions

What is the Writer type?
Writer is a type/interface in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/StreamByteDistributor.java.
Where is Writer defined?
Writer is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/StreamByteDistributor.java at line 62.

Analyze Your Own Codebase

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

Try Supermodel Free