testValidateHeadersDecodingEnabled() — netty Function Reference
Architecture documentation for the testValidateHeadersDecodingEnabled() function in StompSubframeDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 76e92612_9202_4690_e510_f11aa5c5f32c["testValidateHeadersDecodingEnabled()"] f11558ca_762b_56f8_ed96_df83259d279f["StompSubframeDecoderTest"] 76e92612_9202_4690_e510_f11aa5c5f32c -->|defined in| f11558ca_762b_56f8_ed96_df83259d279f style 76e92612_9202_4690_e510_f11aa5c5f32c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java lines 183–195
@Test
public void testValidateHeadersDecodingEnabled() {
channel = new EmbeddedChannel(new StompSubframeDecoder(true));
ByteBuf invalidIncoming = Unpooled.wrappedBuffer(FRAME_WITH_INVALID_HEADER.getBytes(UTF_8));
assertTrue(channel.writeInbound(invalidIncoming));
StompHeadersSubframe frame = channel.readInbound();
assertNotNull(frame);
assertTrue(frame.decoderResult().isFailure());
assertEquals("a header value or name contains a prohibited character ':', current-time:2000-01-01T00:00:00",
frame.decoderResult().cause().getMessage());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testValidateHeadersDecodingEnabled() do?
testValidateHeadersDecodingEnabled() is a function in the netty codebase, defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java.
Where is testValidateHeadersDecodingEnabled() defined?
testValidateHeadersDecodingEnabled() is defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java at line 183.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free