Home / Function/ allowPushTo() — netty Function Reference

allowPushTo() — netty Function Reference

Architecture documentation for the allowPushTo() function in DefaultHttp2Connection.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  99f1447c_1bfc_d9fe_4cb8_61a3bca25ad5["allowPushTo()"]
  4fff0ad9_a79c_4bdb_3e93_54ee4440ca84["DefaultEndpoint"]
  99f1447c_1bfc_d9fe_4cb8_61a3bca25ad5 -->|defined in| 4fff0ad9_a79c_4bdb_3e93_54ee4440ca84
  70d81cb4_4074_f43b_ccc8_18d7b3da8dc5["DefaultStream()"]
  70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| 99f1447c_1bfc_d9fe_4cb8_61a3bca25ad5
  style 99f1447c_1bfc_d9fe_4cb8_61a3bca25ad5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java lines 844–850

        @Override
        public void allowPushTo(boolean allow) {
            if (allow && server) {
                throw new IllegalArgumentException("Servers do not allow push");
            }
            pushToAllowed = allow;
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does allowPushTo() do?
allowPushTo() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java.
Where is allowPushTo() defined?
allowPushTo() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java at line 844.
What calls allowPushTo()?
allowPushTo() is called by 1 function(s): DefaultStream.

Analyze Your Own Codebase

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

Try Supermodel Free