Handling Of Temporarily Unavailable Backends
summary
When an OData backend returns HTTP 503 with a Retry-After header, the UI5 OData V2 & V4 models expose setRetryAfterHandler to register a callback that receives a retryAfter timestamp and error message, must return a promise, and drives automatic retries for GET/POST/DELETE. Recommended behavior: if wait ≤5s lock the UI; 5s–10min show a progress dialog with a reject button; >10min reject immediately. The promise resolution triggers the retry; rejection propagates the error to the message model.
AI-written summary · about
