Modifier and Type | Method and Description |
---|---|
static Channel |
ClientInterceptors.intercept(Channel channel,
ClientInterceptor... interceptors)
Create a new
Channel that will call interceptors before starting a call on the
given channel. |
T |
ForwardingChannelBuilder.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 new
Channel that will call interceptors before starting a call on the
given channel. |
Modifier and Type | Method and Description |
---|---|
static Channel |
ClientInterceptors.intercept(Channel channel,
List<? extends ClientInterceptor> interceptors)
Create a new
Channel that will call interceptors before starting a call on the
given channel. |
T |
ForwardingChannelBuilder.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 new
Channel that will call interceptors before starting a call on the
given channel. |