T - the type or response messagepublic interface BlockingStreamingGrpcServerResponse<T>
GrpcPayloadWriter.| Modifier and Type | Method and Description |
|---|---|
ContextMap |
context()
A response context that will be translated into
HttpMetaData.context(). |
GrpcPayloadWriter<T> |
sendMetaData()
Sends the response meta-data and returns a
GrpcPayloadWriter to continue writing the response messages. |
ContextMap context()
HttpMetaData.context().
This is an equivalent of GrpcMetadata.responseContext().
HttpMetaData.context()IllegalStateException - if sendMetaData() is already invokedGrpcMetadata.responseContext()GrpcPayloadWriter<T> sendMetaData()
GrpcPayloadWriter to continue writing the response messages.
Note: calling any other method on this class after calling this method is not allowed. Any modifications to the meta-data won't be visible after this method is invoked.
GrpcPayloadWriter to write response messages