Home / Function/ CharSequence() — netty Function Reference

CharSequence() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3c813ea4_c726_47d2_d914_26009d72f08e["CharSequence()"]
  cca5f017_2e30_72b9_fc2a_eca3446d8058["HttpConversionUtil"]
  3c813ea4_c726_47d2_d914_26009d72f08e -->|defined in| cca5f017_2e30_72b9_fc2a_eca3446d8058
  style 3c813ea4_c726_47d2_d914_26009d72f08e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java lines 201–210

    private static CharSequence extractPath(CharSequence method, Http3Headers headers) {
        if (HttpMethod.CONNECT.asciiName().contentEqualsIgnoreCase(method)) {
            // See https://tools.ietf.org/html/rfc7231#section-4.3.6
            return checkNotNull(headers.authority(),
                    "authority header cannot be null in the conversion to HTTP/1.x");
        } else {
            return checkNotNull(headers.path(),
                    "path header cannot be null in conversion to HTTP/1.x");
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does CharSequence() do?
CharSequence() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java.
Where is CharSequence() defined?
CharSequence() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java at line 201.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free