extractRuteParam method
bool
extractRuteParam(
- List<
ParamExtractor> positionalArgumentsFunctions, - Map<
Symbol, ParamExtractor> namedArgumentsFunctions, - ParameterMirror singleParam,
- ObjectMapper om,
Implementation
bool extractRuteParam(
List<ParamExtractor> positionalArgumentsFunctions,
Map<Symbol, ParamExtractor> namedArgumentsFunctions,
ParameterMirror singleParam,
ObjectMapper om,
) {
///Process request body
bool processedBody = processBodyAnnotation(
positionalArgumentsFunctions,
namedArgumentsFunctions,
singleParam,
om,
);
///Process request header
bool processedHeader = processHeaderAnnotation(
positionalArgumentsFunctions,
namedArgumentsFunctions,
singleParam,
);
///Process raw request entity
bool processedRawRequest = processRouteRawRequest(
positionalArgumentsFunctions,
namedArgumentsFunctions,
singleParam,
);
///Process path param
bool processedPathParam = processPathParamAnnotation(
positionalArgumentsFunctions,
namedArgumentsFunctions,
singleParam,
);
///Process query param
bool processedQueryParam = processQueryParamAnnotation(
positionalArgumentsFunctions,
namedArgumentsFunctions,
singleParam,
);
return processedBody ||
processedHeader ||
processedRawRequest ||
processedPathParam ||
processedQueryParam;
}