Uses of Interface
io.grpc.ClientInterceptor
Packages that use ClientInterceptor
-
Uses of ClientInterceptor in io.grpc
Fields in io.grpc declared as ClientInterceptorMethods in io.grpc that return ClientInterceptorModifier and TypeMethodDescriptionInternalConfigSelector.Result.getInterceptor()Returns an interceptor that will be applies to calls.ManagedChannelBuilder.InterceptorFactory.newInterceptor(String target) static <ReqT,RespT>
ClientInterceptorInternalClientInterceptors.wrapClientInterceptor(ClientInterceptor interceptor, MethodDescriptor.Marshaller<ReqT> reqMarshaller, MethodDescriptor.Marshaller<RespT> respMarshaller) Methods in io.grpc with parameters of type ClientInterceptorModifier and TypeMethodDescriptionstatic ChannelClientInterceptors.intercept(Channel channel, ClientInterceptor... interceptors) Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.ForwardingChannelBuilder.intercept(ClientInterceptor... interceptors) ForwardingChannelBuilder2.intercept(ClientInterceptor... interceptors) abstract TManagedChannelBuilder.intercept(ClientInterceptor... interceptors) Adds interceptors that will be called before the channel performs its real work.static ChannelClientInterceptors.interceptForward(Channel channel, ClientInterceptor... interceptors) Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.InternalConfigSelector.Result.Builder.setInterceptor(ClientInterceptor interceptor) Sets the interceptor.static <ReqT,RespT>
ClientInterceptorInternalClientInterceptors.wrapClientInterceptor(ClientInterceptor interceptor, MethodDescriptor.Marshaller<ReqT> reqMarshaller, MethodDescriptor.Marshaller<RespT> respMarshaller) Method parameters in io.grpc with type arguments of type ClientInterceptorModifier and TypeMethodDescriptionstatic ChannelClientInterceptors.intercept(Channel channel, List<? extends ClientInterceptor> interceptors) Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.ForwardingChannelBuilder.intercept(List<ClientInterceptor> interceptors) ForwardingChannelBuilder2.intercept(List<ClientInterceptor> interceptors) abstract TManagedChannelBuilder.intercept(List<ClientInterceptor> interceptors) Adds interceptors that will be called before the channel performs its real work.static ChannelClientInterceptors.interceptForward(Channel channel, List<? extends ClientInterceptor> interceptors) Create a newChannelthat will callinterceptorsbefore starting a call on the given channel. -
Uses of ClientInterceptor in io.grpc.stub
Methods in io.grpc.stub that return ClientInterceptorModifier and TypeMethodDescriptionstatic ClientInterceptorMetadataUtils.newAttachHeadersInterceptor(Metadata extraHeaders) Returns a client interceptor that attaches a set of headers to requests.static ClientInterceptorMetadataUtils.newCaptureMetadataInterceptor(AtomicReference<Metadata> headersCapture, AtomicReference<Metadata> trailersCapture) Captures the last received metadata on a channel.Methods in io.grpc.stub with parameters of type ClientInterceptorModifier and TypeMethodDescriptionfinal SAbstractStub.withInterceptors(ClientInterceptor... interceptors) Returns a new stub that has the given interceptors attached to the underlying channel.