Package io.temporal.serviceclient
Class SystemInfoInterceptor
- java.lang.Object
-
- io.temporal.serviceclient.SystemInfoInterceptor
-
- All Implemented Interfaces:
io.grpc.ClientInterceptor
public class SystemInfoInterceptor extends java.lang.Object implements io.grpc.ClientInterceptor
-
-
Constructor Summary
Constructors Constructor Description SystemInfoInterceptor(java.util.concurrent.CompletableFuture<GetSystemInfoResponse.Capabilities> serverCapabilitiesFuture)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSystemInfoResponse.Capabilities
getServerCapabilitiesOrThrow(io.grpc.Channel channel, io.grpc.Deadline deadline)
<ReqT,RespT>
io.grpc.ClientCall<ReqT,RespT>interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)
-
-
-
Constructor Detail
-
SystemInfoInterceptor
public SystemInfoInterceptor(java.util.concurrent.CompletableFuture<GetSystemInfoResponse.Capabilities> serverCapabilitiesFuture)
-
-
Method Detail
-
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:
interceptCall
in interfaceio.grpc.ClientInterceptor
-
getServerCapabilitiesOrThrow
public static GetSystemInfoResponse.Capabilities getServerCapabilitiesOrThrow(io.grpc.Channel channel, @Nullable io.grpc.Deadline deadline)
-
-