setHttp2Authority() — netty Function Reference
Architecture documentation for the setHttp2Authority() function in HttpConversionUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 849966b8_9d5a_0dc9_3c83_51cd80052f4f["setHttp2Authority()"] 0560b510_c1dc_0a46_6dca_e5dbfb67d807["HttpConversionUtil"] 849966b8_9d5a_0dc9_3c83_51cd80052f4f -->|defined in| 0560b510_c1dc_0a46_6dca_e5dbfb67d807 e4140185_26f8_5319_cffa_a46eb5356b83["Http2Headers()"] e4140185_26f8_5319_cffa_a46eb5356b83 -->|calls| 849966b8_9d5a_0dc9_3c83_51cd80052f4f 273d6294_af1a_7a8f_0edd_cc33cbf69c29["AsciiString()"] 849966b8_9d5a_0dc9_3c83_51cd80052f4f -->|calls| 273d6294_af1a_7a8f_0edd_cc33cbf69c29 style 849966b8_9d5a_0dc9_3c83_51cd80052f4f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/HttpConversionUtil.java lines 617–631
static void setHttp2Authority(String authority, Http2Headers 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
Calls
Called By
Source
Frequently Asked Questions
What does setHttp2Authority() do?
setHttp2Authority() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HttpConversionUtil.java.
Where is setHttp2Authority() defined?
setHttp2Authority() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HttpConversionUtil.java at line 617.
What does setHttp2Authority() call?
setHttp2Authority() calls 1 function(s): AsciiString.
What calls setHttp2Authority()?
setHttp2Authority() is called by 1 function(s): Http2Headers.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free