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

Method LazyValue

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

A value set by the application.

(BinaryStreamMarshaller<T> marshaller, T value)

Source from the content-addressed store, hash-verified

927
928 /** A value set by the application. */
929 LazyValue(BinaryStreamMarshaller<T> marshaller, T value) {
930 this.marshaller = marshaller;
931 this.value = value;
932 }
933
934 InputStream toStream() {
935 return checkNotNull(marshaller.toStream(value), "null marshaller.toStream()");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected