public interface URLProvider
Use URLProvider to modify the end-point URL of the backend that the service will use for getting data.
Note: URLProvider is a singleton - only one instance of this class is created and the same is used for every service call. Therefore, URLProvider should not have any user/request specific data or state. Any data common to all the users/requests may be stored.
URLProvider2
Modifier and Type | Method and Description |
---|---|
String |
execute(String url,
DataControllerRequest request)
Modifies and returns the updated end-point URL of the service.
|
String execute(String url, DataControllerRequest request)
url
- - The end-point URL as listed in the service definitionrequest
- - The request objectCopyright © 2019. All rights reserved.