Interface UrlResolver
- All Known Implementing Classes:
DefaultUrlResolver
public interface UrlResolver
Utility used for resolving the full url for an
Application
or a Tenant
admin.- Author:
- Nick Crum (ncrum)
-
Method Summary
Modifier and TypeMethodDescriptiongetAdminUrl
(Tenant tenant) Resolves the full url of the admin for the provided tenant.getApplicationUrl
(Application application) Resolves the full url for the provided application.
-
Method Details
-
getApplicationUrl
Resolves the full url for the provided application. This is used for discovery of the location where an application is served.- Parameters:
application
- the application- Returns:
- the full url string for the application
-
getAdminUrl
Resolves the full url of the admin for the provided tenant. This is used for discovery of the location where the admin is served.- Parameters:
tenant
- the tenant- Returns:
- the full url string for the tenant
-