Uses of Interface
io.grpc.ClientInterceptor
-
Packages that use ClientInterceptor Package Description io.grpc The gRPC core public API.io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.stub API for the Stub layer. -
-
Uses of ClientInterceptor in io.grpc
Fields in io.grpc declared as ClientInterceptor Modifier and Type Field Description private ClientInterceptorClientInterceptors.InterceptorChannel. interceptorprivate ClientInterceptorInternalConfigSelector.Result.Builder. interceptorClientInterceptorInternalConfigSelector.Result. interceptorMethods in io.grpc that return ClientInterceptor Modifier and Type Method Description ClientInterceptorInternalConfigSelector.Result. getInterceptor()Returns an interceptor that will be applies to calls.ClientInterceptorManagedChannelBuilder.InterceptorFactory. newInterceptor(java.lang.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 ClientInterceptor Modifier and Type Method Description static ChannelClientInterceptors. intercept(Channel channel, ClientInterceptor... interceptors)Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.TForwardingChannelBuilder. intercept(ClientInterceptor... interceptors)TForwardingChannelBuilder2. 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.BuilderInternalConfigSelector.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 ClientInterceptor Modifier and Type Method Description static ChannelClientInterceptors. intercept(Channel channel, java.util.List<? extends ClientInterceptor> interceptors)Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.TForwardingChannelBuilder. intercept(java.util.List<ClientInterceptor> interceptors)TForwardingChannelBuilder2. intercept(java.util.List<ClientInterceptor> interceptors)abstract TManagedChannelBuilder. intercept(java.util.List<ClientInterceptor> interceptors)Adds interceptors that will be called before the channel performs its real work.static ChannelClientInterceptors. interceptForward(Channel channel, java.util.List<? extends ClientInterceptor> interceptors)Create a newChannelthat will callinterceptorsbefore starting a call on the given channel.Constructors in io.grpc with parameters of type ClientInterceptor Constructor Description InterceptorChannel(Channel channel, ClientInterceptor interceptor)Result(Status status, java.lang.Object config, ClientInterceptor interceptor) -
Uses of ClientInterceptor in io.grpc.internal
Classes in io.grpc.internal that implement ClientInterceptor Modifier and Type Class Description private static classManagedChannelImplBuilder.InterceptorFactoryWrapperFields in io.grpc.internal with type parameters of type ClientInterceptor Modifier and Type Field Description private java.util.List<ClientInterceptor>ManagedChannelImplBuilder. interceptorsMethods in io.grpc.internal that return types with arguments of type ClientInterceptor Modifier and Type Method Description (package private) java.util.List<ClientInterceptor>ManagedChannelImplBuilder. getEffectiveInterceptors(java.lang.String computedTarget)Methods in io.grpc.internal with parameters of type ClientInterceptor Modifier and Type Method Description ManagedChannelImplBuilderManagedChannelImplBuilder. intercept(ClientInterceptor... interceptors)Method parameters in io.grpc.internal with type arguments of type ClientInterceptor Modifier and Type Method Description ManagedChannelImplBuilderManagedChannelImplBuilder. intercept(java.util.List<ClientInterceptor> interceptors)Constructor parameters in io.grpc.internal with type arguments of type ClientInterceptor Constructor Description ManagedChannelImpl(ManagedChannelImplBuilder builder, ClientTransportFactory clientTransportFactory, java.net.URI targetUri, NameResolverProvider nameResolverProvider, BackoffPolicy.Provider backoffPolicyProvider, ObjectPool<? extends java.util.concurrent.Executor> balancerRpcExecutorPool, com.google.common.base.Supplier<com.google.common.base.Stopwatch> stopwatchSupplier, java.util.List<ClientInterceptor> interceptors, TimeProvider timeProvider) -
Uses of ClientInterceptor in io.grpc.protobuf.services
Classes in io.grpc.protobuf.services that implement ClientInterceptor Modifier and Type Class Description private classBinaryLogProvider.BinaryLogShimThe pipeline of interceptors is hard coded when theManagedChannelis created.Fields in io.grpc.protobuf.services declared as ClientInterceptor Modifier and Type Field Description private ClientInterceptorBinaryLogProvider. binaryLogShimMethods in io.grpc.protobuf.services that return ClientInterceptor Modifier and Type Method Description protected abstract ClientInterceptorBinaryLogProvider. getClientInterceptor(java.lang.String fullMethodName, CallOptions callOptions)Returns aClientInterceptorfor binary logging.ClientInterceptorBinaryLogProviderImpl. getClientInterceptor(java.lang.String fullMethodName, CallOptions callOptions)ClientInterceptorBinlogHelper. getClientInterceptor(long callId) -
Uses of ClientInterceptor in io.grpc.stub
Classes in io.grpc.stub that implement ClientInterceptor Modifier and Type Class Description private static classMetadataUtils.HeaderAttachingClientInterceptorprivate static classMetadataUtils.MetadataCapturingClientInterceptorMethods in io.grpc.stub that return ClientInterceptor Modifier and Type Method Description static ClientInterceptorMetadataUtils. newAttachHeadersInterceptor(Metadata extraHeaders)Returns a client interceptor that attaches a set of headers to requests.static ClientInterceptorMetadataUtils. newCaptureMetadataInterceptor(java.util.concurrent.atomic.AtomicReference<Metadata> headersCapture, java.util.concurrent.atomic.AtomicReference<Metadata> trailersCapture)Captures the last received metadata on a channel.Methods in io.grpc.stub with parameters of type ClientInterceptor Modifier and Type Method Description SAbstractStub. withInterceptors(ClientInterceptor... interceptors)Returns a new stub that has the given interceptors attached to the underlying channel.
-