Interface PathProxyAwareAbsolutePortalURLBuilder<T>

All Known Subinterfaces:
BundleScriptAbsolutePortalURLBuilder, BundleStylesheetAbsolutePortalURLBuilder, ESModuleAbsolutePortalURLBuilder

public interface PathProxyAwareAbsolutePortalURLBuilder<T>
A URL builder that controls prepending the proxy path (com.liferay.portal.util.PropsValues#PORTAL_PROXY_PATH) to the URL.

By default, the proxy path is always used. However, there are scenarios where the developer may need to strip it from the generated URL (e.ge. when retrieving the internal URL of a resource).

  • Method Summary

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

    • ignorePathProxy

      T ignorePathProxy()
      Returns a version of this URL builder that ignores the proxy path part.
      Returns:
      a version of this URL builder that ignores the proxy path part