Home / Class/ HttpMessageDecoderResult Class — netty Architecture

HttpMessageDecoderResult Class — netty Architecture

Architecture documentation for the HttpMessageDecoderResult class in HttpMessageDecoderResult.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  b8ea17cd_5445_d61c_192d_99bd162233eb["HttpMessageDecoderResult"]
  cb495613_f161_11b7_c146_f01c18e02fe6["HttpMessageDecoderResult.java"]
  b8ea17cd_5445_d61c_192d_99bd162233eb -->|defined in| cb495613_f161_11b7_c146_f01c18e02fe6
  bac8b719_5407_c39f_30b2_29990de5daee["HttpMessageDecoderResult()"]
  b8ea17cd_5445_d61c_192d_99bd162233eb -->|method| bac8b719_5407_c39f_30b2_29990de5daee
  b9ff08a9_828a_20d0_4f8b_b367ec2f425b["initialLineLength()"]
  b8ea17cd_5445_d61c_192d_99bd162233eb -->|method| b9ff08a9_828a_20d0_4f8b_b367ec2f425b
  9f24870f_d4b5_63bc_fb9c_5e0f62003039["headerSize()"]
  b8ea17cd_5445_d61c_192d_99bd162233eb -->|method| 9f24870f_d4b5_63bc_fb9c_5e0f62003039
  5c652f6b_ad77_f3c6_beba_f521a382a7c1["totalSize()"]
  b8ea17cd_5445_d61c_192d_99bd162233eb -->|method| 5c652f6b_ad77_f3c6_beba_f521a382a7c1

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpMessageDecoderResult.java lines 27–58

public final class HttpMessageDecoderResult extends DecoderResult {

    private final int initialLineLength;
    private final int headerSize;

    HttpMessageDecoderResult(int initialLineLength, int headerSize) {
        super(SIGNAL_SUCCESS);
        this.initialLineLength = initialLineLength;
        this.headerSize = headerSize;
    }

    /**
     * The decoded initial line length (in bytes), as controlled by {@code maxInitialLineLength}.
     */
    public int initialLineLength() {
        return initialLineLength;
    }

    /**
     * The decoded header size (in bytes), as controlled by {@code maxHeaderSize}.
     */
    public int headerSize() {
        return headerSize;
    }

    /**
     * The decoded initial line length plus the decoded header size (in bytes).
     */
    public int totalSize() {
        return initialLineLength + headerSize;
    }
}

Frequently Asked Questions

What is the HttpMessageDecoderResult class?
HttpMessageDecoderResult is a class in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpMessageDecoderResult.java.
Where is HttpMessageDecoderResult defined?
HttpMessageDecoderResult is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpMessageDecoderResult.java at line 27.

Analyze Your Own Codebase

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

Try Supermodel Free