testInvalidEscapeHeadersSequence() — netty Function Reference
Architecture documentation for the testInvalidEscapeHeadersSequence() function in StompSubframeDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ce8c8142_d322_4908_2e20_05e065cc1b28["testInvalidEscapeHeadersSequence()"] f11558ca_762b_56f8_ed96_df83259d279f["StompSubframeDecoderTest"] ce8c8142_d322_4908_2e20_05e065cc1b28 -->|defined in| f11558ca_762b_56f8_ed96_df83259d279f style ce8c8142_d322_4908_2e20_05e065cc1b28 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java lines 320–333
@Test
void testInvalidEscapeHeadersSequence() {
channel = new EmbeddedChannel(new StompSubframeDecoder(true));
ByteBuf incoming = Unpooled.wrappedBuffer(INVALID_ESCAPED_MESSAGE_FRAME.getBytes(UTF_8));
assertTrue(channel.writeInbound(incoming));
StompHeadersSubframe headersSubFrame = channel.readInbound();
assertNotNull(headersSubFrame);
assertTrue(headersSubFrame.decoderResult().isFailure());
assertEquals("received an invalid escape header sequence 'custom_invalid\\t'",
headersSubFrame.decoderResult().cause().getMessage());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testInvalidEscapeHeadersSequence() do?
testInvalidEscapeHeadersSequence() is a function in the netty codebase, defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java.
Where is testInvalidEscapeHeadersSequence() defined?
testInvalidEscapeHeadersSequence() is defined in codec-stomp/src/test/java/io/netty/handler/codec/stomp/StompSubframeDecoderTest.java at line 320.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free