Home / Function/ entries() — netty Function Reference

entries() — netty Function Reference

Architecture documentation for the entries() function in ReadOnlyHttpHeaders.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  cea9923b_ed65_51a8_fdf3_24547f04cfc4["entries()"]
  2bbea49a_9f02_fdb8_1113_8beb98d6647a["ReadOnlyHttpHeaders"]
  cea9923b_ed65_51a8_fdf3_24547f04cfc4 -->|defined in| 2bbea49a_9f02_fdb8_1113_8beb98d6647a
  e41567f5_1f82_6e36_d2db_c187666d198a["isEmpty()"]
  cea9923b_ed65_51a8_fdf3_24547f04cfc4 -->|calls| e41567f5_1f82_6e36_d2db_c187666d198a
  aa741bd4_20d0_0e55_204f_543461c6ad5b["size()"]
  cea9923b_ed65_51a8_fdf3_24547f04cfc4 -->|calls| aa741bd4_20d0_0e55_204f_543461c6ad5b
  style cea9923b_ed65_51a8_fdf3_24547f04cfc4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/ReadOnlyHttpHeaders.java lines 145–156

    @Override
    public List<Map.Entry<String, String>> entries() {
        if (isEmpty()) {
            return Collections.emptyList();
        }
        List<Map.Entry<String, String>> entries = new ArrayList<Map.Entry<String, String>>(size());
        for (int i = 0; i < nameValuePairs.length; i += 2) {
            entries.add(new SimpleImmutableEntry<String, String>(nameValuePairs[i].toString(),
                    nameValuePairs[i + 1].toString())); // [java/index-out-of-bounds]
        }
        return entries;
    }

Subdomains

Frequently Asked Questions

What does entries() do?
entries() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/ReadOnlyHttpHeaders.java.
Where is entries() defined?
entries() is defined in codec-http/src/main/java/io/netty/handler/codec/http/ReadOnlyHttpHeaders.java at line 145.
What does entries() call?
entries() calls 2 function(s): isEmpty, size.

Analyze Your Own Codebase

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

Try Supermodel Free