Uses of Interface
io.grpc.ClientInterceptor
Packages that use ClientInterceptor
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
API for the Stub layer.
-
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 Channel
ClientInterceptors.intercept
(Channel channel, ClientInterceptor... interceptors) Create a newChannel
that will callinterceptors
before starting a call on the given channel.ForwardingChannelBuilder.intercept
(ClientInterceptor... interceptors) ForwardingChannelBuilder2.intercept
(ClientInterceptor... interceptors) abstract T
ManagedChannelBuilder.intercept
(ClientInterceptor... interceptors) Adds interceptors that will be called before the channel performs its real work.static Channel
ClientInterceptors.interceptForward
(Channel channel, ClientInterceptor... interceptors) Create a newChannel
that will callinterceptors
before 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 Channel
ClientInterceptors.intercept
(Channel channel, List<? extends ClientInterceptor> interceptors) Create a newChannel
that will callinterceptors
before starting a call on the given channel.ForwardingChannelBuilder.intercept
(List<ClientInterceptor> interceptors) ForwardingChannelBuilder2.intercept
(List<ClientInterceptor> interceptors) abstract T
ManagedChannelBuilder.intercept
(List<ClientInterceptor> interceptors) Adds interceptors that will be called before the channel performs its real work.static Channel
ClientInterceptors.interceptForward
(Channel channel, List<? extends ClientInterceptor> interceptors) Create a newChannel
that will callinterceptors
before starting a call on the given channel. -
Uses of ClientInterceptor in io.grpc.internal
Methods in io.grpc.internal with parameters of type ClientInterceptorModifier and TypeMethodDescriptionManagedChannelImplBuilder.intercept
(ClientInterceptor... interceptors) Method parameters in io.grpc.internal with type arguments of type ClientInterceptorModifier and TypeMethodDescriptionManagedChannelImplBuilder.intercept
(List<ClientInterceptor> interceptors) -
Uses of ClientInterceptor in io.grpc.stub
Methods in io.grpc.stub that return ClientInterceptorModifier and TypeMethodDescriptionstatic ClientInterceptor
MetadataUtils.newAttachHeadersInterceptor
(Metadata extraHeaders) Returns a client interceptor that attaches a set of headers to requests.static ClientInterceptor
MetadataUtils.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 S
AbstractStub.withInterceptors
(ClientInterceptor... interceptors) Returns a new stub that has the given interceptors attached to the underlying channel.