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 ofForwardingClientCall
where subclasses can pass in aClientCall
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 Modifier and Type Field Description private ClientCall<ReqT,RespT>
delegate
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimpleForwardingClientCall(ClientCall<ReqT,RespT> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClientCall<ReqT,RespT>
delegate()
Returns the delegatedClientCall
.-
Methods inherited from class io.grpc.ForwardingClientCall
sendMessage, start
-
Methods inherited from class io.grpc.PartialForwardingClientCall
cancel, getAttributes, halfClose, isReady, request, setMessageCompression, toString
-
-
-
-
Field Detail
-
delegate
private final ClientCall<ReqT,RespT> delegate
-
-
Constructor Detail
-
SimpleForwardingClientCall
protected SimpleForwardingClientCall(ClientCall<ReqT,RespT> delegate)
-
-
Method Detail
-
delegate
protected ClientCall<ReqT,RespT> delegate()
Description copied from class:ForwardingClientCall
Returns the delegatedClientCall
.- Specified by:
delegate
in classForwardingClientCall<ReqT,RespT>
-
-