Package org.hertsstack.rpcclient
Class HertsRpcClientInterceptBuilder
- java.lang.Object
-
- org.hertsstack.rpcclient.HertsRpcClientInterceptBuilder
-
- All Implemented Interfaces:
io.grpc.ClientInterceptor
public class HertsRpcClientInterceptBuilder extends java.lang.Object implements io.grpc.ClientInterceptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HertsRpcClientInterceptBuilder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HertsRpcClientInterceptBuilder.Builder
builder(HertsRpcClientInterceptor interceptor)
<ReqT,RespT>
io.grpc.ClientCall<ReqT,RespT>interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> methodDescriptor, io.grpc.CallOptions callOptions, io.grpc.Channel channel)
-
-
-
Method Detail
-
builder
public static HertsRpcClientInterceptBuilder.Builder builder(HertsRpcClientInterceptor interceptor)
-
interceptCall
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> methodDescriptor, io.grpc.CallOptions callOptions, io.grpc.Channel channel)
- Specified by:
interceptCall
in interfaceio.grpc.ClientInterceptor
-
-