Interface CDNAwareAbsolutePortalURLBuilder<T>

All Known Subinterfaces:
BundleScriptAbsolutePortalURLBuilder, BundleStylesheetAbsolutePortalURLBuilder, ESModuleAbsolutePortalURLBuilder, PortalImageAbsolutePortalURLBuilder, PortletDependencyAbsolutePortalURLBuilder

public interface CDNAwareAbsolutePortalURLBuilder<T>
A URL builder that controls serving by CDN/portal of underlying resource.

By default, CDN aware resources are served from CDN if it is configured.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a version of this URL builder that ignores the CDN part.
  • Method Details

    • ignoreCDNHost

      T ignoreCDNHost()
      Returns a version of this URL builder that ignores the CDN part. See com.liferay.portal.kernel.util.Portal#getCDNHost( javax.servlet.http.HttpServletRequest) for details.
      Returns:
      a version of this URL builder that ignores the CDN part