HttpRequest() — netty Function Reference
Architecture documentation for the HttpRequest() function in HttpConversionUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0a0b81ed_7412_0f91_9385_95c7c4a931c7["HttpRequest()"] cca5f017_2e30_72b9_fc2a_eca3446d8058["HttpConversionUtil"] 0a0b81ed_7412_0f91_9385_95c7c4a931c7 -->|defined in| cca5f017_2e30_72b9_fc2a_eca3446d8058 745f9797_2af2_8204_28cb_0ad4bef05465["addHttp3ToHttpHeaders()"] 0a0b81ed_7412_0f91_9385_95c7c4a931c7 -->|calls| 745f9797_2af2_8204_28cb_0ad4bef05465 style 0a0b81ed_7412_0f91_9385_95c7c4a931c7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java lines 259–276
static HttpRequest toHttpRequest(long streamId, Http3Headers http3Headers, boolean validateHttpHeaders)
throws Http3Exception {
// HTTP/3 does not define a way to carry the version identifier that is included in the HTTP/1.1 request line.
final CharSequence method = checkNotNull(http3Headers.method(),
"method header cannot be null in conversion to HTTP/1.x");
final CharSequence path = extractPath(method, http3Headers);
HttpRequest msg = new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.valueOf(method.toString()),
path.toString(), validateHttpHeaders);
try {
addHttp3ToHttpHeaders(streamId, http3Headers, msg.headers(), msg.protocolVersion(), false, true);
} catch (Http3Exception e) {
throw e;
} catch (Throwable t) {
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 HttpRequest() do?
HttpRequest() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java.
Where is HttpRequest() defined?
HttpRequest() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java at line 259.
What does HttpRequest() call?
HttpRequest() 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