Home / Function/ checkSupported() — netty Function Reference

checkSupported() — netty Function Reference

Architecture documentation for the checkSupported() function in AbstractMarshallingTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3a1c86a9_36f4_aa29_c8e6_55cc6795ec5f["checkSupported()"]
  23a4424a_951d_f5d7_16b4_bb07bd4a1e53["AbstractMarshallingTest"]
  3a1c86a9_36f4_aa29_c8e6_55cc6795ec5f -->|defined in| 23a4424a_951d_f5d7_16b4_bb07bd4a1e53
  a211ce50_a7b6_2c30_d3fa_7dd66ee61338["checkFactorySupported()"]
  3a1c86a9_36f4_aa29_c8e6_55cc6795ec5f -->|calls| a211ce50_a7b6_2c30_d3fa_7dd66ee61338
  style 3a1c86a9_36f4_aa29_c8e6_55cc6795ec5f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-marshalling/src/test/java/io/netty/handler/codec/marshalling/AbstractMarshallingTest.java lines 33–47

    @BeforeAll
    public static void checkSupported() throws Throwable {
        Throwable error = null;
        try {
            checkFactorySupported(Marshalling.getProvidedMarshallerFactory(SERIAL_FACTORY));
            checkFactorySupported(Marshalling.getProvidedMarshallerFactory(RIVER_FACTORY));
        } catch (Throwable cause) {
            // This may fail on Java 9+ depending on which command-line arguments are used when building.
            if (PlatformDependent.javaVersion() < 9) {
                throw cause;
            }
            error = cause;
        }
        assumeTrue(error == null, error + " was not null");
    }

Domain

Subdomains

Frequently Asked Questions

What does checkSupported() do?
checkSupported() is a function in the netty codebase, defined in codec-marshalling/src/test/java/io/netty/handler/codec/marshalling/AbstractMarshallingTest.java.
Where is checkSupported() defined?
checkSupported() is defined in codec-marshalling/src/test/java/io/netty/handler/codec/marshalling/AbstractMarshallingTest.java at line 33.
What does checkSupported() call?
checkSupported() calls 1 function(s): checkFactorySupported.

Analyze Your Own Codebase

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

Try Supermodel Free