Class ProtoMessageRequestFormatter.Builder<RequestT> (2.52.0)

public static class ProtoMessageRequestFormatter.Builder<RequestT>

Inheritance

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

Type Parameter

Name Description
RequestT

Constructors

Builder()

public Builder()

Methods

build()

public ProtoMessageRequestFormatter<RequestT> build()
Returns
Type Description
ProtoMessageRequestFormatter<RequestT>

setAdditionalPaths(String[] rawAdditionalPaths)

public ProtoMessageRequestFormatter.Builder<RequestT> setAdditionalPaths(String[] rawAdditionalPaths)
Parameter
Name Description
rawAdditionalPaths String[]
Returns
Type Description
Builder<RequestT>

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

public ProtoMessageRequestFormatter.Builder<RequestT> setPath(String rawPath, FieldsExtractor<RequestT,Map<String,String>> pathVarsExtractor)
Parameters
Name Description
rawPath String
pathVarsExtractor FieldsExtractor<RequestT,Map<String,String>>
Returns
Type Description
Builder<RequestT>

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

public ProtoMessageRequestFormatter.Builder<RequestT> setQueryParamsExtractor(FieldsExtractor<RequestT,Map<String,List<String>>> queryParamsExtractor)
Parameter
Name Description
queryParamsExtractor FieldsExtractor<RequestT,Map<String,List<String>>>
Returns
Type Description
Builder<RequestT>

setRequestBodyExtractor(FieldsExtractor<RequestT,String> requestBodyExtractor)

public ProtoMessageRequestFormatter.Builder<RequestT> setRequestBodyExtractor(FieldsExtractor<RequestT,String> requestBodyExtractor)
Parameter
Name Description
requestBodyExtractor FieldsExtractor<RequestT,String>
Returns
Type Description
Builder<RequestT>

updateRawPath(String rawPath)

public ProtoMessageRequestFormatter.Builder<RequestT> updateRawPath(String rawPath)
Parameter
Name Description
rawPath String
Returns
Type Description
Builder<RequestT>

updateRawPath(String target, String replacement)

public ProtoMessageRequestFormatter.Builder<RequestT> updateRawPath(String target, String replacement)
Parameters
Name Description
target String
replacement String
Returns
Type Description
Builder<RequestT>