Home / Function/ testLowerCaseProtocolNameNonStrict() — netty Function Reference

testLowerCaseProtocolNameNonStrict() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/HttpVersionParsingTest.java lines 46–53

    @Test
    void testLowerCaseProtocolNameNonStrict() {
        HttpVersion version = HttpVersion.valueOf("http/1.1");
        assertEquals("HTTP", version.protocolName());
        assertEquals(1, version.majorVersion());
        assertEquals(1, version.minorVersion());
        assertEquals("HTTP/1.1", version.text());
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free