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 Details

    • getApplicationUrl

      Optional<String> getApplicationUrl(Application application)
      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

      Optional<String> getAdminUrl(Tenant tenant)
      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