Package org.hertsstack.rpc
Class HertsRpcInterceptBuilder
- java.lang.Object
-
- org.hertsstack.rpc.HertsRpcInterceptBuilder
-
- All Implemented Interfaces:
io.grpc.ServerInterceptor
public class HertsRpcInterceptBuilder extends java.lang.Object implements io.grpc.ServerInterceptor
Herts intercept builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HertsRpcInterceptBuilder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HertsRpcInterceptBuilder.Builder
builder(HertsRpcInterceptor interceptor)
<ReqT,RespT>
io.grpc.ServerCall.Listener<ReqT>interceptCall(io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata requestHeaders, io.grpc.ServerCallHandler<ReqT,RespT> next)
-
-
-
Method Detail
-
builder
public static HertsRpcInterceptBuilder.Builder builder(HertsRpcInterceptor interceptor)
-
interceptCall
public <ReqT,RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata requestHeaders, io.grpc.ServerCallHandler<ReqT,RespT> next)
- Specified by:
interceptCall
in interfaceio.grpc.ServerInterceptor
-
-