Home / Function/ getAll() — netty Function Reference

getAll() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/ReadOnlyHttpHeaders.java lines 129–143

    @Override
    public List<String> getAll(String name) {
        if (isEmpty()) {
            return Collections.emptyList();
        }
        final int nameHash = AsciiString.hashCode(name);
        List<String> values = new ArrayList<String>(4);
        for (int i = 0; i < nameValuePairs.length; i += 2) {
            CharSequence roName = nameValuePairs[i];
            if (AsciiString.hashCode(roName) == nameHash && contentEqualsIgnoreCase(roName, name)) {
                values.add(nameValuePairs[i + 1].toString());
            }
        }
        return values;
    }

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free