Class GrpcCallSettings<RequestT,ResponseT> (2.48.0)

public class GrpcCallSettings<RequestT,ResponseT>

Grpc-specific settings for creating callables.

Inheritance

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

Type Parameters

Name Description
RequestT
ResponseT

Static Methods

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

public static GrpcCallSettings<RequestT,ResponseT> <RequestT,ResponseT>create(MethodDescriptor<RequestT,ResponseT> methodDescriptor)
Parameter
Name Description
methodDescriptor io.grpc.MethodDescriptor<RequestT,ResponseT>
Returns
Type Description
GrpcCallSettings<RequestT,ResponseT>

<RequestT,ResponseT>newBuilder()

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

Methods

getMethodDescriptor()

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

getParamsExtractor()

public RequestParamsExtractor<RequestT> getParamsExtractor()
Returns
Type Description
RequestParamsExtractor<RequestT>

getRequestMutator()

public RequestMutator<RequestT> getRequestMutator()
Returns
Type Description
RequestMutator<RequestT>

shouldAwaitTrailers()

public boolean shouldAwaitTrailers()
Returns
Type Description
boolean

toBuilder()

public GrpcCallSettings.Builder toBuilder()
Returns
Type Description
Builder