Uses of Interface
io.grpc.ClientInterceptor
-
Packages that use ClientInterceptor Package Description io.grpc The gRPC core public API.io.grpc.auth Implementations ofCallCredentials
and authentication related API.io.grpc.stub API for the Stub layer. -
-
Uses of ClientInterceptor in io.grpc
Methods in io.grpc with parameters of type ClientInterceptor Modifier and Type Method Description static Channel
ClientInterceptors. intercept(Channel channel, ClientInterceptor... interceptors)
Create a newChannel
that will callinterceptors
before starting a call on the given channel.T
ForwardingChannelBuilder. intercept(ClientInterceptor... interceptors)
T
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.Method parameters in io.grpc with type arguments of type ClientInterceptor Modifier and Type Method Description static Channel
ClientInterceptors. intercept(Channel channel, java.util.List<? extends ClientInterceptor> interceptors)
Create a newChannel
that will callinterceptors
before starting a call on the given channel.T
ForwardingChannelBuilder. intercept(java.util.List<ClientInterceptor> interceptors)
T
ForwardingChannelBuilder2. intercept(java.util.List<ClientInterceptor> interceptors)
abstract T
ManagedChannelBuilder. intercept(java.util.List<ClientInterceptor> interceptors)
Adds interceptors that will be called before the channel performs its real work.static Channel
ClientInterceptors. interceptForward(Channel channel, java.util.List<? extends ClientInterceptor> interceptors)
Create a newChannel
that will callinterceptors
before starting a call on the given channel. -
Uses of ClientInterceptor in io.grpc.auth
Classes in io.grpc.auth that implement ClientInterceptor Modifier and Type Class Description class
ClientAuthInterceptor
Deprecated.useMoreCallCredentials.from(Credentials)
instead. -
Uses of ClientInterceptor in io.grpc.stub
Methods in io.grpc.stub that return ClientInterceptor Modifier and Type Method Description static ClientInterceptor
MetadataUtils. newAttachHeadersInterceptor(Metadata extraHeaders)
Returns a client interceptor that attaches a set of headers to requests.static ClientInterceptor
MetadataUtils. 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 S
AbstractStub. withInterceptors(ClientInterceptor... interceptors)
Returns a new stub that has the given interceptors attached to the underlying channel.
-