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.
Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.
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 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.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.protobuf.services
Methods in io.grpc.protobuf.services that return ClientInterceptorModifier and TypeMethodDescriptionprotected abstract ClientInterceptorBinaryLogProvider.getClientInterceptor(String fullMethodName, CallOptions callOptions) Returns aClientInterceptorfor binary logging. gRPC is free to cache the interceptor, so the interceptor must be reusable across calls. -
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.