AsciiString() — netty Function Reference
Architecture documentation for the AsciiString() function in HttpConversionUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 273d6294_af1a_7a8f_0edd_cc33cbf69c29["AsciiString()"] 0560b510_c1dc_0a46_6dca_e5dbfb67d807["HttpConversionUtil"] 273d6294_af1a_7a8f_0edd_cc33cbf69c29 -->|defined in| 0560b510_c1dc_0a46_6dca_e5dbfb67d807 e4140185_26f8_5319_cffa_a46eb5356b83["Http2Headers()"] e4140185_26f8_5319_cffa_a46eb5356b83 -->|calls| 273d6294_af1a_7a8f_0edd_cc33cbf69c29 849966b8_9d5a_0dc9_3c83_51cd80052f4f["setHttp2Authority()"] 849966b8_9d5a_0dc9_3c83_51cd80052f4f -->|calls| 273d6294_af1a_7a8f_0edd_cc33cbf69c29 2b39704e_e4e3_4202_4013_7a3ac2309d0e["setHttp2Scheme()"] 2b39704e_e4e3_4202_4013_7a3ac2309d0e -->|calls| 273d6294_af1a_7a8f_0edd_cc33cbf69c29 style 273d6294_af1a_7a8f_0edd_cc33cbf69c29 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/HttpConversionUtil.java lines 598–614
private static AsciiString toHttp2Path(URI uri) {
StringBuilder pathBuilder = new StringBuilder(length(uri.getRawPath()) +
length(uri.getRawQuery()) + length(uri.getRawFragment()) + 2);
if (!isNullOrEmpty(uri.getRawPath())) {
pathBuilder.append(uri.getRawPath());
}
if (!isNullOrEmpty(uri.getRawQuery())) {
pathBuilder.append('?');
pathBuilder.append(uri.getRawQuery());
}
if (!isNullOrEmpty(uri.getRawFragment())) {
pathBuilder.append('#');
pathBuilder.append(uri.getRawFragment());
}
String path = pathBuilder.toString();
return path.isEmpty() ? EMPTY_REQUEST_PATH : new AsciiString(path);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AsciiString() do?
AsciiString() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HttpConversionUtil.java.
Where is AsciiString() defined?
AsciiString() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HttpConversionUtil.java at line 598.
What calls AsciiString()?
AsciiString() is called by 3 function(s): Http2Headers, setHttp2Authority, setHttp2Scheme.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free