Class ProtoMessageRequestFormatter.Builder<RequestT> (2.14.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 rawPath, FieldsExtractor<RequestT,Map<String,String>> pathVarsExtractor)

public ProtoMessageRequestFormatter.Builder<RequestT> setPath(String rawPath, FieldsExtractor<RequestT,Map<String,String>> pathVarsExtractor)
Parameters
NameDescription
rawPathString
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>

updateRawPath(String target, String replacement)

public ProtoMessageRequestFormatter.Builder<RequestT> updateRawPath(String target, String replacement)
Parameters
NameDescription
targetString
replacementString
Returns
TypeDescription
Builder<RequestT>