HTTPLib external type

HTTPLib contains functions that are useful specifically in applications that access the web.

Package

eglx.lang

Functions
Table 1. Functions
Function Purpose
eglx.http package HTTPLib.convertFromURLEncoded returns a version of a Universe Resource Locator (URL) that is decoded; for example, the returned string has a space instead of the following characters: %20.

HTTPLib.convertToURLEncoded HTTPLib.convertToURLEncoded returns a Universe Resource Locator (URL), which identifies a web page or represents the resource that will be accessed by a REST service.

HTTPLib.setHTTPBasicAuthentication system function Not yet implemented.

HTTPLib.setHTTPBasicAuthentication gives the user access to a web application when that access is protected by JEE basic authentication.

HTTPLib.setProxyBasicAuthentication Not yet implemented.

HTTPLib.setProxyBasicAuthentication gives the user access to the EGL Rich UI Proxy when that access is protected by JEE basic authentication.

Comments
The library is implemented as an EGL external type, stereotype NativeType, and not as an EGL library.
Compatibility

Table 2. Compatibility
Target Issue
Java See the function-specific topics.
JavaScript See the function-specific topics.