类 ScriptRouterFactory

  • 所有已实现的接口:
    RouterFactory

    public class ScriptRouterFactory
    extends Object
    implements RouterFactory
    ScriptRouterFactory

    Example URLS used by Script Router Factory:

    1. script://registyAddress?type=js&rule=xxxx
    2. script:///path/to/routerfile.js?type=js&rule=xxxx
    3. script://D:\path\to\routerfile.js?type=js&rule=xxxx
    4. script://C:/path/to/routerfile.js?type=js&rule=xxxx
    The host value in URL points out the address of the source content of the Script Router,Registry、File etc