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

Method stream

api/src/main/java/io/grpc/MethodDescriptor.java:148–148  ·  view source on GitHub ↗

Given a message, produce an InputStream for it so that it can be written to the wire. Where possible implementations should produce streams that are io.grpc.KnownLength to improve transport efficiency. @param value to serialize. @return serialized value as stream of bytes.

(T value)

Source from the content-addressed store, hash-verified

146 * @return serialized value as stream of bytes.
147 */
148 public InputStream stream(T value);
149
150 /**
151 * Given an {@link InputStream} parse it into an instance of the declared type so that it can be

Callers 15

basicExchangeHelperMethod · 0.65
testRoundtripMethod · 0.65
testPassthroughMethod · 0.65
testRoundtripMethod · 0.65
testMismatchMethod · 0.65
testAvailableMethod · 0.65
testEmptyMethod · 0.65
testDrainTo_allMethod · 0.65
testDrainTo_partialMethod · 0.65
testDrainTo_noneMethod · 0.65

Implementers 15

StringMarshallercore/src/testFixtures/java/io/grpc/int
LongMarshallercore/src/test/java/io/grpc/internal/Se
ByteArrayMarshallergcp-observability/src/test/java/io/grp
CensusTracingAnnotationEventTestcensus/src/test/java/io/grpc/census/Ce
CensusModulesTestcensus/src/test/java/io/grpc/census/Ce
MessageMarshallerprotobuf-lite/src/main/java/io/grpc/pr
InvocationCountMarshallerservices/src/test/java/io/grpc/protobu
StringMarshallerservices/src/test/java/io/grpc/protobu
IntegerMarshallerservices/src/test/java/io/grpc/protobu
ByteArrayMarshallerservices/src/main/java/io/grpc/protobu
IntegerMarshallerapi/src/testFixtures/java/io/grpc/Inte
StringMarshallerapi/src/testFixtures/java/io/grpc/Stri

Calls

no outgoing calls

Tested by 15

basicExchangeHelperMethod · 0.52
testRoundtripMethod · 0.52
testPassthroughMethod · 0.52
testRoundtripMethod · 0.52
testMismatchMethod · 0.52
testAvailableMethod · 0.52
testEmptyMethod · 0.52
testDrainTo_allMethod · 0.52
testDrainTo_partialMethod · 0.52
testDrainTo_noneMethod · 0.52