Class ClientInterceptors.InterceptorChannel
java.lang.Object
io.grpc.Channel
io.grpc.ClientInterceptors.InterceptorChannel
- Enclosing class:
ClientInterceptors
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateInterceptorChannel(Channel channel, ClientInterceptor interceptor) -
Method Summary
Modifier and TypeMethodDescriptionThe authority of the destination this channel connects to.<ReqT,RespT>
ClientCall<ReqT, RespT> newCall(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions) Create aClientCallto the remote operation specified by the givenMethodDescriptor.
-
Field Details
-
channel
-
interceptor
-
-
Constructor Details
-
InterceptorChannel
-
-
Method Details
-
newCall
public <ReqT,RespT> ClientCall<ReqT,RespT> newCall(MethodDescriptor<ReqT, RespT> method, CallOptions callOptions) Description copied from class:ChannelCreate aClientCallto the remote operation specified by the givenMethodDescriptor. The returnedClientCalldoes not trigger any remote behavior untilClientCall.start(ClientCall.Listener, Metadata)is invoked.- Specified by:
newCallin classChannel- Parameters:
method- describes the name and parameter types of the operation to call.callOptions- runtime options to be applied to this call.- Returns:
- a
ClientCallbound to the specified method.
-
authority
-