Package org.lognet.springboot.grpc
Class FailureHandlingSupport
java.lang.Object
org.lognet.springboot.grpc.FailureHandlingSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseCall(RuntimeException e, io.grpc.ServerCall<?,?> call, io.grpc.Metadata headers)voidcloseCall(RuntimeException e, io.grpc.ServerCall<?,?> call, io.grpc.Metadata headers, Consumer<GRpcExceptionScope.GRpcExceptionScopeBuilder> customizer)
-
Constructor Details
-
FailureHandlingSupport
-
-
Method Details
-
closeCall
public void closeCall(RuntimeException e, io.grpc.ServerCall<?,?> call, io.grpc.Metadata headers) throws RuntimeException- Throws:
RuntimeException
-
closeCall
public void closeCall(RuntimeException e, io.grpc.ServerCall<?,?> call, io.grpc.Metadata headers, Consumer<GRpcExceptionScope.GRpcExceptionScopeBuilder> customizer) throws RuntimeException- Throws:
RuntimeException
-