Home / Function/ setHttp3Authority() — netty Function Reference

setHttp3Authority() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  7eefba99_7507_a651_3901_606aed347eb7["setHttp3Authority()"]
  cca5f017_2e30_72b9_fc2a_eca3446d8058["HttpConversionUtil"]
  7eefba99_7507_a651_3901_606aed347eb7 -->|defined in| cca5f017_2e30_72b9_fc2a_eca3446d8058
  fced85db_4e33_478e_0d61_c9c5162401e1["Http3Headers()"]
  fced85db_4e33_478e_0d61_c9c5162401e1 -->|calls| 7eefba99_7507_a651_3901_606aed347eb7
  f9d03e90_9b3d_6401_30dc_63844358a8be["AsciiString()"]
  7eefba99_7507_a651_3901_606aed347eb7 -->|calls| f9d03e90_9b3d_6401_30dc_63844358a8be
  style 7eefba99_7507_a651_3901_606aed347eb7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java lines 527–541

    static void setHttp3Authority(@Nullable String authority, Http3Headers out) {
        // The authority MUST NOT include the deprecated "userinfo" subcomponent
        if (authority != null) {
            if (authority.isEmpty()) {
                out.authority(EMPTY_STRING);
            } else {
                int start = authority.indexOf('@') + 1;
                int length = authority.length() - start;
                if (length == 0) {
                    throw new IllegalArgumentException("authority: " + authority);
                }
                out.authority(new AsciiString(authority, start, length));
            }
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does setHttp3Authority() do?
setHttp3Authority() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java.
Where is setHttp3Authority() defined?
setHttp3Authority() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/HttpConversionUtil.java at line 527.
What does setHttp3Authority() call?
setHttp3Authority() calls 1 function(s): AsciiString.
What calls setHttp3Authority()?
setHttp3Authority() is called by 1 function(s): Http3Headers.

Analyze Your Own Codebase

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

Try Supermodel Free