Home / Function/ assertRstOnCloseException() — netty Function Reference

assertRstOnCloseException() — netty Function Reference

Architecture documentation for the assertRstOnCloseException() function in SocketRstTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d1200b2d_a1e8_24ed_5021_2bdcd5a95c09["assertRstOnCloseException()"]
  49269f3a_ca3a_ac33_2872_1943eba9e232["SocketRstTest"]
  d1200b2d_a1e8_24ed_5021_2bdcd5a95c09 -->|defined in| 49269f3a_ca3a_ac33_2872_1943eba9e232
  a68e8401_69b3_66a0_c0c5_1a2ed1b42757["testSoLingerZeroCausesOnlyRstOnClose()"]
  a68e8401_69b3_66a0_c0c5_1a2ed1b42757 -->|calls| d1200b2d_a1e8_24ed_5021_2bdcd5a95c09
  style d1200b2d_a1e8_24ed_5021_2bdcd5a95c09 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketRstTest.java lines 39–44

    protected void assertRstOnCloseException(IOException cause, Channel clientChannel) {
        if (Locale.getDefault() == Locale.US || Locale.getDefault() == Locale.UK) {
            assertTrue(cause.getMessage().contains("reset") || cause.getMessage().contains("closed"),
                "actual message: " + cause.getMessage());
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does assertRstOnCloseException() do?
assertRstOnCloseException() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketRstTest.java.
Where is assertRstOnCloseException() defined?
assertRstOnCloseException() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketRstTest.java at line 39.
What calls assertRstOnCloseException()?
assertRstOnCloseException() is called by 1 function(s): testSoLingerZeroCausesOnlyRstOnClose.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free