Home / Function/ acceptOutboundMessage() — netty Function Reference

acceptOutboundMessage() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6b4784d4_b5fc_814f_0098_129cc905597f["acceptOutboundMessage()"]
  14c61705_9541_276a_37fa_eaab6f15ec5a["HttpObjectEncoder"]
  6b4784d4_b5fc_814f_0098_129cc905597f -->|defined in| 14c61705_9541_276a_37fa_eaab6f15ec5a
  b0ddc820_c1a3_1132_127a_1624788c5f3b["write()"]
  b0ddc820_c1a3_1132_127a_1624788c5f3b -->|calls| 6b4784d4_b5fc_814f_0098_129cc905597f
  style 6b4784d4_b5fc_814f_0098_129cc905597f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java lines 589–599

    @Override
    @SuppressWarnings("ConditionCoveredByFurtherCondition")
    public boolean acceptOutboundMessage(Object msg) throws Exception {
        return msg == Unpooled.EMPTY_BUFFER ||
                msg == LastHttpContent.EMPTY_LAST_CONTENT ||
                msg instanceof FullHttpMessage ||
                msg instanceof HttpMessage ||
                msg instanceof LastHttpContent ||
                msg instanceof HttpContent ||
                msg instanceof ByteBuf || msg instanceof FileRegion;
    }

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free