Configuration options for the URL module.
Access various URL-related items from the Execution Context; for example access the current URL scheme.
Normalize a relative URL.
Offers APIs to convert URLs into Resource Reference objects and vice-versa.
All XWiki modules should use this API when they need to manipulate URLs and should not manipulate the JDK's URL class. The reasons are:
The only places where it's allowed to see the JDK's URL class is in system boundary code, in code accepting an external URL and transforming it into a XWiki Resource Reference and in code generating a URL from a XWiki Resource Reference for outside processes.
Copyright © 2004–2019 XWiki. All rights reserved.