Class HttpJsonCallSettings.Builder<RequestT,ResponseT> (2.32.0)

public static class HttpJsonCallSettings.Builder<RequestT,ResponseT>

Inheritance

java.lang.Object > HttpJsonCallSettings.Builder<RequestT,ResponseT>

Type Parameters

NameDescription
RequestT
ResponseT

Methods

build()

public HttpJsonCallSettings<RequestT,ResponseT> build()
Returns
TypeDescription
HttpJsonCallSettings<RequestT,ResponseT>

setMethodDescriptor(ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)

public HttpJsonCallSettings.Builder<RequestT,ResponseT> setMethodDescriptor(ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)
Parameter
NameDescription
methodDescriptorApiMethodDescriptor<RequestT,ResponseT>
Returns
TypeDescription
Builder<RequestT,ResponseT>

setParamsExtractor(RequestParamsExtractor<RequestT> paramsExtractor)

public HttpJsonCallSettings.Builder<RequestT,ResponseT> setParamsExtractor(RequestParamsExtractor<RequestT> paramsExtractor)
Parameter
NameDescription
paramsExtractorRequestParamsExtractor<RequestT>
Returns
TypeDescription
Builder<RequestT,ResponseT>

setTypeRegistry(TypeRegistry typeRegistry)

public HttpJsonCallSettings.Builder<RequestT,ResponseT> setTypeRegistry(TypeRegistry typeRegistry)
Parameter
NameDescription
typeRegistryTypeRegistry
Returns
TypeDescription
Builder<RequestT,ResponseT>