testIllegalValueStartsWithNull() — netty Function Reference
Architecture documentation for the testIllegalValueStartsWithNull() function in SpdyHeaderBlockRawDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 589630e5_7978_3b89_d585_542bd78f0c71["testIllegalValueStartsWithNull()"] 9d24b120_0e9f_df39_05af_436eac53cd12["SpdyHeaderBlockRawDecoderTest"] 589630e5_7978_3b89_d585_542bd78f0c71 -->|defined in| 9d24b120_0e9f_df39_05af_436eac53cd12 style 589630e5_7978_3b89_d585_542bd78f0c71 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoderTest.java lines 259–274
@Test
public void testIllegalValueStartsWithNull() throws Exception {
ByteBuf headerBlock = Unpooled.buffer(22);
headerBlock.writeInt(1);
headerBlock.writeInt(4);
headerBlock.writeBytes(nameBytes);
headerBlock.writeInt(6);
headerBlock.writeByte(0);
headerBlock.writeBytes(valueBytes);
decoder.decode(ByteBufAllocator.DEFAULT, headerBlock, frame);
assertFalse(headerBlock.isReadable());
assertTrue(frame.isInvalid());
assertEquals(0, frame.headers().names().size());
headerBlock.release();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testIllegalValueStartsWithNull() do?
testIllegalValueStartsWithNull() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoderTest.java.
Where is testIllegalValueStartsWithNull() defined?
testIllegalValueStartsWithNull() is defined in codec-http/src/test/java/io/netty/handler/codec/spdy/SpdyHeaderBlockRawDecoderTest.java at line 259.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free