testDecodeFullHttpRequestWithInvalidCharset() — netty Function Reference
Architecture documentation for the testDecodeFullHttpRequestWithInvalidCharset() function in HttpPostMultiPartRequestDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a7468de7_dd27_d0e2_838a_a87a453523a4["testDecodeFullHttpRequestWithInvalidCharset()"] 8ca6727e_4177_9097_12de_7bccb17e5dea["HttpPostMultiPartRequestDecoderTest"] a7468de7_dd27_d0e2_838a_a87a453523a4 -->|defined in| 8ca6727e_4177_9097_12de_7bccb17e5dea style a7468de7_dd27_d0e2_838a_a87a453523a4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpPostMultiPartRequestDecoderTest.java lines 58–72
@Test
public void testDecodeFullHttpRequestWithInvalidCharset() {
FullHttpRequest req = new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST, "/");
req.headers().set(HttpHeaderNames.CONTENT_TYPE,
"multipart/form-data; boundary=--89421926422648 [; charset=UTF-8]");
try {
new HttpPostMultipartRequestDecoder(req);
fail("Was expecting an ErrorDataDecoderException");
} catch (HttpPostRequestDecoder.ErrorDataDecoderException expected) {
// expected
} finally {
assertTrue(req.release());
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testDecodeFullHttpRequestWithInvalidCharset() do?
testDecodeFullHttpRequestWithInvalidCharset() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpPostMultiPartRequestDecoderTest.java.
Where is testDecodeFullHttpRequestWithInvalidCharset() defined?
testDecodeFullHttpRequestWithInvalidCharset() is defined in codec-http/src/test/java/io/netty/handler/codec/http/multipart/HttpPostMultiPartRequestDecoderTest.java at line 58.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free