Uses of Class
io.grpc.Status
Packages that use Status
Package
Description
The gRPC core public API.
The in-process transport which is for when a server is in the same process as the client.
Interfaces and implementations that are internal to gRPC.
The main transport implementation based on Netty,
for both the client and the server.
API for gRPC over Protocol Buffers, including tools for serializing and de-serializing protobuf
messages.
Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.
API that implements gRPC server as a servlet.
API that implements gRPC server as a servlet.
API for the Stub layer.
Utilities with advanced features in the core layer that user can optionally use.
-
Uses of Status in io.grpc
Modifier and TypeFieldDescriptionstatic final StatusStatus.ABORTEDThe operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.static final StatusStatus.ALREADY_EXISTSSome entity that we attempted to create (e.g., file or directory) already exists.static final StatusStatus.CANCELLEDThe operation was cancelled (typically by the caller).static final StatusStatus.DATA_LOSSUnrecoverable data loss or corruption.static final StatusStatus.DEADLINE_EXCEEDEDDeadline expired before operation could complete.private final StatusLoadBalancer.ErrorPicker.errorDeprecated.static final StatusStatus.FAILED_PRECONDITIONOperation was rejected because the system is not in a state required for the operation's execution.static final StatusStatus.INTERNALInternal errors.static final StatusStatus.INVALID_ARGUMENTClient specified an invalid argument.static final StatusStatus.NOT_FOUNDSome requested entity (e.g., file or directory) was not found.static final StatusStatus.OKThe operation completed successfully.static final StatusStatus.OUT_OF_RANGEOperation was attempted past the valid range.static final StatusStatus.PERMISSION_DENIEDThe caller does not have permission to execute the specified operation.static final StatusStatus.RESOURCE_EXHAUSTEDSome resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.private final StatusConnectivityStateInfo.statusprivate final StatusInternalConfigSelector.Result.statusprivate final StatusLoadBalancer.PickResult.statusprivate final StatusNameResolver.ConfigOrError.statusprivate final StatusStatusException.statusprivate final StatusStatusOr.statusprivate final StatusStatusRuntimeException.statusstatic final StatusStatus.UNAUTHENTICATEDThe request does not have valid authentication credentials for the operation.static final StatusStatus.UNAVAILABLEThe service is currently unavailable.static final StatusStatus.UNIMPLEMENTEDOperation is not implemented or not supported/enabled in this service.static final StatusStatus.UNKNOWNUnknown error.Modifier and TypeFieldDescriptionstatic final Metadata.Key<Status> InternalStatus.CODE_KEYKey to bind status code to trailing metadata.(package private) static final Metadata.Key<Status> Status.CODE_KEYKey to bind status code to trailing metadata.Status.STATUS_LISTModifier and TypeMethodDescriptionLoadBalancer.acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses) Accepts newly resolved addresses from the name resolution system.Status.augmentDescription(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(Throwable t) NameResolver.ConfigOrError.getError()Returns error status if exists, otherwise null.ConnectivityStateInfo.getStatus()Returns the status associated with the state.InternalConfigSelector.Result.getStatus()Returns the status of the config selection operation.LoadBalancer.PickResult.getStatus()The status associated with this result.final StatusStatusException.getStatus()Returns the status code as aStatusobject.StatusOr.getStatus()Returns the status.final StatusStatusRuntimeException.getStatus()Returns the status code as aStatusobject.NameResolver.Listener2.onResult2(NameResolver.ResolutionResult resolutionResult) Handles updates on resolved addresses and attributes.Status.StatusCodeMarshaller.parseAsciiString(byte[] serialized) static StatusContexts.statusFromCancelled(Context context) Returns theStatusof a cancelled context ornullif the context is not cancelled.Status.Code.toStatus()Returns aStatusobject corresponding to this status code.Create a derived instance ofStatuswith the given cause.Status.withDescription(String description) Create a derived instance ofStatuswith the given description.Modifier and TypeMethodDescriptionstatic final StatusRuntimeExceptionInternalStatus.asRuntimeException(Status status, Metadata trailers, boolean fillInStackTrace) Create a newStatusRuntimeExceptionwith the internal option of skipping the filling of the stack trace.voidabstract voidClose the call with the provided status.abstract voidCalled when there has been an error when preparing the headers.voidvoidCreates aResultwith the given error status.(package private) static StringStatus.formatThrowableMessage(Status status) static ConnectivityStateInfoConnectivityStateInfo.forTransientFailure(Status error) Returns an instance forTRANSIENT_FAILURE, associated with an error status.static NameResolver.ConfigOrErrorReturns 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.voidThe ClientCall has been closed.voidvoidHandles an error from the resolver.abstract voidHandles a name resolving error from the resolver.voidStreamTracer.streamClosed(Status status) Stream is closed.byte[]Status.StatusCodeMarshaller.toAsciiString(Status status) static LoadBalancer.PickResultA decision to fail an RPC immediately.static LoadBalancer.PickResultA decision to report a connectivity error to the RPC.ModifierConstructorDescriptionprivateConfigOrError(Status status) privateConnectivityStateInfo(ConnectivityState state, Status status) ErrorPicker(Status error) Deprecated.privatePickResult(LoadBalancer.Subchannel subchannel, ClientStreamTracer.Factory streamTracerFactory, Status status, boolean drop) privateResult(Status status, 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.(package private)StatusException(Status status, Metadata trailers, boolean fillInStackTrace) privateStatusRuntimeException(Status status) Constructs the exception with a status.StatusRuntimeException(Status status, Metadata trailers) Constructs the exception with both a status and trailers.(package private)StatusRuntimeException(Status status, Metadata trailers, boolean fillInStackTrace) -
Uses of Status in io.grpc.grpclb
Fields in io.grpc.grpclb declared as StatusModifier and TypeFieldDescription(package private) static final StatusGrpclbState.BALANCER_REQUESTED_FALLBACK_STATUS(package private) static final StatusGrpclbState.BALANCER_TIMEOUT_STATUSprivate StatusGrpclbState.fallbackReason(package private) static final StatusGrpclbState.NO_AVAILABLE_BACKENDS_STATUS(package private) static final StatusGrpclbState.NO_FALLBACK_BACKENDS_STATUSprivate static final StatusGrpclbState.NO_LB_ADDRESS_PROVIDED_STATUSprivate final StatusGrpclbState.FallbackModeTask.reasonMethods in io.grpc.grpclb that return StatusModifier and TypeMethodDescriptionGrpclbLoadBalancer.acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses) Methods in io.grpc.grpclb with parameters of type StatusModifier and TypeMethodDescriptionvoidGrpclbLoadBalancer.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 StatusModifierConstructorDescription(package private)ErrorEntry(Status status) privateFallbackModeTask(Status reason) -
Uses of Status in io.grpc.inprocess
Fields in io.grpc.inprocess declared as StatusModifier and TypeFieldDescriptionprivate StatusInProcessTransport.InProcessStream.InProcessServerStream.clientNotifyStatusprivate StatusInProcessTransport.shutdownStatusMethods in io.grpc.inprocess that return StatusModifier and TypeMethodDescriptionprivate 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 StatusModifier and TypeMethodDescriptionvoidvoidprivate static StatusInProcessTransport.cleanStatus(Status status, boolean includeCauseWithStatus) Returns a new status with the same code and description.private voidInProcessTransport.InProcessStream.InProcessServerStream.clientCancelled(Status status) voidprivate 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) voidvoidInProcessTransport.shutdownNow(Status reason) -
Uses of Status in io.grpc.internal
Fields in io.grpc.internal declared as StatusModifier and TypeFieldDescriptionprivate StatusRetriableStream.cancellationStatusprivate static final StatusRetriableStream.CANCELLED_BECAUSE_COMMITTEDprivate StatusAbstractServerStream.TransportState.closedStatusThe status that the application used to close this stream.private StatusDelayedClientCall.errorprivate StatusDelayedStream.errorprivate StatusDnsNameResolver.InternalResolutionResult.errorprivate final StatusFailingClientStream.error(package private) final StatusFailingClientTransport.errorprivate StatusClientCallImpl.ClientStreamListenerImpl.exceptionStatusprivate final StatusAutoConfiguredLoadBalancerFactory.FailingPicker.failure(package private) static final StatusSubchannelChannel.NOT_READY_ERRORprivate StatusCallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport.savedShutdownNowStatusprivate StatusCallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport.savedShutdownStatus(package private) static final StatusManagedChannelImpl.SHUTDOWN_NOW_STATUS(package private) static final StatusManagedChannelImpl.SHUTDOWN_STATUSprivate StatusServerImpl.shutdownNowStatusnon-nullif immediate shutdown has been requested.private StatusInternalSubchannel.shutdownReasonprivate StatusCallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport.shutdownStatus(package private) final StatusDelayedClientTransport.PickerState.shutdownStatusWhenshutdownStatus != null && !hasPendingStreams(), then the transport is considered terminated.(package private) StatusManagedChannelImpl.UncommittedRetriableStreamsRegistry.shutdownStatus(package private) final StatusDelayedClientCall.CloseListenerRunnable.statusprivate final StatusGrpcUtil.Http2Error.statusprivate final StatusRetriableStream.SavedCloseMasterListenerReason.status(package private) static final StatusManagedChannelImpl.SUBCHANNEL_SHUTDOWN_STATUSprivate StatusHttp2ClientStreamTransportState.transportError(package private) static final StatusSubchannelChannel.WAIT_FOR_READY_ERRORMethods in io.grpc.internal that return StatusModifier and TypeMethodDescriptionAutoConfiguredLoadBalancerFactory.NoopLoadBalancer.acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses) PickFirstLeafLoadBalancer.acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses) PickFirstLoadBalancer.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.ManagedChannelImpl.NameResolverListener.onResult2(NameResolver.ResolutionResult resolutionResult) RetryingNameResolver.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.GrpcUtil.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 StatusModifier and TypeMethodDescriptionprivate voidAbstractServerStream.addStatusToTrailers(Metadata trailers, Status status) final voidvoidTears down the stream, typically in the event of a timeout.final voidvoidTears down the stream, typically in the event of a timeout.voidAbnormally terminates the stream.private voidCancels the call unlessrealCallis set andonlyCancelPendingCallis true.voidvoidvoidvoidfinal voidvoidTears down the stream, typically in the event of a timeout.final voidvoidvoidCloses 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) voidvoidvoidvoidCalled 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) voidprivate 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.voidprotected voidDelayedClientTransport.PendingStream.onEarlyCancellation(Status reason) protected voidDelayedStream.onEarlyCancellation(Status reason) voidvoid(package private) voidManagedChannelImpl.UncommittedRetriableStreamsRegistry.onShutdown(Status reason) (package private) voidManagedChannelImpl.UncommittedRetriableStreamsRegistry.onShutdownNow(Status reason) private 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.voidfinal voidPrevents creating any new streams.voidvoidvoidInitiates an orderly shutdown of the transport.voidCallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport.shutdownNow(Status status) final 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) final voidAbstractClientStream.TransportState.transportReportStatus(Status status, boolean stopDelivery, Metadata trailers) Report stream closure with status to the application layer if not already reported.final 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.final 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.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 StatusModifierConstructorDescription(package private)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.(package private)FailingClientTransport(Status error, ClientStreamListener.RpcProgress rpcProgress) (package private)FailingPicker(Status failure) privateHttp2Error(int code, Status status) privatePickerState(LoadBalancer.SubchannelPicker lastPicker, Status shutdownStatus) (package private)SavedCloseMasterListenerReason(Status status, ClientStreamListener.RpcProgress progress, Metadata metadata) -
Uses of Status in io.grpc.netty
Fields in io.grpc.netty declared as StatusModifier and TypeFieldDescriptionprivate StatusNettyClientHandler.abruptGoAwayStatusprivate StatusNettyClientHandler.channelInactiveReasonprivate static final StatusNettyClientHandler.EXHAUSTED_STREAMS_STATUSStatus used when the transport has exhausted the number of streams.private final StatusCancelClientStreamCommand.reasonprivate final StatusCancelServerStreamCommand.reasonprivate StatusClientTransportLifecycleManager.shutdownStatusnull iff !transportShutdown.private final StatusForcefulCloseCommand.statusprivate final StatusGracefulCloseCommand.statusprivate final StatusSendResponseHeadersCommand.statusprivate StatusNettyClientTransport.statusExplainingWhyTheChannelIsNullIfNettyClientTransport.start(io.grpc.internal.ManagedClientTransport.Listener)has been called, non-nullif channel isnull.Methods in io.grpc.netty that return StatusModifier and TypeMethodDescriptionClientTransportLifecycleManager.getShutdownStatus()ForcefulCloseCommand.getStatus()GracefulCloseCommand.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, String context, long errorCode, byte[] debugData) IfstatusCodeis non-null, it will be used instead of the http2 error code mapping.static StatusUtils.statusFromThrowable(Throwable t) Methods in io.grpc.netty with parameters of type StatusModifier and TypeMethodDescriptionvoidvoid(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) voidvoidNettyClientTransport.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 StatusModifierConstructorDescription(package private)CancelClientStreamCommand(NettyClientStream.TransportState stream, Status reason) privateCancelServerStreamCommand(NettyServerStream.TransportState stream, Status reason, CancelServerStreamCommand.PeerNotify peerNotify) ForcefulCloseCommand(Status status) GracefulCloseCommand(Status status) privateSendResponseHeadersCommand(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 StatusModifier and TypeMethodDescriptionprivate static StatusStatusProto.toStatus(com.google.rpc.Status statusProto) Methods in io.grpc.protobuf with parameters of type StatusModifier and TypeMethodDescriptionstatic 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 StatusModifier and TypeMethodDescription(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, SocketAddress peerAddress) Logs the server trailer.(package private) voidBinlogHelper.SinkWriterImpl.logTrailer(long seq, Status status, Metadata metadata, GrpcLogEntry.Logger logger, long callId, SocketAddress peerAddress) voidHealthCheckingLoadBalancerFactory.HealthCheckState.HcStream.onClose(Status status, Metadata trailers) -
Uses of Status in io.grpc.rls
Fields in io.grpc.rls declared as StatusModifier and TypeFieldDescriptionprivate final StatusCachingRlsLbClient.BackoffCacheEntry.statusMethods in io.grpc.rls that return StatusModifier and TypeMethodDescriptionRlsLoadBalancer.acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses) (package private) static StatusCachingRlsLbClient.convertRlsServerStatus(Status status, 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 StatusModifier and TypeMethodDescription(package private) static StatusCachingRlsLbClient.convertRlsServerStatus(Status status, String serverName) Convert the status to UNAVAILABLE and enhance the error message.CachingRlsLbClient.createBackOffEntry(RlsProtoData.RouteLookupRequest request, Status status, BackoffPolicy backoffPolicy) voidRlsLoadBalancer.handleNameResolutionError(Status error) Constructors in io.grpc.rls with parameters of type StatusModifierConstructorDescription(package private)BackoffCacheEntry(RlsProtoData.RouteLookupRequest request, Status status, BackoffPolicy backoffPolicy) -
Uses of Status in io.grpc.servlet
Methods in io.grpc.servlet with parameters of type StatusModifier and TypeMethodDescriptionvoidvoidServletServerBuilder.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 StatusModifier and TypeMethodDescriptionvoidvoidServletServerBuilder.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 StatusModifier and TypeMethodDescriptionvoidMetadataUtils.MetadataAttachingServerInterceptor.MetadataAttachingServerCall.close(Status status, Metadata trailers) voidvoidvoidvoidMetadataUtils.MetadataCapturingClientInterceptor.MetadataCapturingClientCall.MetadataCapturingClientCallListener.onClose(Status status, Metadata trailers) -
Uses of Status in io.grpc.util
Fields in io.grpc.util declared as StatusModifier and TypeFieldDescriptionfinal StatusMultiChildLoadBalancer.AcceptResolvedAddrRetVal.statusMethods in io.grpc.util that return StatusModifier and TypeMethodDescriptionGracefulSwitchLoadBalancer.acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses) MultiChildLoadBalancer.acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses) Override to completely replace the default logic or to do additional activities.OutlierDetectionLoadBalancer.acceptResolvedAddresses(LoadBalancer.ResolvedAddresses resolvedAddresses) Methods in io.grpc.util with parameters of type StatusModifier and TypeMethodDescriptionvoidTransmitStatusRuntimeExceptionInterceptor.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 StatusModifierConstructorDescriptionAcceptResolvedAddrRetVal(Status status, List<MultiChildLoadBalancer.ChildLbState> removedChildren)