Uses of Class
io.grpc.StatusException
-
Packages that use StatusException Package Description io.grpc The gRPC core public API.io.grpc.protobuf API for gRPC over Protocol Buffers, including tools for serializing and de-serializing protobuf messages.io.grpc.stub API for the Stub layer. -
-
Uses of StatusException in io.grpc
Methods in io.grpc that return StatusException Modifier and Type Method Description StatusException
Status. asException()
StatusException
Status. asException(Metadata trailers)
Same asStatus.asException()
but includes the provided trailers in the returned exception. -
Uses of StatusException in io.grpc.protobuf
Methods in io.grpc.protobuf that return StatusException Modifier and Type Method Description static StatusException
StatusProto. toStatusException(com.google.rpc.Status statusProto)
Convert aStatus
instance to aStatusException
.static StatusException
StatusProto. toStatusException(com.google.rpc.Status statusProto, Metadata metadata)
Convert aStatus
instance to aStatusException
with additional metadata.static StatusException
StatusProto. toStatusException(com.google.rpc.Status statusProto, Metadata metadata, Throwable cause)
Convert aStatus
instance to aStatusException
with additional metadata and the root exception thrown. -
Uses of StatusException in io.grpc.stub
Methods in io.grpc.stub that throw StatusException Modifier and Type Method Description boolean
BlockingClientCall. hasNext()
Wait for a value to be available from the server.RespT
BlockingClientCall. read()
Wait if necessary for a value to be available from the server.RespT
BlockingClientCall. read(long timeout, TimeUnit unit)
Wait with timeout, if necessary, for a value to be available from the server.boolean
BlockingClientCall. write(ReqT request)
Send a value to the stream for sending to server, wait if necessary for the grpc stream to be ready.boolean
BlockingClientCall. write(ReqT request, long timeout, TimeUnit unit)
Send a value to the stream for sending to server, wait if necessary for the grpc stream to be ready up to specified timeout.
-