Home / Function/ FullHttpRequest() — netty Function Reference

FullHttpRequest() — netty Function Reference

Architecture documentation for the FullHttpRequest() function in HttpConversionUtil.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  c9e66fcf_ea2b_b1d0_9e2c_28eb6a3f2038["FullHttpRequest()"]
  cca5f017_2e30_72b9_fc2a_eca3446d8058["HttpConversionUtil"]
  c9e66fcf_ea2b_b1d0_9e2c_28eb6a3f2038 -->|defined in| cca5f017_2e30_72b9_fc2a_eca3446d8058
  745f9797_2af2_8204_28cb_0ad4bef05465["addHttp3ToHttpHeaders()"]
  c9e66fcf_ea2b_b1d0_9e2c_28eb6a3f2038 -->|calls| 745f9797_2af2_8204_28cb_0ad4bef05465
  style c9e66fcf_ea2b_b1d0_9e2c_28eb6a3f2038 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java lines 225–245

    static FullHttpRequest toFullHttpRequest(long streamId, Http3Headers http3Headers, ByteBufAllocator alloc,
                                                    boolean validateHttpHeaders) throws Http3Exception {
        ByteBuf content = alloc.buffer();
        // 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);
        FullHttpRequest msg = new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.valueOf(method
                        .toString()), path.toString(), 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

Frequently Asked Questions

What does FullHttpRequest() do?
FullHttpRequest() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java.
Where is FullHttpRequest() defined?
FullHttpRequest() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java at line 225.
What does FullHttpRequest() call?
FullHttpRequest() 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