Home / Function/ closeWithError() — netty Function Reference

closeWithError() — netty Function Reference

Architecture documentation for the closeWithError() function in AbstractHttp2StreamChannel.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  d9489d27_eb38_f479_449a_ad360854297d["closeWithError()"]
  bcb58015_0c85_17e2_f1b3_0c1ad3aaa388["AbstractHttp2StreamChannel"]
  d9489d27_eb38_f479_449a_ad360854297d -->|defined in| bcb58015_0c85_17e2_f1b3_0c1ad3aaa388
  913eecb4_a5fd_00ee_6dbc_41735192e10a["AbstractHttp2StreamChannel()"]
  913eecb4_a5fd_00ee_6dbc_41735192e10a -->|calls| d9489d27_eb38_f479_449a_ad360854297d
  215b8316_feb5_500b_88f8_49eff0eac336["close()"]
  d9489d27_eb38_f479_449a_ad360854297d -->|calls| 215b8316_feb5_500b_88f8_49eff0eac336
  style d9489d27_eb38_f479_449a_ad360854297d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java lines 625–628

    final void closeWithError(Http2Error error) {
        assert eventLoop().inEventLoop();
        unsafe.close(unsafe.voidPromise(), error);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does closeWithError() do?
closeWithError() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java.
Where is closeWithError() defined?
closeWithError() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java at line 625.
What does closeWithError() call?
closeWithError() calls 1 function(s): close.
What calls closeWithError()?
closeWithError() is called by 1 function(s): AbstractHttp2StreamChannel.

Analyze Your Own Codebase

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

Try Supermodel Free