Packagecom.adobe.net
Interfacepublic interface IURIResolver

The URI class cannot know about DNS aliases, virtual hosts, or symbolic links that may be involved. The application can provide an implementation of this interface to resolve the URI before the URI class makes any comparisons. For example, a web host has two aliases:

http://www.site.com/ http://www.site.net/

The application can provide an implementation that automatically resolves site.net to site.com before URI compares two URI objects. Only the application can know and understand the context in which the URI's are being used.

Use the URI.resolver accessor to assign a custom resolver to the URI class. Any resolver specified is global to all instances of URI.

URI will call this before performing URI comparisons in the URI.getRelation() and URI.getCommonParent() functions.

See also

URI.getRelation
URI.getCommonParent


Public Methods
 MethodDefined by
  
resolve(uri:URI):URI
Implement this method to provide custom URI resolution for your application.
IURIResolver
Method detail
resolve()method
public function resolve(uri:URI):URI

Implement this method to provide custom URI resolution for your application.

Parameters
uri:URI

Returns
URI