Object() — netty Function Reference
Architecture documentation for the Object() function in HttpObjectAggregator.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c4eeab75_54d4_e13f_97c1_cd765960fa79["Object()"] a76e3e26_7290_bbe0_3351_75d99b1319d1["HttpObjectAggregator"] c4eeab75_54d4_e13f_97c1_cd765960fa79 -->|defined in| a76e3e26_7290_bbe0_3351_75d99b1319d1 d858686e_f189_b225_0770_937a272b055a["isContentLengthInvalid()"] c4eeab75_54d4_e13f_97c1_cd765960fa79 -->|calls| d858686e_f189_b225_0770_937a272b055a style c4eeab75_54d4_e13f_97c1_cd765960fa79 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java lines 161–176
private Object continueResponse(HttpMessage start, int maxContentLength, ChannelPipeline pipeline) {
if (HttpUtil.isUnsupportedExpectation(start)) {
// if the request contains an unsupported expectation, we return 417
pipeline.fireUserEventTriggered(HttpExpectationFailedEvent.INSTANCE);
return EXPECTATION_FAILED.retainedDuplicate();
} else if (HttpUtil.is100ContinueExpected(start)) {
// if the request contains 100-continue but the content-length is too large, we return 413
if (!isContentLengthInvalid(start, maxContentLength)) {
return CONTINUE.retainedDuplicate();
}
pipeline.fireUserEventTriggered(HttpExpectationFailedEvent.INSTANCE);
return TOO_LARGE.retainedDuplicate();
}
return null;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does Object() do?
Object() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java.
Where is Object() defined?
Object() is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java at line 161.
What does Object() call?
Object() calls 1 function(s): isContentLengthInvalid.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free