Home / Function/ encodeHttpContent() — netty Function Reference

encodeHttpContent() — netty Function Reference

Architecture documentation for the encodeHttpContent() function in HttpObjectEncoder.java from the netty codebase.

Function java ProtocolCodecs HTTP calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  73dee77d_2481_a5f6_e124_a913ffc8b63b["encodeHttpContent()"]
  14c61705_9541_276a_37fa_eaab6f15ec5a["HttpObjectEncoder"]
  73dee77d_2481_a5f6_e124_a913ffc8b63b -->|defined in| 14c61705_9541_276a_37fa_eaab6f15ec5a
  9ac1b386_8738_51d3_522c_d4e7b37c3049["encodeNotHttpMessageContentTypes()"]
  9ac1b386_8738_51d3_522c_d4e7b37c3049 -->|calls| 73dee77d_2481_a5f6_e124_a913ffc8b63b
  8e15dfab_2bf8_f636_56c6_05b88a79413b["encodeByteBufAndTrailers()"]
  73dee77d_2481_a5f6_e124_a913ffc8b63b -->|calls| 8e15dfab_2bf8_f636_56c6_05b88a79413b
  style 73dee77d_2481_a5f6_e124_a913ffc8b63b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java lines 458–467

    private void encodeHttpContent(ChannelHandlerContext ctx, HttpContent msg, List<Object> out) {
        assert state != ST_INIT;
        assert !(msg instanceof HttpMessage);
        assert !(msg instanceof LastHttpContent);
        try {
            this.encodeByteBufAndTrailers(state, ctx, out, msg.content(), null);
        } finally {
            msg.release();
        }
    }

Subdomains

Frequently Asked Questions

What does encodeHttpContent() do?
encodeHttpContent() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java.
Where is encodeHttpContent() defined?
encodeHttpContent() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java at line 458.
What does encodeHttpContent() call?
encodeHttpContent() calls 1 function(s): encodeByteBufAndTrailers.
What calls encodeHttpContent()?
encodeHttpContent() is called by 1 function(s): encodeNotHttpMessageContentTypes.

Analyze Your Own Codebase

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

Try Supermodel Free