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

Method convertTrailers

okhttp/src/main/java/io/grpc/okhttp/Utils.java:52–54  ·  view source on GitHub ↗
(List<Header> http2Headers)

Source from the content-addressed store, hash-verified

50 }
51
52 public static Metadata convertTrailers(List<Header> http2Headers) {
53 return InternalMetadata.newMetadata(convertHeadersToArray(http2Headers));
54 }
55
56 @CheckReturnValue
57 private static byte[][] convertHeadersToArray(List<Header> http2Headers) {

Callers 1

Calls 2

newMetadataMethod · 0.95
convertHeadersToArrayMethod · 0.95

Tested by

no test coverage detected