addParam() — netty Function Reference
Architecture documentation for the addParam() function in QueryStringDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4c094595_cc15_5a23_b623_bfc4c254c1c7["addParam()"] d00d9a2a_c645_a4f5_2b84_a0ba6136e063["QueryStringDecoder"] 4c094595_cc15_5a23_b623_bfc4c254c1c7 -->|defined in| d00d9a2a_c645_a4f5_2b84_a0ba6136e063 d1846460_447b_2dbf_4429_1cb3617efc85["decodeParams()"] d1846460_447b_2dbf_4429_1cb3617efc85 -->|calls| 4c094595_cc15_5a23_b623_bfc4c254c1c7 style 4c094595_cc15_5a23_b623_bfc4c254c1c7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java lines 289–306
private boolean addParam(String s, int nameStart, int valueStart, int valueEnd,
Map<String, List<String>> params, Charset charset) {
if (nameStart >= valueEnd) {
return false;
}
if (valueStart <= nameStart) {
valueStart = valueEnd + 1;
}
String name = decodeComponent(s, nameStart, valueStart - 1, charset, htmlQueryDecoding);
String value = decodeComponent(s, valueStart, valueEnd, charset, htmlQueryDecoding);
List<String> values = params.get(name);
if (values == null) {
values = new ArrayList<String>(1); // Often there's only 1 value.
params.put(name, values);
}
values.add(value);
return true;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does addParam() do?
addParam() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java.
Where is addParam() defined?
addParam() is defined in codec-http/src/main/java/io/netty/handler/codec/http/QueryStringDecoder.java at line 289.
What calls addParam()?
addParam() is called by 1 function(s): decodeParams.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free