Uses of Enum
io.grpc.Status.Code
Packages that use Status.Code
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
The main transport implementation based on Netty,
for both the client and the server.
Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.
-
Uses of Status.Code in io.grpc
Subclasses with type arguments of type Status.Code in io.grpcFields in io.grpc declared as Status.CodeMethods in io.grpc that return Status.CodeModifier and TypeMethodDescriptionStatus.getCode()The canonical status code.static Status.CodeReturns the enum constant of this type with the specified name.static Status.Code[]Status.Code.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.grpc with parameters of type Status.CodeModifier and TypeMethodDescriptionstatic StatusStatus.fromCode(Status.Code code) Return aStatusgiven a canonical errorStatus.Codeobject.Constructors in io.grpc with parameters of type Status.CodeModifierConstructorDescriptionprivateStatus(Status.Code code) privateStatus(Status.Code code, String description, Throwable cause) -
Uses of Status.Code in io.grpc.internal
Fields in io.grpc.internal with type parameters of type Status.CodeModifier and TypeFieldDescriptionprivate static final Set<Status.Code> GrpcUtil.INAPPROPRIATE_CONTROL_PLANE_STATUS(package private) final Set<Status.Code> HedgingPolicy.nonFatalStatusCodes(package private) final Set<Status.Code> RetryPolicy.retryableStatusCodesMethods in io.grpc.internal that return Status.CodeModifier and TypeMethodDescriptionprivate static Status.CodeGrpcUtil.httpStatusToGrpcCode(int httpStatusCode) Methods in io.grpc.internal that return types with arguments of type Status.CodeModifier and TypeMethodDescriptionprivate static Set<Status.Code> ServiceConfigUtil.getListOfStatusCodesAsSet(Map<String, ?> obj, String key) (package private) static Set<Status.Code> ServiceConfigUtil.getNonFatalStatusCodesFromHedgingPolicy(Map<String, ?> hedgingPolicy) (package private) static Set<Status.Code> ServiceConfigUtil.getRetryableStatusCodesFromRetryPolicy(Map<String, ?> retryPolicy) private static Set<Status.Code> ServiceConfigUtil.getStatusCodesFromList(List<?> statuses) Constructor parameters in io.grpc.internal with type arguments of type Status.CodeModifierConstructorDescription(package private)HedgingPolicy(int maxAttempts, long hedgingDelayNanos, Set<Status.Code> nonFatalStatusCodes) The caller is supposed to have validated the arguments and handled throwing exception or logging warnings already, so we avoid repeating args check here.(package private)RetryPolicy(int maxAttempts, long initialBackoffNanos, long maxBackoffNanos, double backoffMultiplier, Long perAttemptRecvTimeoutNanos, Set<Status.Code> retryableStatusCodes) The caller is supposed to have validated the arguments and handled throwing exception or logging warnings already, so we avoid repeating args check here. -
Uses of Status.Code in io.grpc.netty
Methods in io.grpc.netty with parameters of type Status.CodeModifier and TypeMethodDescriptionprivate voidNettyServerHandler.respondWithHttpError(io.netty.channel.ChannelHandlerContext ctx, int streamId, int code, Status.Code statusCode, String msg) 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. -
Uses of Status.Code in io.grpc.protobuf.services
Methods in io.grpc.protobuf.services with parameters of type Status.CodeModifier and TypeMethodDescriptionprivate voidProtoReflectionServiceV1.ProtoReflectionStreamObserver.sendErrorResponse(ServerReflectionRequest request, Status.Code code, String message)