extractRuteParam method

bool extractRuteParam(
  1. List<ParamExtractor> positionalArgumentsFunctions,
  2. Map<Symbol, ParamExtractor> namedArgumentsFunctions,
  3. ParameterMirror singleParam,
  4. 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;
}