We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ebd6f3 commit 04adafbCopy full SHA for 04adafb
grpc-server-utils/src/main/java/org/hypertrace/core/grpcutils/server/InterceptorUtil.java
@@ -17,4 +17,12 @@ public static ServerServiceDefinition wrapInterceptors(BindableService bindableS
17
return ServerInterceptors.intercept(
18
bindableService, new RequestContextServerInterceptor(), new ThrowableResponseInterceptor());
19
}
20
+
21
+ public static ServerServiceDefinition wrapInterceptors(
22
+ ServerServiceDefinition serviceDefinition) {
23
+ return ServerInterceptors.intercept(
24
+ serviceDefinition,
25
+ new RequestContextServerInterceptor(),
26
+ new ThrowableResponseInterceptor());
27
+ }
28
0 commit comments