Package io.envoyproxy.pgv.grpc
Class ValidatingClientInterceptor
java.lang.Object
io.envoyproxy.pgv.grpc.ValidatingClientInterceptor
- All Implemented Interfaces:
io.grpc.ClientInterceptor
ValidatingClientInterceptor is a gRPC ClientInterceptor that validates outbound gRPC messages before
transmission. Non-compliant messages result in an INVALID_ARGUMENT status exception.-
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
-
ValidatingClientInterceptor
-
-
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
-