Class GrpcCallSettings<RequestT,ResponseT> (2.21.0)

public class GrpcCallSettings<RequestT,ResponseT>

Grpc-specific settings for creating callables.

Inheritance

java.lang.Object > GrpcCallSettings<RequestT,ResponseT>

Type Parameters

NameDescription
RequestT
ResponseT

Static Methods

<RequestT,ResponseT>create(MethodDescriptor<RequestT,ResponseT> methodDescriptor)

public static GrpcCallSettings<RequestT,ResponseT> <RequestT,ResponseT>create(MethodDescriptor<RequestT,ResponseT> methodDescriptor)
Parameter
NameDescription
methodDescriptorio.grpc.MethodDescriptor<RequestT,ResponseT>
Returns
TypeDescription
GrpcCallSettings<RequestT,ResponseT>

<RequestT,ResponseT>newBuilder()

public static GrpcCallSettings.Builder<RequestT,ResponseT> <RequestT,ResponseT>newBuilder()
Returns
TypeDescription
Builder<RequestT,ResponseT>

Methods

getMethodDescriptor()

public MethodDescriptor<RequestT,ResponseT> getMethodDescriptor()
Returns
TypeDescription
io.grpc.MethodDescriptor<RequestT,ResponseT>

getParamsExtractor()

public RequestParamsExtractor<RequestT> getParamsExtractor()
Returns
TypeDescription
RequestParamsExtractor<RequestT>

shouldAwaitTrailers()

public boolean shouldAwaitTrailers()
Returns
TypeDescription
boolean

toBuilder()

public GrpcCallSettings.Builder toBuilder()
Returns
TypeDescription
Builder