Interface WebAppLinkBuilder

All Known Implementing Classes:
PrefixingSupportingWebAppLinkBuilder

public interface WebAppLinkBuilder
API for building client-side valid links from within application code.
Since:
2.0.0
Author:
Arne Vandamme
  • Method Summary

    Modifier and Type
    Method
    Description
    buildLink(String baseLink)
    Convert the base link to an actual client-side link by processing prefixes, adding the context path and encoding the resulting url.
    buildLink(String baseLink, boolean encodeUrl)
    Convert the base link to an actual client-side link by processing prefixes, adding the context path and (optionally) encoding the resulting url.
  • Method Details

    • buildLink

      String buildLink(String baseLink)
      Convert the base link to an actual client-side link by processing prefixes, adding the context path and encoding the resulting url.
      Parameters:
      baseLink - to process
      Returns:
      processed link
    • buildLink

      String buildLink(String baseLink, boolean encodeUrl)
      Convert the base link to an actual client-side link by processing prefixes, adding the context path and (optionally) encoding the resulting url.
      Parameters:
      baseLink - to process
      encodeUrl - true if the url should be encoded afterwards (appends session id)
      Returns:
      processed link