testTooLongFormFieldMultipartDecoder() — netty Function Reference
Architecture documentation for the testTooLongFormFieldMultipartDecoder() function in HttpPostRequestDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD db129c20_9185_e149_11c8_44c94a257775["testTooLongFormFieldMultipartDecoder()"] d3dadcbe_07b1_86dc_3f34_5a56e9d1367e["HttpPostRequestDecoderTest"] db129c20_9185_e149_11c8_44c94a257775 -->|defined in| d3dadcbe_07b1_86dc_3f34_5a56e9d1367e style db129c20_9185_e149_11c8_44c94a257775 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpPostRequestDecoderTest.java lines 1112–1126
@Test
public void testTooLongFormFieldMultipartDecoder() {
HttpRequest req = new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST, "/");
req.headers().add("Content-Type", "multipart/form-data;boundary=be38b42a9ad2713f");
HttpPostRequestDecoder decoder = new HttpPostRequestDecoder(req, -1, 16 * 1024);
try {
decoder.offer(new DefaultHttpContent(Unpooled.wrappedBuffer(new byte[16 * 1024 + 1])));
fail();
} catch (DecoderException e) {
assertEquals(HttpPostRequestDecoder.TooLongFormFieldException.class, e.getClass());
}
decoder.destroy();
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testTooLongFormFieldMultipartDecoder() do?
testTooLongFormFieldMultipartDecoder() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpPostRequestDecoderTest.java.
Where is testTooLongFormFieldMultipartDecoder() defined?
testTooLongFormFieldMultipartDecoder() is defined in codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpPostRequestDecoderTest.java at line 1112.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free