Home / Function/ opposite() — netty Function Reference

opposite() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  dbf14d4c_8a91_79fe_ca23_9da946a65a2c["opposite()"]
  4fff0ad9_a79c_4bdb_3e93_54ee4440ca84["DefaultEndpoint"]
  dbf14d4c_8a91_79fe_ca23_9da946a65a2c -->|defined in| 4fff0ad9_a79c_4bdb_3e93_54ee4440ca84
  70d81cb4_4074_f43b_ccc8_18d7b3da8dc5["DefaultStream()"]
  70d81cb4_4074_f43b_ccc8_18d7b3da8dc5 -->|calls| dbf14d4c_8a91_79fe_ca23_9da946a65a2c
  16f2f769_8bc7_0881_c25f_fac903744c3d["isLocal()"]
  dbf14d4c_8a91_79fe_ca23_9da946a65a2c -->|calls| 16f2f769_8bc7_0881_c25f_fac903744c3d
  style dbf14d4c_8a91_79fe_ca23_9da946a65a2c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java lines 901–904

        @Override
        public Endpoint<? extends Http2FlowController> opposite() {
            return isLocal() ? remoteEndpoint : localEndpoint;
        }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does opposite() do?
opposite() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java.
Where is opposite() defined?
opposite() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java at line 901.
What does opposite() call?
opposite() calls 1 function(s): isLocal.
What calls opposite()?
opposite() 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