Modifier and Type | Class and Description |
---|---|
class |
ManagedChannel
A
Channel that provides lifecycle management. |
Modifier and Type | Method and Description |
---|---|
Channel |
LoadBalancer.Subchannel.asChannel()
(Internal use only) returns a
Channel that is backed by this Subchannel. |
static Channel |
ClientInterceptors.intercept(Channel channel,
ClientInterceptor... interceptors)
Create a new
Channel that will call interceptors before starting a call on the
given channel. |
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. |
static Channel |
ClientInterceptors.interceptForward(Channel channel,
ClientInterceptor... interceptors)
Create a new
Channel that will call interceptors before starting a call on the
given channel. |
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. |
abstract Channel |
BinaryLog.wrapChannel(Channel channel) |
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. |
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. |
<ReqT,RespT> |
ClientInterceptor.interceptCall(MethodDescriptor<ReqT,RespT> method,
CallOptions callOptions,
Channel next)
|
static Channel |
ClientInterceptors.interceptForward(Channel channel,
ClientInterceptor... interceptors)
Create a new
Channel that will call interceptors before starting a call on the
given channel. |
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. |
abstract Channel |
BinaryLog.wrapChannel(Channel channel) |