Package io.grpc
Class ForwardingClientCall.SimpleForwardingClientCall<ReqT,RespT>
java.lang.Object
io.grpc.ClientCall<ReqT,RespT>
io.grpc.PartialForwardingClientCall<ReqT,RespT>
io.grpc.ForwardingClientCall<ReqT,RespT>
io.grpc.ForwardingClientCall.SimpleForwardingClientCall<ReqT,RespT>
- Direct Known Subclasses:
MetadataUtils.HeaderAttachingClientInterceptor.HeaderAttachingClientCall,MetadataUtils.MetadataCapturingClientInterceptor.MetadataCapturingClientCall
- Enclosing class:
ForwardingClientCall<ReqT,RespT>
public abstract static class ForwardingClientCall.SimpleForwardingClientCall<ReqT,RespT>
extends ForwardingClientCall<ReqT,RespT>
A simplified version of
ForwardingClientCall where subclasses can pass in a ClientCall as the delegate.-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.ForwardingClientCall
ForwardingClientCall.SimpleForwardingClientCall<ReqT,RespT> Nested classes/interfaces inherited from class io.grpc.ClientCall
ClientCall.Listener<T> -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSimpleForwardingClientCall(ClientCall<ReqT, RespT> delegate) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClientCall<ReqT, RespT> delegate()Returns the delegatedClientCall.Methods inherited from class io.grpc.ForwardingClientCall
sendMessage, startMethods inherited from class io.grpc.PartialForwardingClientCall
cancel, getAttributes, halfClose, isReady, request, setMessageCompression, toString
-
Field Details
-
delegate
-
-
Constructor Details
-
SimpleForwardingClientCall
-
-
Method Details
-
delegate
Description copied from class:ForwardingClientCallReturns the delegatedClientCall.- Specified by:
delegatein classForwardingClientCall<ReqT,RespT>
-