Package io.envoyproxy.pgv.grpc
Class ValidatingServerInterceptor
java.lang.Object
io.envoyproxy.pgv.grpc.ValidatingServerInterceptor
- All Implemented Interfaces:
io.grpc.ServerInterceptor
ValidatingServerInterceptor is a gRPC ServerInterceptor that validates inbound gRPC messages before
processing. Non-compliant messages result in an INVALID_ARGUMENT status response.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<ReqT,RespT>
io.grpc.ServerCall.Listener<ReqT>interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next)
-
Constructor Details
-
ValidatingServerInterceptor
-
-
Method Details
-
interceptCall
public <ReqT,RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall(io.grpc.ServerCall<ReqT, RespT> call, io.grpc.Metadata headers, io.grpc.ServerCallHandler<ReqT, RespT> next) - Specified by:
interceptCallin interfaceio.grpc.ServerInterceptor
-