Home / Function/ hasNext() — netty Function Reference

hasNext() — netty Function Reference

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

Function java ProtocolCodecs HTTP calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  d282a827_fd04_465d_df04_25424c24feae["hasNext()"]
  d07408ef_0ab6_54bb_c64e_0b5b9a0aac25["HttpPostMultipartRequestDecoder"]
  d282a827_fd04_465d_df04_25424c24feae -->|defined in| d07408ef_0ab6_54bb_c64e_0b5b9a0aac25
  44dc9a0e_9473_e766_e499_985b3abd1cad["InterfaceHttpData()"]
  44dc9a0e_9473_e766_e499_985b3abd1cad -->|calls| d282a827_fd04_465d_df04_25424c24feae
  14bf4991_d6de_e4ce_7aff_b5869c6e502f["checkDestroyed()"]
  d282a827_fd04_465d_df04_25424c24feae -->|calls| 14bf4991_d6de_e4ce_7aff_b5869c6e502f
  style d282a827_fd04_465d_df04_25424c24feae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostMultipartRequestDecoder.java lines 414–425

    @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/HttpPostMultipartRequestDecoder.java.
Where is hasNext() defined?
hasNext() is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostMultipartRequestDecoder.java at line 414.
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