Package io.grpc
Class ForwardingServerCall.SimpleForwardingServerCall<ReqT,RespT>
- java.lang.Object
-
- io.grpc.ServerCall<ReqT,RespT>
-
- io.grpc.PartialForwardingServerCall<ReqT,RespT>
-
- io.grpc.ForwardingServerCall<ReqT,RespT>
-
- io.grpc.ForwardingServerCall.SimpleForwardingServerCall<ReqT,RespT>
-
- Direct Known Subclasses:
MetadataUtils.MetadataAttachingServerInterceptor.MetadataAttachingServerCall,TransmitStatusRuntimeExceptionInterceptor.SerializingServerCall
- Enclosing class:
- ForwardingServerCall<ReqT,RespT>
public abstract static class ForwardingServerCall.SimpleForwardingServerCall<ReqT,RespT> extends ForwardingServerCall<ReqT,RespT>
A simplified version ofForwardingServerCallwhere subclasses can pass in aServerCallas the delegate.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.grpc.ForwardingServerCall
ForwardingServerCall.SimpleForwardingServerCall<ReqT,RespT>
-
Nested classes/interfaces inherited from class io.grpc.ServerCall
ServerCall.Listener<ReqT>
-
-
Field Summary
Fields Modifier and Type Field Description private ServerCall<ReqT,RespT>delegate
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimpleForwardingServerCall(ServerCall<ReqT,RespT> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ServerCall<ReqT,RespT>delegate()Returns the delegatedServerCall.-
Methods inherited from class io.grpc.ForwardingServerCall
getMethodDescriptor, sendMessage
-
Methods inherited from class io.grpc.PartialForwardingServerCall
close, getAttributes, getAuthority, getSecurityLevel, isCancelled, isReady, request, sendHeaders, setCompression, setMessageCompression, setOnReadyThreshold, toString
-
-
-
-
Field Detail
-
delegate
private final ServerCall<ReqT,RespT> delegate
-
-
Constructor Detail
-
SimpleForwardingServerCall
protected SimpleForwardingServerCall(ServerCall<ReqT,RespT> delegate)
-
-
Method Detail
-
delegate
protected ServerCall<ReqT,RespT> delegate()
Description copied from class:ForwardingServerCallReturns the delegatedServerCall.- Specified by:
delegatein classForwardingServerCall<ReqT,RespT>
-
-