The running app instance.
Type of the resource the handler handles.
The number of times to retry a failed request for the resource.
Add a parser that converts raw data into a Model. Default parser is for JSON models.
See JsonModelParser for example.
Function that decides on which parser to use. Function should take (url, data) arguments and return true if this parser should be used to parse the data into a Model. The first parser to return true is used.
Resource handler used for loading Model resources.