Home / Function/ notifyLifecycleManagerOnError() — netty Function Reference

notifyLifecycleManagerOnError() — netty Function Reference

Architecture documentation for the notifyLifecycleManagerOnError() function in DefaultHttp2ConnectionEncoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  16870f01_7936_6d5a_1995_e011144a1ad6["notifyLifecycleManagerOnError()"]
  895939a0_f585_4538_b1ac_90be365f6464["DefaultHttp2ConnectionEncoder"]
  16870f01_7936_6d5a_1995_e011144a1ad6 -->|defined in| 895939a0_f585_4538_b1ac_90be365f6464
  f7c83e25_f1bc_4ff3_1eaa_ebd5521fad31["ChannelFuture()"]
  f7c83e25_f1bc_4ff3_1eaa_ebd5521fad31 -->|calls| 16870f01_7936_6d5a_1995_e011144a1ad6
  style 16870f01_7936_6d5a_1995_e011144a1ad6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoder.java lines 527–534

    private void notifyLifecycleManagerOnError(ChannelFuture future, final ChannelHandlerContext ctx) {
        future.addListener(future1 -> {
            Throwable cause = future1.cause();
            if (cause != null) {
                lifecycleManager.onError(ctx, true, cause);
            }
        });
    }

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free