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

public static class HttpJsonCallSettings.Builder<RequestT,ResponseT>

Inheritance

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

Type Parameters

Name Description
RequestT
ResponseT

Methods

build()

public HttpJsonCallSettings<RequestT,ResponseT> build()
Returns
Type Description
HttpJsonCallSettings<RequestT,ResponseT>

setMethodDescriptor(ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)

public HttpJsonCallSettings.Builder<RequestT,ResponseT> setMethodDescriptor(ApiMethodDescriptor<RequestT,ResponseT> methodDescriptor)
Parameter
Name Description
methodDescriptor ApiMethodDescriptor<RequestT,ResponseT>
Returns
Type Description
Builder<RequestT,ResponseT>

setParamsExtractor(RequestParamsExtractor<RequestT> paramsExtractor)

public HttpJsonCallSettings.Builder<RequestT,ResponseT> setParamsExtractor(RequestParamsExtractor<RequestT> paramsExtractor)
Parameter
Name Description
paramsExtractor RequestParamsExtractor<RequestT>
Returns
Type Description
Builder<RequestT,ResponseT>

setRequestMutator(RequestMutator<RequestT> requestMutator)

public HttpJsonCallSettings.Builder<RequestT,ResponseT> setRequestMutator(RequestMutator<RequestT> requestMutator)
Parameter
Name Description
requestMutator RequestMutator<RequestT>
Returns
Type Description
Builder<RequestT,ResponseT>

setTypeRegistry(TypeRegistry typeRegistry)

public HttpJsonCallSettings.Builder<RequestT,ResponseT> setTypeRegistry(TypeRegistry typeRegistry)
Parameter
Name Description
typeRegistry TypeRegistry
Returns
Type Description
Builder<RequestT,ResponseT>