RequestT - the type of the request payloadsResponseT - the type of the response payloadspublic final class ProxyServerCallHandler<RequestT,ResponseT> extends Object implements io.grpc.ServerCallHandler<InputStream,InputStream>
ServerCallHandler that handles calls for a particular method.| Modifier and Type | Method and Description |
|---|---|
static <RequestT,ResponseT> |
proxyMethod(io.grpc.ServerMethodDefinition<RequestT,ResponseT> delegateMethod)
Returns a proxy method definition for
delegateMethod. |
io.grpc.ServerCall.Listener<InputStream> |
startCall(io.grpc.ServerCall<InputStream,InputStream> call,
io.grpc.Metadata headers) |
public static <RequestT,ResponseT> io.grpc.ServerMethodDefinition<InputStream,InputStream> proxyMethod(io.grpc.ServerMethodDefinition<RequestT,ResponseT> delegateMethod)
delegateMethod.delegateMethod - the delegate method definitionpublic io.grpc.ServerCall.Listener<InputStream> startCall(io.grpc.ServerCall<InputStream,InputStream> call, io.grpc.Metadata headers)
startCall in interface io.grpc.ServerCallHandler<InputStream,InputStream>Copyright © 2021. All rights reserved.