AggregatedFullHttpResponse Class — netty Architecture
Architecture documentation for the AggregatedFullHttpResponse class in HttpObjectAggregator.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 8f33ac62_f5aa_edba_1609_abfa233ea326["AggregatedFullHttpResponse"] d7f816ff_e297_16ff_345a_e6fb9dee8595["HttpObjectAggregator.java"] 8f33ac62_f5aa_edba_1609_abfa233ea326 -->|defined in| d7f816ff_e297_16ff_345a_e6fb9dee8595 4832862b_54c5_1bca_ddf9_3646a1b72bf0["AggregatedFullHttpResponse()"] 8f33ac62_f5aa_edba_1609_abfa233ea326 -->|method| 4832862b_54c5_1bca_ddf9_3646a1b72bf0 21063b22_0c35_7215_cdf8_3af125f9d78c["FullHttpResponse()"] 8f33ac62_f5aa_edba_1609_abfa233ea326 -->|method| 21063b22_0c35_7215_cdf8_3af125f9d78c 2beb27df_f08b_c4c1_348a_c052e330569b["HttpResponseStatus()"] 8f33ac62_f5aa_edba_1609_abfa233ea326 -->|method| 2beb27df_f08b_c4c1_348a_c052e330569b d05c7b28_abfb_bf40_6c25_dc4da5b81cbb["String()"] 8f33ac62_f5aa_edba_1609_abfa233ea326 -->|method| d05c7b28_abfb_bf40_6c25_dc4da5b81cbb
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java lines 485–565
private static final class AggregatedFullHttpResponse extends AggregatedFullHttpMessage
implements FullHttpResponse {
AggregatedFullHttpResponse(HttpResponse message, ByteBuf content, HttpHeaders trailingHeaders) {
super(message, content, trailingHeaders);
}
@Override
public FullHttpResponse copy() {
return replace(content().copy());
}
@Override
public FullHttpResponse duplicate() {
return replace(content().duplicate());
}
@Override
public FullHttpResponse retainedDuplicate() {
return replace(content().retainedDuplicate());
}
@Override
public FullHttpResponse replace(ByteBuf content) {
DefaultFullHttpResponse dup = new DefaultFullHttpResponse(getProtocolVersion(), getStatus(), content,
headers().copy(), trailingHeaders().copy());
dup.setDecoderResult(decoderResult());
return dup;
}
@Override
public FullHttpResponse setStatus(HttpResponseStatus status) {
((HttpResponse) message).setStatus(status);
return this;
}
@Override
public HttpResponseStatus getStatus() {
return ((HttpResponse) message).status();
}
@Override
public HttpResponseStatus status() {
return getStatus();
}
@Override
public FullHttpResponse setProtocolVersion(HttpVersion version) {
super.setProtocolVersion(version);
return this;
}
@Override
public FullHttpResponse retain(int increment) {
super.retain(increment);
return this;
}
@Override
public FullHttpResponse retain() {
super.retain();
return this;
}
@Override
public FullHttpResponse touch(Object hint) {
super.touch(hint);
return this;
}
@Override
public FullHttpResponse touch() {
super.touch();
return this;
}
@Override
public String toString() {
return HttpMessageUtil.appendFullResponse(new StringBuilder(256), this).toString();
}
}
Source
Frequently Asked Questions
What is the AggregatedFullHttpResponse class?
AggregatedFullHttpResponse is a class in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java.
Where is AggregatedFullHttpResponse defined?
AggregatedFullHttpResponse is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpObjectAggregator.java at line 485.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free