readTlvs() — netty Function Reference
Architecture documentation for the readTlvs() function in HAProxyMessage.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5d8ff0a3_25a7_a5ad_456b_201f7fd76744["readTlvs()"] 086e8ebe_0b5c_c158_91d0_e3710503e584["HAProxyMessage"] 5d8ff0a3_25a7_a5ad_456b_201f7fd76744 -->|defined in| 086e8ebe_0b5c_c158_91d0_e3710503e584 f4a83627_4b55_e57a_4cc8_cf8ebe863872["HAProxyMessage()"] f4a83627_4b55_e57a_4cc8_cf8ebe863872 -->|calls| 5d8ff0a3_25a7_a5ad_456b_201f7fd76744 style 5d8ff0a3_25a7_a5ad_456b_201f7fd76744 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyMessage.java lines 246–261
private static List<HAProxyTLV> readTlvs(final ByteBuf header) {
HAProxyTLV haProxyTLV = readNextTLV(header, 0);
if (haProxyTLV == null) {
return Collections.emptyList();
}
// In most cases there are less than 4 TLVs available
List<HAProxyTLV> haProxyTLVs = new ArrayList<HAProxyTLV>(4);
do {
haProxyTLVs.add(haProxyTLV);
if (haProxyTLV instanceof HAProxySSLTLV) {
haProxyTLVs.addAll(((HAProxySSLTLV) haProxyTLV).encapsulatedTLVs());
}
} while ((haProxyTLV = readNextTLV(header, 0)) != null);
return haProxyTLVs;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does readTlvs() do?
readTlvs() is a function in the netty codebase, defined in codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyMessage.java.
Where is readTlvs() defined?
readTlvs() is defined in codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyMessage.java at line 246.
What calls readTlvs()?
readTlvs() is called by 1 function(s): HAProxyMessage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free