splitHeaderContentType() — netty Function Reference
Architecture documentation for the splitHeaderContentType() function in HttpPostRequestDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4fe3b4aa_c278_6cfa_8d8c_4f5013d85708["splitHeaderContentType()"] c721ebe8_e2cd_7857_55b8_e866744b355e["HttpPostRequestDecoder"] 4fe3b4aa_c278_6cfa_8d8c_4f5013d85708 -->|defined in| c721ebe8_e2cd_7857_55b8_e866744b355e af2ea126_3f54_0247_1e4c_14560b477a50["getMultipartDataBoundary()"] af2ea126_3f54_0247_1e4c_14560b477a50 -->|calls| 4fe3b4aa_c278_6cfa_8d8c_4f5013d85708 style 4fe3b4aa_c278_6cfa_8d8c_4f5013d85708 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostRequestDecoder.java lines 316–343
private static String[] splitHeaderContentType(String sb) {
int aStart;
int aEnd;
int bStart;
int bEnd;
int cStart;
int cEnd;
aStart = HttpPostBodyUtil.findNonWhitespace(sb, 0);
aEnd = sb.indexOf(';');
if (aEnd == -1) {
return new String[] { sb, "", "" };
}
bStart = HttpPostBodyUtil.findNonWhitespace(sb, aEnd + 1);
if (sb.charAt(aEnd - 1) == ' ') {
aEnd--;
}
bEnd = sb.indexOf(';', bStart);
if (bEnd == -1) {
bEnd = HttpPostBodyUtil.findEndOfString(sb);
return new String[] { sb.substring(aStart, aEnd), sb.substring(bStart, bEnd), "" };
}
cStart = HttpPostBodyUtil.findNonWhitespace(sb, bEnd + 1);
if (sb.charAt(bEnd - 1) == ' ') {
bEnd--;
}
cEnd = HttpPostBodyUtil.findEndOfString(sb);
return new String[] { sb.substring(aStart, aEnd), sb.substring(bStart, bEnd), sb.substring(cStart, cEnd) };
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does splitHeaderContentType() do?
splitHeaderContentType() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostRequestDecoder.java.
Where is splitHeaderContentType() defined?
splitHeaderContentType() is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostRequestDecoder.java at line 316.
What calls splitHeaderContentType()?
splitHeaderContentType() is called by 1 function(s): getMultipartDataBoundary.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free