Home / Function/ testCustomLowerCaseProtocolNonStrict() — netty Function Reference

testCustomLowerCaseProtocolNonStrict() — netty Function Reference

Architecture documentation for the testCustomLowerCaseProtocolNonStrict() function in HttpVersionParsingTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4c8679f6_c055_2937_eaa9_0b60541a2f2c["testCustomLowerCaseProtocolNonStrict()"]
  00ebfe61_03bc_fd95_3e17_ac055b32e5e3["HttpVersionParsingTest"]
  4c8679f6_c055_2937_eaa9_0b60541a2f2c -->|defined in| 00ebfe61_03bc_fd95_3e17_ac055b32e5e3
  style 4c8679f6_c055_2937_eaa9_0b60541a2f2c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpVersionParsingTest.java lines 64–71

    @Test
    void testCustomLowerCaseProtocolNonStrict() {
        HttpVersion version = HttpVersion.valueOf("mqtt/5.0");
        assertEquals("MQTT", version.protocolName());
        assertEquals(5, version.majorVersion());
        assertEquals(0, version.minorVersion());
        assertEquals("MQTT/5.0", version.text());
    }

Domain

Subdomains

Frequently Asked Questions

What does testCustomLowerCaseProtocolNonStrict() do?
testCustomLowerCaseProtocolNonStrict() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpVersionParsingTest.java.
Where is testCustomLowerCaseProtocolNonStrict() defined?
testCustomLowerCaseProtocolNonStrict() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpVersionParsingTest.java at line 64.

Analyze Your Own Codebase

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

Try Supermodel Free