FullHttpResponse() — netty Function Reference
Architecture documentation for the FullHttpResponse() function in HttpConversionUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d3b4c92a_bbd6_f058_19e0_e6693db2ccc6["FullHttpResponse()"] cca5f017_2e30_72b9_fc2a_eca3446d8058["HttpConversionUtil"] d3b4c92a_bbd6_f058_19e0_e6693db2ccc6 -->|defined in| cca5f017_2e30_72b9_fc2a_eca3446d8058 745f9797_2af2_8204_28cb_0ad4bef05465["addHttp3ToHttpHeaders()"] d3b4c92a_bbd6_f058_19e0_e6693db2ccc6 -->|calls| 745f9797_2af2_8204_28cb_0ad4bef05465 style d3b4c92a_bbd6_f058_19e0_e6693db2ccc6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java lines 180–199
static FullHttpResponse toFullHttpResponse(long streamId, Http3Headers http3Headers, ByteBufAllocator alloc,
boolean validateHttpHeaders) throws Http3Exception {
ByteBuf content = alloc.buffer();
HttpResponseStatus status = parseStatus(streamId, http3Headers.status());
// HTTP/3 does not define a way to carry the version or reason phrase that is included in an
// HTTP/1.1 status line.
FullHttpResponse msg = new DefaultFullHttpResponse(HttpVersion.HTTP_1_1, status, content,
validateHttpHeaders);
try {
addHttp3ToHttpHeaders(streamId, http3Headers, msg, false);
} catch (Http3Exception e) {
msg.release();
throw e;
} catch (Throwable t) {
msg.release();
throw streamError(streamId, Http3ErrorCode.H3_MESSAGE_ERROR,
"HTTP/3 to HTTP/1.x headers conversion error", t);
}
return msg;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does FullHttpResponse() do?
FullHttpResponse() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java.
Where is FullHttpResponse() defined?
FullHttpResponse() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java at line 180.
What does FullHttpResponse() call?
FullHttpResponse() calls 1 function(s): addHttp3ToHttpHeaders.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free