Add a request handler. The handler function will be called to handle requests when a rule matching the given name has a pattern matching the request.
The handling function for the rule.
Remove all routing rules.
Handles (routes) an offline request.
Remove a request handler.
The name of the handler.
Whether a handler was found and removed.
Check the tile URL against any "Rewrite" rules in the offline manifest and return the rewritten URL if there is a match. Return null otherwise.
The URL to rewrite.
The rewritten URL or null.
Set the handler to use when no other handlers match. The handler will be called with rule and matches as null, as there is no rule that matched.
Set the rules that determine how (offline) requests are routed.
Set the rules that determine how (offline) requests are routed from a promise.
Routes offline requests through request handlers. This is done by hacking esri.request. The "Rewrite" request handler is the only handler installed by default.