public interface GrpcClientResponse<Req,Resp> extends GrpcReadStream<Resp>
messageHandler(Handler) to receive GrpcMessage and a endHandler(Handler) to be notified
of the end of the response.| Modifier and Type | Method and Description |
|---|---|
GrpcClientResponse<Req,Resp> |
endHandler(io.vertx.core.Handler<Void> handler) |
GrpcClientResponse<Req,Resp> |
errorHandler(io.vertx.core.Handler<GrpcError> handler) |
GrpcClientResponse<Req,Resp> |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
GrpcClientResponse<Req,Resp> |
fetch(long amount) |
GrpcClientResponse<Req,Resp> |
handler(io.vertx.core.Handler<Resp> handler) |
GrpcClientResponse<Req,Resp> |
messageHandler(io.vertx.core.Handler<GrpcMessage> handler) |
GrpcClientResponse<Req,Resp> |
pause() |
GrpcClientResponse<Req,Resp> |
resume() |
GrpcStatus |
status() |
String |
statusMessage() |
io.vertx.core.MultiMap |
trailers() |
collecting, encoding, end, headers, invalidMessageHandler, lastGrpcStatus status()
null when the status has not yet been receivedString statusMessage()
null when the status has not yet been received or not transmittedio.vertx.core.MultiMap trailers()
MultiMap to write metadata trailersGrpcClientResponse<Req,Resp> messageHandler(io.vertx.core.Handler<GrpcMessage> handler)
messageHandler in interface GrpcReadStream<Resp>GrpcClientResponse<Req,Resp> errorHandler(io.vertx.core.Handler<GrpcError> handler)
errorHandler in interface GrpcReadStream<Resp>GrpcClientResponse<Req,Resp> exceptionHandler(io.vertx.core.Handler<Throwable> handler)
exceptionHandler in interface GrpcReadStream<Resp>exceptionHandler in interface io.vertx.core.streams.ReadStream<Resp>exceptionHandler in interface io.vertx.core.streams.StreamBaseGrpcClientResponse<Req,Resp> handler(io.vertx.core.Handler<Resp> handler)
handler in interface GrpcReadStream<Resp>handler in interface io.vertx.core.streams.ReadStream<Resp>GrpcClientResponse<Req,Resp> endHandler(io.vertx.core.Handler<Void> handler)
endHandler in interface GrpcReadStream<Resp>endHandler in interface io.vertx.core.streams.ReadStream<Resp>GrpcClientResponse<Req,Resp> pause()
pause in interface GrpcReadStream<Resp>pause in interface io.vertx.core.streams.ReadStream<Resp>GrpcClientResponse<Req,Resp> resume()
resume in interface GrpcReadStream<Resp>resume in interface io.vertx.core.streams.ReadStream<Resp>GrpcClientResponse<Req,Resp> fetch(long amount)
fetch in interface GrpcReadStream<Resp>fetch in interface io.vertx.core.streams.ReadStream<Resp>Copyright © 2024 Eclipse. All rights reserved.