serverReceivingInvalidClientPrefaceStringShouldHandleException() — netty Function Reference
Architecture documentation for the serverReceivingInvalidClientPrefaceStringShouldHandleException() function in Http2ConnectionHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 332cc398_8ef7_c5a0_bc84_bddf4ad764da["serverReceivingInvalidClientPrefaceStringShouldHandleException()"] e8b32c7d_fa9d_422b_0744_82047ac00ea5["Http2ConnectionHandlerTest"] 332cc398_8ef7_c5a0_bc84_bddf4ad764da -->|defined in| e8b32c7d_fa9d_422b_0744_82047ac00ea5 style 332cc398_8ef7_c5a0_bc84_bddf4ad764da fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java lines 324–333
@Test
public void serverReceivingInvalidClientPrefaceStringShouldHandleException() throws Exception {
when(connection.isServer()).thenReturn(true);
handler = newHandler();
handler.channelRead(ctx, copiedBuffer("BAD_PREFACE", UTF_8));
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 serverReceivingInvalidClientPrefaceStringShouldHandleException() do?
serverReceivingInvalidClientPrefaceStringShouldHandleException() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java.
Where is serverReceivingInvalidClientPrefaceStringShouldHandleException() defined?
serverReceivingInvalidClientPrefaceStringShouldHandleException() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2ConnectionHandlerTest.java at line 324.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free