Uses of Class
io.grpc.StatusException
-
Packages that use StatusException Package Description io.grpc The gRPC core public API.io.grpc.channelz.v1 io.grpc.health.v1 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.channelz.v1
Methods in io.grpc.channelz.v1 that throw StatusException Modifier and Type Method Description GetChannelResponse
ChannelzGrpc.ChannelzBlockingV2Stub. getChannel(GetChannelRequest request)
Returns a single Channel, or else a NOT_FOUND code.GetServerResponse
ChannelzGrpc.ChannelzBlockingV2Stub. getServer(GetServerRequest request)
Returns a single Server, or else a NOT_FOUND code.GetServersResponse
ChannelzGrpc.ChannelzBlockingV2Stub. getServers(GetServersRequest request)
Gets all servers that exist in the process.GetServerSocketsResponse
ChannelzGrpc.ChannelzBlockingV2Stub. getServerSockets(GetServerSocketsRequest request)
Gets all server sockets that exist in the process.GetSocketResponse
ChannelzGrpc.ChannelzBlockingV2Stub. getSocket(GetSocketRequest request)
Returns a single Socket or else a NOT_FOUND code.GetSubchannelResponse
ChannelzGrpc.ChannelzBlockingV2Stub. getSubchannel(GetSubchannelRequest request)
Returns a single Subchannel, or else a NOT_FOUND code.GetTopChannelsResponse
ChannelzGrpc.ChannelzBlockingV2Stub. getTopChannels(GetTopChannelsRequest request)
Gets all root channels (i.e. -
Uses of StatusException in io.grpc.health.v1
Methods in io.grpc.health.v1 that throw StatusException Modifier and Type Method Description HealthCheckResponse
HealthGrpc.HealthBlockingV2Stub. check(HealthCheckRequest request)
If the requested service is unknown, the call will fail with status NOT_FOUND. -
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 static <ReqT,RespT>
RespTClientCalls. blockingV2UnaryCall(Channel channel, MethodDescriptor<ReqT,RespT> method, CallOptions callOptions, ReqT req)
Executes a unary call and blocks on the response, throws a checkedStatusException
.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.
-