The web client is the default client delivered by the RAP server if an application URL is entered into a web browser.
As of RAP 1.5, the following browsers are supported:
- Internet Explorer 7+
- Google Chrome 7+
- Firefox 3.5+
- Safari 4+
- Opera 10+
- iOs 5+ (Safari)
- Android 3+ (stock browser, limited)
The web client is represented on the server by the class
org.eclipse.rap.rwt.client.WebClient. (Since RAP 2.0.) An instance can be obtained via
org.eclipse.rap.rwt.RWT#getClient(). Besides the methods specified by the
org.eclipse.rap.rwt.client.Client interface, it also provides a number of constants that may be used in the configuration map of an application entrypoint.
WebClient#getService() method can be used to obtain the follwing supported services:
Diferent clients may support different services. If you target multiple clients, check for null before using a service.