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

Method metadata

xds/src/test/java/io/grpc/xds/RbacFilterTest.java:377–381  ·  view source on GitHub ↗
(String key, String value)

Source from the content-addressed store, hash-verified

375 }
376
377 private static Metadata metadata(String key, String value) {
378 Metadata metadata = new Metadata();
379 metadata.put(Metadata.Key.of(key, Metadata.ASCII_STRING_MARSHALLER), value);
380 return metadata;
381 }
382
383 private MethodDescriptor.Builder<Void, Void> method() {
384 return MethodDescriptor.<Void,Void>newBuilder()

Callers 1

headerParserMethod · 0.95

Calls 2

putMethod · 0.95
ofMethod · 0.45

Tested by

no test coverage detected