Class DefaultDeadlineSetupClientInterceptor
java.lang.Object
org.springframework.grpc.client.interceptor.DefaultDeadlineSetupClientInterceptor
- All Implemented Interfaces:
io.grpc.ClientInterceptor
public class DefaultDeadlineSetupClientInterceptor
extends Object
implements io.grpc.ClientInterceptor
A client interceptor configuring the default deadline for each call.
- Author:
- Sergei Batsura ([email protected])
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<ReqT,RespT>
io.grpc.ClientCall<ReqT, RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
-
Constructor Details
-
DefaultDeadlineSetupClientInterceptor
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ClientCall<ReqT,RespT> interceptCall(io.grpc.MethodDescriptor<ReqT, RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next) - Specified by:
interceptCallin interfaceio.grpc.ClientInterceptor
-