Home / Function/ isAllowHalfClosure() — netty Function Reference

isAllowHalfClosure() — netty Function Reference

Architecture documentation for the isAllowHalfClosure() function in AbstractEpollChannel.java from the netty codebase.

Function java Buffer Search called by 2

Entity Profile

Dependency Diagram

graph TD
  d6bcc092_987d_0719_ef13_bc31c0683a82["isAllowHalfClosure()"]
  6a1b1970_2eef_b28f_03e7_8b11508deece["AbstractEpollChannel"]
  d6bcc092_987d_0719_ef13_bc31c0683a82 -->|defined in| 6a1b1970_2eef_b28f_03e7_8b11508deece
  5f895671_22b9_3323_41f0_a4efd4f3f9b4["shouldBreakEpollInReady()"]
  5f895671_22b9_3323_41f0_a4efd4f3f9b4 -->|calls| d6bcc092_987d_0719_ef13_bc31c0683a82
  0f938c96_9ae0_6ccc_0306_33c0df2458f1["shutdownInput()"]
  0f938c96_9ae0_6ccc_0306_33c0df2458f1 -->|calls| d6bcc092_987d_0719_ef13_bc31c0683a82
  style d6bcc092_987d_0719_ef13_bc31c0683a82 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java lines 260–266

    private static boolean isAllowHalfClosure(ChannelConfig config) {
        if (config instanceof EpollDomainSocketChannelConfig) {
            return ((EpollDomainSocketChannelConfig) config).isAllowHalfClosure();
        }
        return config instanceof SocketChannelConfig &&
                ((SocketChannelConfig) config).isAllowHalfClosure();
    }

Domain

Subdomains

Frequently Asked Questions

What does isAllowHalfClosure() do?
isAllowHalfClosure() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java.
Where is isAllowHalfClosure() defined?
isAllowHalfClosure() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/AbstractEpollChannel.java at line 260.
What calls isAllowHalfClosure()?
isAllowHalfClosure() is called by 2 function(s): shouldBreakEpollInReady, shutdownInput.

Analyze Your Own Codebase

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

Try Supermodel Free