executor method
DynCallExecutor<E>
executor(
- HttpMethod method, {
- String? path,
- String? fullPath,
- Map<
String, String> ? parametersMap, - Map<
String, String> ? parametersStatic, - Map<
String, ParameterProvider> ? parametersProviders, - String? queryString,
- dynamic noQueryString = false,
- Credential? authorization,
- List<
String> ? authorizationFields, - Object? body,
- Object? bodyBuilder,
- String? bodyType,
- E? errorResponse,
- int errorMaxRetries = 3,
- HTTPOutputValidator? outputValidator,
- HTTPOutputFilter? outputFilter,
- HTTPJSONOutputFilter? jsonOutputFilter,
- String? outputFilterPattern,
Configure and define the call executor. See DynCallHttpExecutor fields documentation.
Implementation
DynCallExecutor<E> executor(HttpMethod method,
{String? path,
String? fullPath,
Map<String, String>? parametersMap,
Map<String, String>? parametersStatic,
Map<String, ParameterProvider>? parametersProviders,
String? queryString,
noQueryString = false,
Credential? authorization,
List<String>? authorizationFields,
Object? body,
Object? bodyBuilder,
String? bodyType,
E? errorResponse,
int errorMaxRetries = 3,
HTTPOutputValidator? outputValidator,
HTTPOutputFilter? outputFilter,
HTTPJSONOutputFilter? jsonOutputFilter,
String? outputFilterPattern}) {
return factory.define(call, method,
path: path,
fullPath: fullPath,
parametersMap: parametersMap,
parametersStatic: parametersStatic,
parametersProviders: parametersProviders,
queryString: queryString,
noQueryString: noQueryString,
authorization: authorization,
authorizationFields: authorizationFields,
body: body,
bodyBuilder: bodyBuilder,
bodyType: bodyType,
errorResponse: errorResponse,
errorMaxRetries: errorMaxRetries,
outputValidator: outputValidator,
outputFilter: outputFilter,
jsonOutputFilter: jsonOutputFilter,
outputFilterPattern: outputFilterPattern);
}