Class ProtoMessageRequestFormatter.Builder<RequestT> (2.10.0)

public static class ProtoMessageRequestFormatter.Builder<RequestT>

Inheritance

java.lang.Object > ProtoMessageRequestFormatter.Builder<RequestT>

Type Parameter

NameDescription
RequestT

Constructors

Builder()

public Builder()

Methods

build()

public ProtoMessageRequestFormatter<RequestT> build()
Returns
TypeDescription
ProtoMessageRequestFormatter<RequestT>

setPath(String path, FieldsExtractor<RequestT,Map<String,String>> pathVarsExtractor)

public ProtoMessageRequestFormatter.Builder<RequestT> setPath(String path, FieldsExtractor<RequestT,Map<String,String>> pathVarsExtractor)
Parameters
NameDescription
pathString
pathVarsExtractorFieldsExtractor<RequestT,Map<String,String>>
Returns
TypeDescription
Builder<RequestT>

setQueryParamsExtractor(FieldsExtractor<RequestT,Map<String,List<String>>> queryParamsExtractor)

public ProtoMessageRequestFormatter.Builder<RequestT> setQueryParamsExtractor(FieldsExtractor<RequestT,Map<String,List<String>>> queryParamsExtractor)
Parameter
NameDescription
queryParamsExtractorFieldsExtractor<RequestT,Map<String,List<String>>>
Returns
TypeDescription
Builder<RequestT>

setRequestBodyExtractor(FieldsExtractor<RequestT,String> requestBodyExtractor)

public ProtoMessageRequestFormatter.Builder<RequestT> setRequestBodyExtractor(FieldsExtractor<RequestT,String> requestBodyExtractor)
Parameter
NameDescription
requestBodyExtractorFieldsExtractor<RequestT,String>
Returns
TypeDescription
Builder<RequestT>