Home / Function/ FullHttpMessage() — netty Function Reference

FullHttpMessage() — netty Function Reference

Architecture documentation for the FullHttpMessage() function in HttpObjectAggregator.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  770da0a2_17be_7e0f_3be6_42599f9a7d49["FullHttpMessage()"]
  a76e3e26_7290_bbe0_3351_75d99b1319d1["HttpObjectAggregator"]
  770da0a2_17be_7e0f_3be6_42599f9a7d49 -->|defined in| a76e3e26_7290_bbe0_3351_75d99b1319d1
  b8ee33cb_ed2b_8a79_5e35_ebb4d2354521["AggregatedFullHttpRequest()"]
  770da0a2_17be_7e0f_3be6_42599f9a7d49 -->|calls| b8ee33cb_ed2b_8a79_5e35_ebb4d2354521
  4832862b_54c5_1bca_ddf9_3646a1b72bf0["AggregatedFullHttpResponse()"]
  770da0a2_17be_7e0f_3be6_42599f9a7d49 -->|calls| 4832862b_54c5_1bca_ddf9_3646a1b72bf0
  style 770da0a2_17be_7e0f_3be6_42599f9a7d49 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java lines 203–216

    @Override
    protected FullHttpMessage beginAggregation(HttpMessage start, ByteBuf content) throws Exception {
        assert !(start instanceof FullHttpMessage);

        HttpUtil.setTransferEncodingChunked(start, false);

        if (start instanceof HttpRequest) {
            return new AggregatedFullHttpRequest((HttpRequest) start, content, null);
        } else if (start instanceof HttpResponse) {
            return new AggregatedFullHttpResponse((HttpResponse) start, content, null);
        } else {
            throw new Error("Unexpected http message type: " + className(start));
        }
    }

Subdomains

Frequently Asked Questions

What does FullHttpMessage() do?
FullHttpMessage() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java.
Where is FullHttpMessage() defined?
FullHttpMessage() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java at line 203.
What does FullHttpMessage() call?
FullHttpMessage() calls 2 function(s): AggregatedFullHttpRequest, AggregatedFullHttpResponse.

Analyze Your Own Codebase

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

Try Supermodel Free