public class ValidatingClientInterceptor extends Object implements 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 and Description |
|---|
ValidatingClientInterceptor(ValidatorIndex index) |
| Modifier and Type | Method and Description |
|---|---|
<ReqT,RespT> |
interceptCall(io.grpc.MethodDescriptor<ReqT,RespT> method,
io.grpc.CallOptions callOptions,
io.grpc.Channel next) |
public ValidatingClientInterceptor(ValidatorIndex index)
Copyright © 2019. All rights reserved.