serverReceivingInvalidClientSettingsAfterPrefaceShouldHandleException() — netty Function Reference
Architecture documentation for the serverReceivingInvalidClientSettingsAfterPrefaceShouldHandleException() function in Http2ConnectionHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 21524ab0_3899_a914_6cfd_be04addd57ee["serverReceivingInvalidClientSettingsAfterPrefaceShouldHandleException()"] e8b32c7d_fa9d_422b_0744_82047ac00ea5["Http2ConnectionHandlerTest"] 21524ab0_3899_a914_6cfd_be04addd57ee -->|defined in| e8b32c7d_fa9d_422b_0744_82047ac00ea5 style 21524ab0_3899_a914_6cfd_be04addd57ee fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java lines 335–347
@Test
public void serverReceivingInvalidClientSettingsAfterPrefaceShouldHandleException() throws Exception {
ByteBuf buf = ctx.alloc().buffer(FRAME_HEADER_LENGTH);
writeFrameHeaderInternal(buf, 0, SETTINGS, new Http2Flags().ack(true), 0);
when(connection.isServer()).thenReturn(true);
handler = newHandler();
handler.channelRead(ctx, Unpooled.wrappedBuffer(connectionPrefaceBuf(), buf));
ArgumentCaptor<ByteBuf> captor = ArgumentCaptor.forClass(ByteBuf.class);
verify(frameWriter).writeGoAway(eq(ctx), eq(Integer.MAX_VALUE), eq(PROTOCOL_ERROR.code()),
captor.capture(), eq(promise));
assertEquals(0, captor.getValue().refCnt());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does serverReceivingInvalidClientSettingsAfterPrefaceShouldHandleException() do?
serverReceivingInvalidClientSettingsAfterPrefaceShouldHandleException() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java.
Where is serverReceivingInvalidClientSettingsAfterPrefaceShouldHandleException() defined?
serverReceivingInvalidClientSettingsAfterPrefaceShouldHandleException() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java at line 335.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free