accept() — netty Function Reference
Architecture documentation for the accept() function in Http3HeadersSink.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3e93004a_af2f_c154_00e3_da6f04fc3bc6["accept()"] 7f15a7d9_1c9f_da48_4b29_ed705f5855b4["Http3HeadersSink"] 3e93004a_af2f_c154_00e3_da6f04fc3bc6 -->|defined in| 7f15a7d9_1c9f_da48_4b29_ed705f5855b4 32d30781_9415_0458_7c5d_8612347eea84["validate()"] 3e93004a_af2f_c154_00e3_da6f04fc3bc6 -->|calls| 32d30781_9415_0458_7c5d_8612347eea84 style 3e93004a_af2f_c154_00e3_da6f04fc3bc6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/main/java/io/netty/handler/codec/http3/Http3HeadersSink.java lines 150–170
@Override
public void accept(CharSequence name, CharSequence value) {
headersLength += QpackHeaderField.sizeOf(name, value);
exceededMaxLength |= headersLength > maxHeaderListSize;
if (exceededMaxLength || validationException != null) {
// We don't store the header since we've already failed validation requirements.
return;
}
if (validate) {
try {
validate(headers, name);
} catch (Http3HeadersValidationException ex) {
validationException = ex;
return;
}
}
headers.add(name, value);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does accept() do?
accept() is a function in the netty codebase, defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3HeadersSink.java.
Where is accept() defined?
accept() is defined in codec-http3/src/main/java/io/netty/handler/codec/http3/Http3HeadersSink.java at line 150.
What does accept() call?
accept() calls 1 function(s): validate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free