Home / Function/ constructorMustAcceptAllHttpMethods() — netty Function Reference

constructorMustAcceptAllHttpMethods() — netty Function Reference

Architecture documentation for the constructorMustAcceptAllHttpMethods() function in DefaultHttpRequestTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  69e0cc26_4acf_d2de_c29d_d1e2f6469b41["constructorMustAcceptAllHttpMethods()"]
  ede2b2a6_bd1f_83bc_7e1c_cc8e09e7d8ca["DefaultHttpRequestTest"]
  69e0cc26_4acf_d2de_c29d_d1e2f6469b41 -->|defined in| ede2b2a6_bd1f_83bc_7e1c_cc8e09e7d8ca
  style 69e0cc26_4acf_d2de_c29d_d1e2f6469b41 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/test/java/io/netty/handler/codec/http/DefaultHttpRequestTest.java lines 184–206

    @ParameterizedTest
    @ValueSource(strings = {
            "GET",
            "POST",
            "PUT",
            "HEAD",
            "DELETE",
            "OPTIONS",
            "CONNECT",
            "TRACE",
            "PATCH",
            "QUERY"
    })
    void constructorMustAcceptAllHttpMethods(String method) {
        new DefaultHttpRequest(HttpVersion.HTTP_1_0, new HttpMethod("GET") {
            @Override
            public AsciiString asciiName() {
                return new AsciiString(method);
            }
        }, "/");

        new DefaultHttpRequest(HttpVersion.HTTP_1_0, new HttpMethod(method), "/");
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free