Uses of Class
io.grpc.Status
-
Packages that use Status Package Description io.grpc The gRPC core public API.io.grpc.grpclb io.grpc.inprocess The in-process transport which is for when a server is in the same process as the client.io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.netty The main transport implementation based on Netty, for both the client and the server.io.grpc.protobuf API for gRPC over Protocol Buffers, including tools for serializing and de-serializing protobuf messages.io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.rls io.grpc.servlet API that implements gRPC server as a servlet.io.grpc.servlet.jakarta API that implements gRPC server as a servlet.io.grpc.stub API for the Stub layer.io.grpc.util Utilities with advanced features in the core layer that user can optionally use. -
-
Uses of Status in io.grpc
Fields in io.grpc declared as Status Modifier and Type Field Description static StatusStatus. ABORTEDThe operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.static StatusStatus. ALREADY_EXISTSSome entity that we attempted to create (e.g., file or directory) already exists.static StatusStatus. CANCELLEDThe operation was cancelled (typically by the caller).static StatusStatus. DATA_LOSSUnrecoverable data loss or corruption.static StatusStatus. DEADLINE_EXCEEDEDDeadline expired before operation could complete.private StatusLoadBalancer.ErrorPicker. errorDeprecated.static StatusStatus. FAILED_PRECONDITIONOperation was rejected because the system is not in a state required for the operation's execution.static StatusStatus. INTERNALInternal errors.static StatusStatus. INVALID_ARGUMENTClient specified an invalid argument.static StatusStatus. NOT_FOUNDSome requested entity (e.g., file or directory) was not found.static StatusStatus. OKThe operation completed successfully.static StatusStatus. OUT_OF_RANGEOperation was attempted past the valid range.static StatusStatus. PERMISSION_DENIEDThe caller does not have permission to execute the specified operation.static StatusStatus. RESOURCE_EXHAUSTEDSome resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.private StatusConnectivityStateInfo. statusprivate StatusInternalConfigSelector.Result. statusprivate StatusLoadBalancer.PickResult. statusprivate StatusNameResolver.ConfigOrError. statusprivate StatusStatusException. statusprivate StatusStatusOr. statusprivate StatusStatusRuntimeException. statusstatic StatusStatus. UNAUTHENTICATEDThe request does not have valid authentication credentials for the operation.static StatusStatus. UNAVAILABLEThe service is currently unavailable.static StatusStatus. UNIMPLEMENTEDOperation is not implemented or not supported/enabled in this service.static StatusStatus. UNKNOWNUnknown error.Fields in io.grpc with type parameters of type Status Modifier and Type Field Description static Metadata.Key<Status>InternalStatus. CODE_KEYKey to bind status code to trailing metadata.(package private) static Metadata.Key<Status>Status. CODE_KEYKey to bind status code to trailing metadata.private static java.util.List<Status>Status. STATUS_LISTMethods in io.grpc that return Status Modifier and Type Method Description StatusLoadBalancer. acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses)Accepts newly resolved addresses from the name resolution system.StatusStatus. augmentDescription(java.lang.String additionalDetail)Create a derived instance ofStatusaugmenting the current description with additional detail.static StatusStatus. fromCode(Status.Code code)Return aStatusgiven a canonical errorStatus.Codeobject.private static StatusStatus. fromCodeValue(byte[] asciiCodeValue)static StatusStatus. fromCodeValue(int codeValue)Return aStatusgiven a canonical errorStatus.Codevalue.private static StatusStatus. fromCodeValueSlow(byte[] asciiCodeValue)static StatusStatus. fromThrowable(java.lang.Throwable t)Extract an errorStatusfrom the causal chain of aThrowable.StatusNameResolver.ConfigOrError. getError()Returns error status if exists, otherwise null.StatusConnectivityStateInfo. getStatus()Returns the status associated with the state.StatusInternalConfigSelector.Result. getStatus()Returns the status of the config selection operation.StatusLoadBalancer.PickResult. getStatus()The status associated with this result.StatusStatusException. getStatus()Returns the status code as aStatusobject.StatusStatusOr. getStatus()Returns the status.StatusStatusRuntimeException. getStatus()Returns the status code as aStatusobject.StatusNameResolver.Listener2. onResult2(NameResolver.ResolutionResult resolutionResult)Handles updates on resolved addresses and attributes.StatusStatus.StatusCodeMarshaller. parseAsciiString(byte[] serialized)static StatusContexts. statusFromCancelled(Context context)Returns theStatusof a cancelled context ornullif the context is not cancelled.StatusStatus.Code. toStatus()Returns aStatusobject corresponding to this status code.StatusStatus. withCause(java.lang.Throwable cause)Create a derived instance ofStatuswith the given cause.StatusStatus. withDescription(java.lang.String description)Create a derived instance ofStatuswith the given description.Methods in io.grpc that return types with arguments of type Status Modifier and Type Method Description private static java.util.List<Status>Status. buildStatusList()Methods in io.grpc with parameters of type Status Modifier and Type Method Description static StatusRuntimeExceptionInternalStatus. asRuntimeException(Status status, Metadata trailers, boolean fillInStackTrace)Create a newStatusRuntimeExceptionwith the internal option of skipping the filling of the stack trace.voidPartialForwardingServerCall. close(Status status, Metadata trailers)abstract voidServerCall. close(Status status, Metadata trailers)Close the call with the provided status.abstract voidCallCredentials.MetadataApplier. fail(Status status)Called when there has been an error when preparing the headers.voidCompositeCallCredentials.CombiningMetadataApplier. fail(Status status)voidCompositeCallCredentials.WrappingMetadataApplier. fail(Status status)static InternalConfigSelector.ResultInternalConfigSelector.Result. forError(Status status)Creates aResultwith the given error status.(package private) static java.lang.StringStatus. formatThrowableMessage(Status status)static ConnectivityStateInfoConnectivityStateInfo. forTransientFailure(Status error)Returns an instance forTRANSIENT_FAILURE, associated with an error status.static NameResolver.ConfigOrErrorNameResolver.ConfigOrError. fromError(Status status)Returns aNameResolver.ConfigOrErrorfor the failure to parse the config.static <T> StatusOr<T>StatusOr. fromStatus(Status status)Construct from a non-Ok status.abstract voidLoadBalancer. handleNameResolutionError(Status error)Handles an error from the name resolution system.voidClientCall.Listener. onClose(Status status, Metadata trailers)The ClientCall has been closed.voidPartialForwardingClientCallListener. onClose(Status status, Metadata trailers)voidNameResolver.Listener. onError(Status error)Handles an error from the resolver.abstract voidNameResolver.Listener2. onError(Status error)Handles a name resolving error from the resolver.voidStreamTracer. streamClosed(Status status)Stream is closed.byte[]Status.StatusCodeMarshaller. toAsciiString(Status status)static LoadBalancer.PickResultLoadBalancer.PickResult. withDrop(Status status)A decision to fail an RPC immediately.static LoadBalancer.PickResultLoadBalancer.PickResult. withError(Status error)A decision to report a connectivity error to the RPC.Constructors in io.grpc with parameters of type Status Constructor Description ConfigOrError(Status status)ConnectivityStateInfo(ConnectivityState state, Status status)ErrorPicker(Status error)Deprecated.PickResult(LoadBalancer.Subchannel subchannel, ClientStreamTracer.Factory streamTracerFactory, Status status, boolean drop)Result(Status status, java.lang.Object config, ClientInterceptor interceptor)StatusException(Status status)Constructs an exception with both a status.StatusException(Status status, Metadata trailers)Constructs an exception with both a status and trailers.StatusException(Status status, Metadata trailers, boolean fillInStackTrace)StatusOr(Status status, T value)StatusRuntimeException(Status status)Constructs the exception with a status.StatusRuntimeException(Status status, Metadata trailers)Constructs the exception with both a status and trailers.StatusRuntimeException(Status status, Metadata trailers, boolean fillInStackTrace) -
Uses of Status in io.grpc.grpclb
Fields in io.grpc.grpclb declared as Status Modifier and Type Field Description (package private) static StatusGrpclbState. BALANCER_REQUESTED_FALLBACK_STATUS(package private) static StatusGrpclbState. BALANCER_TIMEOUT_STATUSprivate StatusGrpclbState. fallbackReason(package private) static StatusGrpclbState. NO_AVAILABLE_BACKENDS_STATUS(package private) static StatusGrpclbState. NO_FALLBACK_BACKENDS_STATUSprivate static StatusGrpclbState. NO_LB_ADDRESS_PROVIDED_STATUSprivate StatusGrpclbState.FallbackModeTask. reasonMethods in io.grpc.grpclb that return Status Modifier and Type Method Description StatusGrpclbLoadBalancer. acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses)Methods in io.grpc.grpclb with parameters of type Status Modifier and Type Method Description voidGrpclbLoadBalancer. handleNameResolutionError(Status error)private voidGrpclbState.LbStream. handleStreamClosed(Status error)(package private) voidGrpclbState. propagateError(Status status)voidGrpclbClientLoadRecorder.StreamTracer. streamClosed(Status status)Constructors in io.grpc.grpclb with parameters of type Status Constructor Description ErrorEntry(Status status)FallbackModeTask(Status reason) -
Uses of Status in io.grpc.inprocess
Fields in io.grpc.inprocess declared as Status Modifier and Type Field Description private StatusInProcessTransport.InProcessStream.InProcessServerStream. clientNotifyStatusprivate StatusInProcessTransport. shutdownStatusMethods in io.grpc.inprocess that return Status Modifier and Type Method Description private static StatusInProcessTransport. cleanStatus(Status status, boolean includeCauseWithStatus)Returns a new status with the same code and description.Methods in io.grpc.inprocess with parameters of type Status Modifier and Type Method Description voidInProcessTransport.InProcessStream.InProcessClientStream. cancel(Status reason)voidInProcessTransport.InProcessStream.InProcessServerStream. cancel(Status status)private static StatusInProcessTransport. cleanStatus(Status status, boolean includeCauseWithStatus)Returns a new status with the same code and description.private voidInProcessTransport.InProcessStream.InProcessServerStream. clientCancelled(Status status)voidInProcessTransport.InProcessStream.InProcessServerStream. close(Status status, Metadata trailers)private ClientStreamInProcessTransport. failedClientStream(StatsTraceContext statsTraceCtx, Status status)private booleanInProcessTransport.InProcessStream.InProcessClientStream. internalCancel(Status serverListenerStatus, Status serverTracerStatus)private booleanInProcessTransport.InProcessStream.InProcessServerStream. internalCancel(Status clientStatus)private voidInProcessTransport.InProcessStream.InProcessServerStream. notifyClientClose(Status status, Metadata trailers)clientStream.serverClosed() must be called before this methodprivate voidInProcessTransport. notifyShutdown(Status s)private voidInProcessTransport.InProcessStream.InProcessClientStream. serverClosed(Status serverListenerStatus, Status serverTracerStatus)voidInProcessTransport. shutdown(Status reason)voidInProcessTransport. shutdownNow(Status reason) -
Uses of Status in io.grpc.internal
Fields in io.grpc.internal declared as Status Modifier and Type Field Description private StatusRetriableStream. cancellationStatusprivate static StatusRetriableStream. CANCELLED_BECAUSE_COMMITTEDprivate StatusAbstractServerStream.TransportState. closedStatusThe status that the application used to close this stream.private StatusDelayedClientCall. errorprivate StatusDelayedStream. errorprivate StatusDnsNameResolver.InternalResolutionResult. errorprivate StatusFailingClientStream. error(package private) StatusFailingClientTransport. errorprivate StatusClientCallImpl.ClientStreamListenerImpl. exceptionStatusprivate StatusAutoConfiguredLoadBalancerFactory.FailingPicker. failure(package private) static StatusSubchannelChannel. NOT_READY_ERRORprivate StatusCallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport. savedShutdownNowStatusprivate StatusCallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport. savedShutdownStatus(package private) static StatusManagedChannelImpl. SHUTDOWN_NOW_STATUS(package private) static StatusManagedChannelImpl. SHUTDOWN_STATUSprivate StatusServerImpl. shutdownNowStatusnon-nullif immediate shutdown has been requested.private StatusInternalSubchannel. shutdownReasonprivate StatusCallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport. shutdownStatus(package private) StatusDelayedClientTransport.PickerState. shutdownStatusWhenshutdownStatus != null && !hasPendingStreams(), then the transport is considered terminated.(package private) StatusManagedChannelImpl.UncommittedRetriableStreamsRegistry. shutdownStatus(package private) StatusDelayedClientCall.CloseListenerRunnable. statusprivate StatusGrpcUtil.Http2Error. statusprivate StatusRetriableStream.SavedCloseMasterListenerReason. status(package private) static StatusManagedChannelImpl. SUBCHANNEL_SHUTDOWN_STATUSprivate StatusHttp2ClientStreamTransportState. transportError(package private) static StatusSubchannelChannel. WAIT_FOR_READY_ERRORMethods in io.grpc.internal that return Status Modifier and Type Method Description StatusAutoConfiguredLoadBalancerFactory.NoopLoadBalancer. acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses)StatusPickFirstLeafLoadBalancer. acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses)StatusPickFirstLoadBalancer. acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses)(package private) StatusManagedChannelImpl.UncommittedRetriableStreamsRegistry. add(RetriableStream<?> retriableStream)Registers a RetriableStream and return null if not shutdown, otherwise just returns the shutdown Status.(package private) StatusClientCallImpl.CancellationHandler. formatDeadlineExceededStatus()(package private) StatusFailingClientStream. getError()static StatusGrpcUtil. httpStatusToGrpcStatus(int httpStatusCode)Maps HTTP error response status codes to transport codes, as defined in http-grpc-status-mapping.md.StatusManagedChannelImpl.NameResolverListener. onResult2(NameResolver.ResolutionResult resolutionResult)StatusRetryingNameResolver.RetryingListener. onResult2(NameResolver.ResolutionResult resolutionResult)(package private) abstract StatusRetriableStream. prestart()Runs pre-start tasks.static StatusGrpcUtil. replaceInappropriateControlPlaneStatus(Status status)Some status codes from the control plane are not appropritate to use in the data plane.StatusGrpcUtil.Http2Error. status()Gets theStatusassociated with this HTTP/2 code.static StatusGrpcUtil.Http2Error. statusForCode(long code)Looks up theStatusfrom the given HTTP/2 error code.private StatusHttp2ClientStreamTransportState. statusFromTrailers(Metadata trailers)Extract the response status from trailers.(package private) StatusAutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer. tryAcceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses)Returns non-OK status if the delegate rejects the resolvedAddresses (e.g.private StatusHttp2ClientStreamTransportState. validateInitialMetadata(Metadata headers)Inspect initial headers to make sure they conform to HTTP and gRPC, returning aStatuson failure.Methods in io.grpc.internal with parameters of type Status Modifier and Type Method Description private voidAbstractServerStream. addStatusToTrailers(Metadata trailers, Status status)voidAbstractClientStream. cancel(Status reason)voidAbstractClientStream.Sink. cancel(Status status)Tears down the stream, typically in the event of a timeout.voidAbstractServerStream. cancel(Status status)voidAbstractServerStream.Sink. cancel(Status status)Tears down the stream, typically in the event of a timeout.voidClientStream. cancel(Status reason)Abnormally terminates the stream.private voidDelayedClientCall. cancel(Status status, boolean onlyCancelPendingCall)Cancels the call unlessrealCallis set andonlyCancelPendingCallis true.voidDelayedClientTransport.PendingStream. cancel(Status reason)voidDelayedStream. cancel(Status reason)voidForwardingClientStream. cancel(Status reason)voidNoopClientStream. cancel(Status status)voidRetriableStream. cancel(Status reason)voidServerStream. cancel(Status status)Tears down the stream, typically in the event of a timeout.voidAbstractServerStream. close(Status status, Metadata trailers)voidServerCallImpl. close(Status status, Metadata trailers)voidServerStream. close(Status status, Metadata trailers)Closes the stream for both reading and writing.voidClientCallImpl.ClientStreamListenerImpl. closed(Status status, ClientStreamListener.RpcProgress rpcProgress, Metadata trailers)voidClientStreamListener. closed(Status status, ClientStreamListener.RpcProgress rpcProgress, Metadata trailers)Called when the stream is fully closed.voidDelayedStream.DelayedStreamListener. closed(Status status, ClientStreamListener.RpcProgress rpcProgress, Metadata trailers)voidForwardingClientStreamListener. closed(Status status, ClientStreamListener.RpcProgress rpcProgress, Metadata trailers)voidRetriableStream.Sublistener. closed(Status status, ClientStreamListener.RpcProgress rpcProgress, Metadata trailers)voidServerCallImpl.ServerStreamListenerImpl. closed(Status status)voidServerImpl.JumpToApplicationThreadServerStreamListener. closed(Status status)voidServerImpl.NoopListener. closed(Status status)voidServerStreamListener. closed(Status status)Called when the stream is fully closed.private voidClientCallImpl.ClientStreamListenerImpl. closedInternal(Status status, ClientStreamListener.RpcProgress rpcProgress, Metadata trailers)private voidServerCallImpl.ServerStreamListenerImpl. closedInternal(Status status)private voidServerImpl.JumpToApplicationThreadServerStreamListener. closedInternal(Status status)private voidServerCallImpl. closeInternal(Status status, Metadata trailers)private voidAbstractClientStream.TransportState. closeListener(Status status, ClientStreamListener.RpcProgress rpcProgress, Metadata trailers)Closes the listener if not previously closed.private voidAbstractServerStream.TransportState. closeListener(Status newStatus)Closes the listener if not previously closed and frees resources.private voidClientCallImpl. closeObserver(ClientCall.Listener<RespT> observer, Status status, Metadata trailers)private voidClientCallImpl.ClientStreamListenerImpl. exceptionThrown(Status status)Cancels call and schedules onClose() notification.private voidManagedChannelImpl.ConfigSelectingClientCall. executeCloseObserverInContext(ClientCall.Listener<RespT> observer, Status status)voidMetadataApplierImpl. fail(Status status)private voidManagedChannelImpl.NameResolverListener. handleErrorInSyncContext(Status error)(package private) voidAutoConfiguredLoadBalancerFactory.AutoConfiguredLoadBalancer. handleNameResolutionError(Status error)voidAutoConfiguredLoadBalancerFactory.NoopLoadBalancer. handleNameResolutionError(Status error)voidPickFirstLeafLoadBalancer. handleNameResolutionError(Status error)voidPickFirstLoadBalancer. handleNameResolutionError(Status error)protected abstract voidHttp2ClientStreamTransportState. http2ProcessingFailed(Status status, boolean stopDelivery, Metadata trailers)Called to process a failure in HTTP/2 processing.protected voidAbstractClientStream.TransportState. inboundTrailersReceived(Metadata trailers, Status status)Processes the trailers and status from the server.private RetriableStream.HedgingPlanRetriableStream.Sublistener. makeHedgingDecision(Status status, Metadata trailer)private RetriableStream.RetryPlanRetriableStream.Sublistener. makeRetryDecision(Status status, Metadata trailer)Decides in current situation whether or not the RPC should retry and if it should retry how long the backoff should be.voidDelayedClientCall.DelayedListener. onClose(Status status, Metadata trailers)protected voidDelayedClientTransport.PendingStream. onEarlyCancellation(Status reason)protected voidDelayedStream. onEarlyCancellation(Status reason)voidManagedChannelImpl.NameResolverListener. onError(Status error)voidRetryingNameResolver.RetryingListener. onError(Status error)(package private) voidManagedChannelImpl.UncommittedRetriableStreamsRegistry. onShutdown(Status reason)(package private) voidManagedChannelImpl.UncommittedRetriableStreamsRegistry. onShutdownNow(Status reason)private java.lang.StringInternalSubchannel. printShortStatus(Status status)static StatusGrpcUtil. replaceInappropriateControlPlaneStatus(Status status)Some status codes from the control plane are not appropritate to use in the data plane.voidRetryingNameResolver.ResolutionResultListener. resolutionAttempted(Status successStatus)private voidRetriableStream. safeCloseMasterListener(Status status, ClientStreamListener.RpcProgress progress, Metadata metadata)private voidInternalSubchannel. scheduleBackoff(Status status)Only called after all addresses attempted and failed (TRANSIENT_FAILURE).private voidAbstractServerStream.TransportState. setClosedStatus(Status closeStatus)Stores theStatusthat the application used to close this stream.voidCallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport. shutdown(Status status)voidDelayedClientTransport. shutdown(Status status)Prevents creating any new streams.voidForwardingConnectionClientTransport. shutdown(Status status)voidInternalSubchannel. shutdown(Status reason)voidManagedClientTransport. shutdown(Status reason)Initiates an orderly shutdown of the transport.voidCallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport. shutdownNow(Status status)voidDelayedClientTransport. shutdownNow(Status status)Shuts down this transport and cancels all streams that it owns, hence immediately terminates this transport.voidForwardingConnectionClientTransport. shutdownNow(Status status)(package private) voidInternalSubchannel. shutdownNow(Status reason)voidManagedClientTransport. shutdownNow(Status reason)Initiates a forceful shutdown in which preexisting and new calls are closed.voidServerTransport. shutdownNow(Status reason)Initiates a forceful shutdown in which preexisting and new calls are closed.voidForwardingClientStreamTracer. streamClosed(Status status)voidStatsTraceContext. streamClosed(Status status)voidAbstractClientStream.TransportState. transportReportStatus(Status status, boolean stopDelivery, Metadata trailers)Report stream closure with status to the application layer if not already reported.voidAbstractClientStream.TransportState. transportReportStatus(Status status, ClientStreamListener.RpcProgress rpcProgress, boolean stopDelivery, Metadata trailers)Report stream closure with status to the application layer if not already reported.voidAbstractServerStream.TransportState. transportReportStatus(Status status)Notifies failure to the listener of the stream.voidInternalSubchannel.TransportListener. transportShutdown(Status s)voidManagedChannelImpl.DelayedTransportListener. transportShutdown(Status s)voidManagedClientTransport.Listener. transportShutdown(Status s)The transport is shutting down.DelayedClientTransport.PickerStateDelayedClientTransport.PickerState. withShutdownStatus(Status newShutdownStatus)voidAbstractServerStream.Sink. writeTrailers(Metadata trailers, boolean headersSent, Status status)Sends trailers to the remote end point.Constructors in io.grpc.internal with parameters of type Status Constructor Description CloseListenerRunnable(ClientCall.Listener<RespT> listener, Status status)FailingClientStream(Status error, ClientStreamTracer[] tracers)Creates aFailingClientStreamthat would fail with the given error.FailingClientStream(Status error, ClientStreamListener.RpcProgress rpcProgress, ClientStreamTracer[] tracers)Creates aFailingClientStreamthat would fail with the given error.FailingClientTransport(Status error, ClientStreamListener.RpcProgress rpcProgress)FailingPicker(Status failure)Http2Error(int code, Status status)PickerState(LoadBalancer.SubchannelPicker lastPicker, Status shutdownStatus)SavedCloseMasterListenerReason(Status status, ClientStreamListener.RpcProgress progress, Metadata metadata) -
Uses of Status in io.grpc.netty
Fields in io.grpc.netty declared as Status Modifier and Type Field Description private StatusNettyClientHandler. abruptGoAwayStatusprivate StatusNettyClientHandler. channelInactiveReasonprivate static StatusNettyClientHandler. EXHAUSTED_STREAMS_STATUSStatus used when the transport has exhausted the number of streams.private StatusCancelClientStreamCommand. reasonprivate StatusCancelServerStreamCommand. reasonprivate StatusClientTransportLifecycleManager. shutdownStatusnull iff !transportShutdown.private StatusForcefulCloseCommand. statusprivate StatusGracefulCloseCommand. statusprivate StatusSendResponseHeadersCommand. statusprivate StatusNettyClientTransport. statusExplainingWhyTheChannelIsNullIfNettyClientTransport.start(io.grpc.internal.ManagedClientTransport.Listener)has been called, non-nullif channel isnull.Methods in io.grpc.netty that return Status Modifier and Type Method Description StatusClientTransportLifecycleManager. getShutdownStatus()StatusForcefulCloseCommand. getStatus()StatusGracefulCloseCommand. getStatus()(package private) StatusCancelClientStreamCommand. reason()(package private) StatusCancelServerStreamCommand. reason()(package private) StatusSendResponseHeadersCommand. status()protected abstract StatusNettyClientStream.TransportState. statusFromFailedFuture(io.netty.channel.ChannelFuture f)Intended to be overridden by NettyClientTransport, which has more information about failures.private StatusNettyClientTransport. statusFromFailedFuture(io.netty.channel.ChannelFuture f)Convert ChannelFuture.cause() to a Status, taking into account that all handlers are removed from the pipeline when the channel is closed.private StatusNettyClientHandler. statusFromH2Error(Status.Code statusCode, java.lang.String context, long errorCode, byte[] debugData)IfstatusCodeis non-null, it will be used instead of the http2 error code mapping.static StatusUtils. statusFromThrowable(java.lang.Throwable t)Methods in io.grpc.netty with parameters of type Status Modifier and Type Method Description voidNettyClientStream.Sink. cancel(Status status)voidNettyServerStream.Sink. cancel(Status status)(package private) static SendResponseHeadersCommandSendResponseHeadersCommand. createTrailers(StreamIdHolder stream, io.netty.handler.codec.http2.Http2Headers headers, Status status)protected voidNettyClientStream.TransportState. http2ProcessingFailed(Status status, boolean stopDelivery, Metadata trailers)protected voidNettyServerStream.TransportState. http2ProcessingFailed(Status status)Called to process a failure in HTTP/2 processing.voidClientTransportLifecycleManager. notifyGracefulShutdown(Status s)Marks transport as shutdown, but does not set the error status.booleanClientTransportLifecycleManager. notifyShutdown(Status s)Returnstrueif was the first shutdown.voidClientTransportLifecycleManager. notifyTerminated(Status s)voidNettyClientTransport. shutdown(Status reason)voidNettyClientTransport. shutdownNow(Status reason)voidNettyServerTransport. shutdownNow(Status reason)(package private) static CancelServerStreamCommandCancelServerStreamCommand. withReason(NettyServerStream.TransportState stream, Status reason)(package private) static CancelServerStreamCommandCancelServerStreamCommand. withReset(NettyServerStream.TransportState stream, Status reason)voidNettyServerStream.Sink. writeTrailers(Metadata trailers, boolean headersSent, Status status)Constructors in io.grpc.netty with parameters of type Status Constructor Description CancelClientStreamCommand(NettyClientStream.TransportState stream, Status reason)CancelServerStreamCommand(NettyServerStream.TransportState stream, Status reason, CancelServerStreamCommand.PeerNotify peerNotify)ForcefulCloseCommand(Status status)GracefulCloseCommand(Status status)SendResponseHeadersCommand(StreamIdHolder stream, io.netty.handler.codec.http2.Http2Headers headers, Status status) -
Uses of Status in io.grpc.protobuf
Methods in io.grpc.protobuf that return Status Modifier and Type Method Description private static StatusStatusProto. toStatus(com.google.rpc.Status statusProto)Methods in io.grpc.protobuf with parameters of type Status Modifier and Type Method Description static com.google.rpc.StatusStatusProto. fromStatusAndTrailers(Status status, Metadata trailers)Extracts thegoogle.rpc.Statusfrom trailers, and makes sure they match the gRPCstatus. -
Uses of Status in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services with parameters of type Status Modifier and Type Method Description (package private) voidHealthCheckingLoadBalancerFactory.HealthCheckState.HcStream. handleStreamClosed(Status status)(package private) abstract voidBinlogHelper.SinkWriter. logTrailer(long seq, Status status, Metadata metadata, GrpcLogEntry.Logger logger, long callId, java.net.SocketAddress peerAddress)Logs the server trailer.(package private) voidBinlogHelper.SinkWriterImpl. logTrailer(long seq, Status status, Metadata metadata, GrpcLogEntry.Logger logger, long callId, java.net.SocketAddress peerAddress)voidHealthCheckingLoadBalancerFactory.HealthCheckState.HcStream. onClose(Status status, Metadata trailers) -
Uses of Status in io.grpc.rls
Fields in io.grpc.rls declared as Status Modifier and Type Field Description private StatusCachingRlsLbClient.BackoffCacheEntry. statusMethods in io.grpc.rls that return Status Modifier and Type Method Description StatusRlsLoadBalancer. acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses)(package private) static StatusCachingRlsLbClient. convertRlsServerStatus(Status status, java.lang.String serverName)Convert the status to UNAVAILABLE and enhance the error message.(package private) StatusCachingRlsLbClient.BackoffCacheEntry. getStatus()(package private) StatusCachingRlsLbClient.CachedRouteLookupResponse. getStatus()Methods in io.grpc.rls with parameters of type Status Modifier and Type Method Description (package private) static StatusCachingRlsLbClient. convertRlsServerStatus(Status status, java.lang.String serverName)Convert the status to UNAVAILABLE and enhance the error message.private CachingRlsLbClient.BackoffCacheEntryCachingRlsLbClient. createBackOffEntry(RlsProtoData.RouteLookupRequest request, Status status, BackoffPolicy backoffPolicy)voidRlsLoadBalancer. handleNameResolutionError(Status error)Constructors in io.grpc.rls with parameters of type Status Constructor Description BackoffCacheEntry(RlsProtoData.RouteLookupRequest request, Status status, BackoffPolicy backoffPolicy) -
Uses of Status in io.grpc.servlet
Methods in io.grpc.servlet with parameters of type Status Modifier and Type Method Description voidServletServerStream.Sink. cancel(Status status)voidServletServerBuilder.ServerTransportImpl. shutdownNow(Status reason)voidServletServerStream.Sink. writeTrailers(Metadata trailers, boolean headersSent, Status status) -
Uses of Status in io.grpc.servlet.jakarta
Methods in io.grpc.servlet.jakarta with parameters of type Status Modifier and Type Method Description voidServletServerStream.Sink. cancel(Status status)voidServletServerBuilder.ServerTransportImpl. shutdownNow(Status reason)voidServletServerStream.Sink. writeTrailers(Metadata trailers, boolean headersSent, Status status) -
Uses of Status in io.grpc.stub
Methods in io.grpc.stub with parameters of type Status Modifier and Type Method Description voidMetadataUtils.MetadataAttachingServerInterceptor.MetadataAttachingServerCall. close(Status status, Metadata trailers)voidClientCalls.BlockingResponseStream.QueuingListener. onClose(Status status, Metadata trailers)voidClientCalls.StreamObserverToCallListenerAdapter. onClose(Status status, Metadata trailers)voidClientCalls.UnaryStreamToFuture. onClose(Status status, Metadata trailers)voidMetadataUtils.MetadataCapturingClientInterceptor.MetadataCapturingClientCall.MetadataCapturingClientCallListener. onClose(Status status, Metadata trailers) -
Uses of Status in io.grpc.util
Fields in io.grpc.util declared as Status Modifier and Type Field Description StatusMultiChildLoadBalancer.AcceptResolvedAddrRetVal. statusMethods in io.grpc.util that return Status Modifier and Type Method Description StatusGracefulSwitchLoadBalancer. acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses)StatusMultiChildLoadBalancer. acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses)Override to completely replace the default logic or to do additional activities.StatusOutlierDetectionLoadBalancer. acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses)Methods in io.grpc.util with parameters of type Status Modifier and Type Method Description voidTransmitStatusRuntimeExceptionInterceptor.SerializingServerCall. close(Status status, Metadata trailers)voidForwardingLoadBalancer. handleNameResolutionError(Status error)voidMultiChildLoadBalancer. handleNameResolutionError(Status error)Handle the name resolution error.voidOutlierDetectionLoadBalancer. handleNameResolutionError(Status error)voidForwardingClientStreamTracer. streamClosed(Status status)Constructors in io.grpc.util with parameters of type Status Constructor Description AcceptResolvedAddrRetVal(Status status, java.util.List<MultiChildLoadBalancer.ChildLbState> removedChildren)
-