testTooLongFormFieldStandardDecoder() — netty Function Reference
Architecture documentation for the testTooLongFormFieldStandardDecoder() function in HttpPostRequestDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 36c2475a_9de5_5bde_1fa6_cdeb30679f08["testTooLongFormFieldStandardDecoder()"] d3dadcbe_07b1_86dc_3f34_5a56e9d1367e["HttpPostRequestDecoderTest"] 36c2475a_9de5_5bde_1fa6_cdeb30679f08 -->|defined in| d3dadcbe_07b1_86dc_3f34_5a56e9d1367e style 36c2475a_9de5_5bde_1fa6_cdeb30679f08 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpPostRequestDecoderTest.java lines 1087–1100
@Test
public void testTooLongFormFieldStandardDecoder() {
HttpRequest req = new DefaultHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST, "/");
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 testTooLongFormFieldStandardDecoder() do?
testTooLongFormFieldStandardDecoder() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpPostRequestDecoderTest.java.
Where is testTooLongFormFieldStandardDecoder() defined?
testTooLongFormFieldStandardDecoder() is defined in codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpPostRequestDecoderTest.java at line 1087.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free