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 StatusExceptionStatus. asException()StatusExceptionStatus. 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 GetChannelResponseChannelzGrpc.ChannelzBlockingV2Stub. getChannel(GetChannelRequest request)Returns a single Channel, or else a NOT_FOUND code.GetServerResponseChannelzGrpc.ChannelzBlockingV2Stub. getServer(GetServerRequest request)Returns a single Server, or else a NOT_FOUND code.GetServersResponseChannelzGrpc.ChannelzBlockingV2Stub. getServers(GetServersRequest request)Gets all servers that exist in the process.GetServerSocketsResponseChannelzGrpc.ChannelzBlockingV2Stub. getServerSockets(GetServerSocketsRequest request)Gets all server sockets that exist in the process.GetSocketResponseChannelzGrpc.ChannelzBlockingV2Stub. getSocket(GetSocketRequest request)Returns a single Socket or else a NOT_FOUND code.GetSubchannelResponseChannelzGrpc.ChannelzBlockingV2Stub. getSubchannel(GetSubchannelRequest request)Returns a single Subchannel, or else a NOT_FOUND code.GetTopChannelsResponseChannelzGrpc.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 HealthCheckResponseHealthGrpc.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 StatusExceptionStatusProto. toStatusException(com.google.rpc.Status statusProto)Convert aStatusinstance to aStatusException.static StatusExceptionStatusProto. toStatusException(com.google.rpc.Status statusProto, Metadata metadata)Convert aStatusinstance to aStatusExceptionwith additional metadata.static StatusExceptionStatusProto. toStatusException(com.google.rpc.Status statusProto, Metadata metadata, Throwable cause)Convert aStatusinstance to aStatusExceptionwith 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.booleanBlockingClientCall. hasNext()Wait for a value to be available from the server.RespTBlockingClientCall. read()Wait if necessary for a value to be available from the server.RespTBlockingClientCall. read(long timeout, TimeUnit unit)Wait with timeout, if necessary, for a value to be available from the server.booleanBlockingClientCall. write(ReqT request)Send a value to the stream for sending to server, wait if necessary for the grpc stream to be ready.booleanBlockingClientCall. 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.
-