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 ClientInterceptorModifier and TypeFieldDescriptionprivate final ClientInterceptorClientInterceptors.InterceptorChannel.interceptorprivate ClientInterceptorInternalConfigSelector.Result.Builder.interceptorInternalConfigSelector.Result.interceptorMethods in io.grpc that return ClientInterceptorModifier and TypeMethodDescriptionInternalConfigSelector.Result.getInterceptor()Returns an interceptor that will be applies to calls.ManagedChannelBuilder.InterceptorFactory.newInterceptor(String target) (package private) static <WReqT,WRespT>
ClientInterceptorClientInterceptors.wrapClientInterceptor(ClientInterceptor interceptor, MethodDescriptor.Marshaller<WReqT> reqMarshaller, MethodDescriptor.Marshaller<WRespT> respMarshaller) Creates a new ClientInterceptor that transforms requests intoWReqTand responses intoWRespTbefore passing them into theinterceptor.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.(package private) static <WReqT,WRespT>
ClientInterceptorClientInterceptors.wrapClientInterceptor(ClientInterceptor interceptor, MethodDescriptor.Marshaller<WReqT> reqMarshaller, MethodDescriptor.Marshaller<WRespT> respMarshaller) Creates a new ClientInterceptor that transforms requests intoWReqTand responses intoWRespTbefore passing them into theinterceptor.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.Constructors in io.grpc with parameters of type ClientInterceptorModifierConstructorDescriptionprivateInterceptorChannel(Channel channel, ClientInterceptor interceptor) privateResult(Status status, Object config, ClientInterceptor interceptor) -
Uses of ClientInterceptor in io.grpc.internal
Classes in io.grpc.internal that implement ClientInterceptorModifier and TypeClassDescriptionprivate static final classFields in io.grpc.internal with type parameters of type ClientInterceptorModifier and TypeFieldDescriptionprivate final List<ClientInterceptor> ManagedChannelImplBuilder.interceptorsMethods in io.grpc.internal that return types with arguments of type ClientInterceptorModifier and TypeMethodDescription(package private) List<ClientInterceptor> ManagedChannelImplBuilder.getEffectiveInterceptors(String computedTarget) 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) Constructor parameters in io.grpc.internal with type arguments of type ClientInterceptorModifierConstructorDescription(package private)ManagedChannelImpl(ManagedChannelImplBuilder builder, ClientTransportFactory clientTransportFactory, URI targetUri, NameResolverProvider nameResolverProvider, BackoffPolicy.Provider backoffPolicyProvider, ObjectPool<? extends Executor> balancerRpcExecutorPool, com.google.common.base.Supplier<com.google.common.base.Stopwatch> stopwatchSupplier, List<ClientInterceptor> interceptors, TimeProvider timeProvider) -
Uses of ClientInterceptor in io.grpc.protobuf.services
Classes in io.grpc.protobuf.services that implement ClientInterceptorModifier and TypeClassDescriptionprivate final classThe pipeline of interceptors is hard coded when theManagedChannelis created.Fields in io.grpc.protobuf.services declared as ClientInterceptorMethods in io.grpc.protobuf.services that return ClientInterceptorModifier and TypeMethodDescriptionprotected abstract ClientInterceptorBinaryLogProvider.getClientInterceptor(String fullMethodName, CallOptions callOptions) Returns aClientInterceptorfor binary logging.BinaryLogProviderImpl.getClientInterceptor(String fullMethodName, CallOptions callOptions) BinlogHelper.getClientInterceptor(long callId) -
Uses of ClientInterceptor in io.grpc.stub
Classes in io.grpc.stub that implement ClientInterceptorModifier and TypeClassDescriptionprivate static final classprivate static final classMethods 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.