Class GrpcMetadataProviderInterceptor

  • All Implemented Interfaces:
    io.grpc.ClientInterceptor

    public class GrpcMetadataProviderInterceptor
    extends java.lang.Object
    implements io.grpc.ClientInterceptor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <ReqT,​RespT>
      io.grpc.ClientCall<ReqT,​RespT>
      interceptCall​(io.grpc.MethodDescriptor<ReqT,​RespT> method, io.grpc.CallOptions callOptions, io.grpc.Channel next)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GrpcMetadataProviderInterceptor

        public GrpcMetadataProviderInterceptor​(java.util.Collection<GrpcMetadataProvider> grpcMetadataProviders)
    • 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 interface io.grpc.ClientInterceptor