Global.helma.Http.evalUrl (url)
removes trailing slash from and evaluates a url

  • Parameter String:
    the url or uri string
  • Returns
    Object the result with error and result properties
Sourcecode in /home/hannes/helma/modules/helma/Http.js:
264:   helma.Http.evalUrl = function(url) {
265:       try {
266:           return new java.net.URL(url);
267:       } catch (err) {
268:           return null;
269:       }
270:   }