Is it Possible To Set A Timeout For REST Service in a Call From a MAF App or MCS API?

(Doc ID 2359223.1)

Last updated on FEBRUARY 20, 2018

Applies to:

Mobile Cloud Service - Version 15.3.1 and later
Mobile Application Framework - Version 2.0.0 and later
Information in this document applies to any platform.

Goal

RestServiceAdapter is being used in Oracle MAF to call Restful Services.
The requirement is to set a timeout for the service to avoid "hang" issues when there is poor network connectivity.

Is there a way to set timeout for REST service call ?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms