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

Method Key

api/src/main/java/io/grpc/Metadata.java:760–765  ·  view source on GitHub ↗
(String name, boolean pseudo, Object marshaller)

Source from the content-addressed store, hash-verified

758 }
759
760 private Key(String name, boolean pseudo, Object marshaller) {
761 this.originalName = checkNotNull(name, "name");
762 this.name = validateName(this.originalName.toLowerCase(Locale.ROOT), pseudo);
763 this.nameBytes = this.name.getBytes(US_ASCII);
764 this.marshaller = marshaller;
765 }
766
767 /**
768 * Returns the original name used to create this key.

Callers

nothing calls this directly

Calls 3

validateNameMethod · 0.95
checkNotNullMethod · 0.80
getBytesMethod · 0.80

Tested by

no test coverage detected