You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
Builder 7.5.0 Syntax |
aUrlString = composeUrl(aUrlObject)
|
---|
Semantics |
Build a String containing a URL from an object of type URL.
composeUrl() uses the following defaults:
- If no scheme/protocol is given, https is supplied as default scheme.
- If not given, the port is derived from the scheme/protocol, e.g. 443 for https.
|
---|
Substitutables | aUrlObject | An object of type URL containing the URL information. |
---|
aUrlString | A String containing the URL build from the input object by composeUrl() . |
Error Codes | Find the related error codes on System Errors. |
---|
FUMSM/33 | URL composing error. |
Examples | Input: <aUrlObject> <scheme>https</scheme> <host>doc.scheer-pas.com</host> <path>dosearchsite.action</path> <query>queryString=parseUrl</query> </aUrlObject>
aUrlString = composeUrl(aUrlObject);
Output:
https://doc.scheer-pas.com:443/dosearchsite.action?queryString=parseUrl
|
---|