MCPcopy Create free account
hub / github.com/grpc/grpc-java / headerCount

Method headerCount

api/src/main/java/io/grpc/Metadata.java:223–225  ·  view source on GitHub ↗

Returns the total number of key-value headers in this metadata, including duplicates.

()

Source from the content-addressed store, hash-verified

221
222 /** Returns the total number of key-value headers in this metadata, including duplicates. */
223 int headerCount() {
224 return size;
225 }
226
227 /**
228 * Returns true if a value is defined for the given key.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected