| Method | Defined by | ||
|---|---|---|---|
|
URLUtil()
| URLUtil | ||
|
getFullURL(rootURL:String, url:String):String
[static]
Converts a potentially relative URL to a fully-qualified URL.
| URLUtil | ||
|
isHttpURL(url:String):Boolean
[static]
Determines if the URL uses the HTTP, HTTPS, or RTMP protocol.
| URLUtil | ||
| URLUtil | () | constructor |
public function URLUtil()
| getFullURL | () | method |
public static function getFullURL(rootURL:String, url:String):StringConverts a potentially relative URL to a fully-qualified URL. If the URL is not relative, it is returned as is. If the URL starts with a slash, the host and port from the root URL are prepended. Otherwise, the host, port, and path are prepended.
ParametersrootURL:String — URL used to resolve the URL specified by the url parameter, if url is relative.
|
|
url:String — URL to convert.
|
String — Fully-qualified URL.
|
| isHttpURL | () | method |
public static function isHttpURL(url:String):BooleanDetermines if the URL uses the HTTP, HTTPS, or RTMP protocol.
Parametersurl:String — The URL to analyze.
|
Boolean — true if the URL starts with "http://", "https://", or "rtmp://".
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/util/URLUtil.html