streamErrorShouldNotFireExceptionForOutbound() — netty Function Reference
Architecture documentation for the streamErrorShouldNotFireExceptionForOutbound() function in Http2FrameCodecTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6f9c28eb_dd19_8357_e1ea_cc52a7662d9b["streamErrorShouldNotFireExceptionForOutbound()"] 71f17950_8fc4_c3e9_2e13_384d1ac7ea2c["Http2FrameCodecTest"] 6f9c28eb_dd19_8357_e1ea_cc52a7662d9b -->|defined in| 71f17950_8fc4_c3e9_2e13_384d1ac7ea2c style 6f9c28eb_dd19_8357_e1ea_cc52a7662d9b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java lines 512–532
@Test
public void streamErrorShouldNotFireExceptionForOutbound() throws Exception {
frameInboundWriter.writeInboundHeaders(3, request, 31, false);
Http2Stream stream = frameCodec.connection().stream(3);
assertNotNull(stream);
StreamException streamEx = new StreamException(3, Http2Error.INTERNAL_ERROR, "foo");
frameCodec.onError(frameCodec.ctx, true, streamEx);
Http2FrameStreamEvent event = inboundHandler.readInboundMessageOrUserEvent();
assertEquals(Http2FrameStreamEvent.Type.State, event.type());
assertEquals(State.OPEN, event.stream().state());
Http2HeadersFrame headersFrame = inboundHandler.readInboundMessageOrUserEvent();
assertNotNull(headersFrame);
// No exception expected
inboundHandler.checkException();
assertNull(inboundHandler.readInboundMessageOrUserEvent());
}
Domain
Subdomains
Source
Frequently Asked Questions
What does streamErrorShouldNotFireExceptionForOutbound() do?
streamErrorShouldNotFireExceptionForOutbound() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java.
Where is streamErrorShouldNotFireExceptionForOutbound() defined?
streamErrorShouldNotFireExceptionForOutbound() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java at line 512.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free