preApiRequestHandlers property
APIRequestHandler
list to try before attempt an API call.
- The first
APIRequestHandler
to return an APIResponse will defined the APIRequest response. - This
APIRequestHandler
list is ALWAYS called. - An API call will be attempted ONLY if NO
APIRequestHandler
returns an APIResponse.
Implementation
final Set<APIRequestHandler> preApiRequestHandlers;