encodeHttpMessageLastContent() — netty Function Reference
Architecture documentation for the encodeHttpMessageLastContent() function in HttpObjectEncoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD dfbc1010_4c37_d8b8_04e1_8fae7a3f2b99["encodeHttpMessageLastContent()"] 14c61705_9541_276a_37fa_eaab6f15ec5a["HttpObjectEncoder"] dfbc1010_4c37_d8b8_04e1_8fae7a3f2b99 -->|defined in| 14c61705_9541_276a_37fa_eaab6f15ec5a 18cc7b78_3c6e_f726_9bf6_777174f30988["encode()"] 18cc7b78_3c6e_f726_9bf6_777174f30988 -->|calls| dfbc1010_4c37_d8b8_04e1_8fae7a3f2b99 a269521d_6b98_a05f_40e6_74c9bd5dcc51["throwUnexpectedMessageTypeEx()"] dfbc1010_4c37_d8b8_04e1_8fae7a3f2b99 -->|calls| a269521d_6b98_a05f_40e6_74c9bd5dcc51 3131a977_675c_cce9_b6b8_d3e0f586099a["checkContentState()"] dfbc1010_4c37_d8b8_04e1_8fae7a3f2b99 -->|calls| 3131a977_675c_cce9_b6b8_d3e0f586099a ebe34bd0_65f8_4408_a145_1b7768631692["encodeByteBufHttpContent()"] dfbc1010_4c37_d8b8_04e1_8fae7a3f2b99 -->|calls| ebe34bd0_65f8_4408_a145_1b7768631692 style dfbc1010_4c37_d8b8_04e1_8fae7a3f2b99 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java lines 249–266
private void encodeHttpMessageLastContent(ChannelHandlerContext ctx, H m, List<Object> out) throws Exception {
assert m instanceof LastHttpContent;
final LastHttpContent httpContent = (LastHttpContent) m;
try {
if (state != ST_INIT) {
throwUnexpectedMessageTypeEx(m, state);
}
final ByteBuf buf = encodeInitHttpMessage(ctx, m);
assert checkContentState(state);
encodeByteBufHttpContent(state, ctx, buf, httpContent.content(), httpContent.trailingHeaders(), out);
state = ST_INIT;
} finally {
httpContent.release();
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does encodeHttpMessageLastContent() do?
encodeHttpMessageLastContent() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java.
Where is encodeHttpMessageLastContent() defined?
encodeHttpMessageLastContent() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectEncoder.java at line 249.
What does encodeHttpMessageLastContent() call?
encodeHttpMessageLastContent() calls 3 function(s): checkContentState, encodeByteBufHttpContent, throwUnexpectedMessageTypeEx.
What calls encodeHttpMessageLastContent()?
encodeHttpMessageLastContent() is called by 1 function(s): encode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free