public class ValidatingServerInterceptor extends Object implements 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 and Description |
|---|
ValidatingServerInterceptor(ValidatorIndex index) |
| Modifier and Type | Method and Description |
|---|---|
<ReqT,RespT> |
interceptCall(io.grpc.ServerCall<ReqT,RespT> call,
io.grpc.Metadata headers,
io.grpc.ServerCallHandler<ReqT,RespT> next) |
public ValidatingServerInterceptor(ValidatorIndex index)
Copyright © 2019. All rights reserved.