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

Method sendMessage

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

Send a response message. Messages are the primary form of communication associated with RPCs. Multiple response messages may exist for streaming calls. @param message response message. @throws IllegalStateException if headers not sent or call is #closed

(RespT message)

Source from the content-addressed store, hash-verified

137 * @throws IllegalStateException if headers not sent or call is {@link #close}d
138 */
139 public abstract void sendMessage(RespT message);
140
141 /**
142 * If {@code true}, indicates that the call is capable of sending additional messages

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected