Home / Function/ hasNext() — netty Function Reference

hasNext() — netty Function Reference

Architecture documentation for the hasNext() function in HttpPostStandardRequestDecoder.java from the netty codebase.

Function java ProtocolCodecs HTTP calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  ca5ddb4d_17e4_ec0c_d040_21dd1d6d0ef9["hasNext()"]
  9a5a01b4_1d50_03ee_e135_2164d7bf32cb["HttpPostStandardRequestDecoder"]
  ca5ddb4d_17e4_ec0c_d040_21dd1d6d0ef9 -->|defined in| 9a5a01b4_1d50_03ee_e135_2164d7bf32cb
  02dc3dfd_ef74_2c11_b216_3be9241512b5["InterfaceHttpData()"]
  02dc3dfd_ef74_2c11_b216_3be9241512b5 -->|calls| ca5ddb4d_17e4_ec0c_d040_21dd1d6d0ef9
  e737905a_6098_7c70_a961_e0b0dcc47c2c["checkDestroyed()"]
  ca5ddb4d_17e4_ec0c_d040_21dd1d6d0ef9 -->|calls| e737905a_6098_7c70_a961_e0b0dcc47c2c
  style ca5ddb4d_17e4_ec0c_d040_21dd1d6d0ef9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostStandardRequestDecoder.java lines 369–380

    @Override
    public boolean hasNext() {
        checkDestroyed();

        if (currentStatus == MultiPartStatus.EPILOGUE) {
            // OK except if end of list
            if (bodyListHttpDataRank >= bodyListHttpData.size()) {
                throw new EndOfDataDecoderException();
            }
        }
        return !bodyListHttpData.isEmpty() && bodyListHttpDataRank < bodyListHttpData.size();
    }

Subdomains

Frequently Asked Questions

What does hasNext() do?
hasNext() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostStandardRequestDecoder.java.
Where is hasNext() defined?
hasNext() is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostStandardRequestDecoder.java at line 369.
What does hasNext() call?
hasNext() calls 1 function(s): checkDestroyed.
What calls hasNext()?
hasNext() is called by 1 function(s): InterfaceHttpData.

Analyze Your Own Codebase

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

Try Supermodel Free