Top Description Inners Constructors Methods
io.grpc

public abstract Class ForwardingServerCall<ReqT, RespT>

extends PartialForwardingServerCall<ReqT, RespT>
Class Inheritance
Known Direct Subclasses
io.grpc.ForwardingServerCall.SimpleForwardingServerCall, io.grpc.ServerStreamTracer.ReadOnlyServerCall

A ServerCall which forwards all of its methods to another ServerCall.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
ForwardingServerCall.SimpleForwardingServerCall<ReqT, RespT>

A simplified version of ForwardingServerCall where subclasses can pass in a ServerCall as the delegate.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract ServerCall<ReqT, RespT>
delegate()

Implements abstract io.grpc.PartialForwardingServerCall.delegate.

Returns the delegated ServerCall.
public MethodDescriptor<ReqT, RespT>
public void
sendMessage(RespT
response message.
message
)

Implements abstract io.grpc.ServerCall.sendMessage.

Send a response message.
Inherited from io.grpc.PartialForwardingServerCall:
closegetAttributesgetAuthoritygetSecurityLevelisCancelledisReadyrequestsendHeaderssetCompressionsetMessageCompressiontoString

Constructor Detail

ForwardingServerCallback to summary
public ForwardingServerCall()

Method Detail

delegateback to summary
protected abstract ServerCall<ReqT, RespT> delegate()

Implements abstract io.grpc.PartialForwardingServerCall.delegate.

Returns the delegated ServerCall.

Annotations
@Override
getMethodDescriptorback to summary
public MethodDescriptor<ReqT, RespT> getMethodDescriptor()

Implements abstract io.grpc.ServerCall.getMethodDescriptor.

Doc from io.grpc.ServerCall.getMethodDescriptor.

The MethodDescriptor for the call.

Annotations
@Override
sendMessageback to summary
public void sendMessage(RespT message)

Implements abstract io.grpc.ServerCall.sendMessage.

Doc from io.grpc.ServerCall.sendMessage.

Send a response message. Messages are the primary form of communication associated with RPCs. Multiple response messages may exist for streaming calls.

Parameters
message:RespT

response message.

Annotations
@Override
io.grpc back to summary

public abstract Class ForwardingServerCall.SimpleForwardingServerCall<ReqT, RespT>

extends ForwardingServerCall<ReqT, RespT>
Class Inheritance

A simplified version of ForwardingServerCall where subclasses can pass in a ServerCall as the delegate.

Field Summary

Modifier and TypeField and Description
private final ServerCall<ReqT, RespT>

Constructor Summary

AccessConstructor and Description
protected
SimpleForwardingServerCall(ServerCall<ReqT, RespT> delegate)

Method Summary

Modifier and TypeMethod and Description
protected ServerCall<ReqT, RespT>
delegate()

Implements abstract io.grpc.ForwardingServerCall.delegate.

Returns the delegated ServerCall.
Inherited from io.grpc.ForwardingServerCall:
getMethodDescriptorsendMessage

Field Detail

delegateback to summary
private final ServerCall<ReqT, RespT> delegate

Constructor Detail

SimpleForwardingServerCallback to summary
protected SimpleForwardingServerCall(ServerCall<ReqT, RespT> delegate)

Method Detail

delegateback to summary
protected ServerCall<ReqT, RespT> delegate()

Implements abstract io.grpc.ForwardingServerCall.delegate.

Doc from io.grpc.ForwardingServerCall.delegate.

Returns the delegated ServerCall.

Annotations
@Override