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