Interface UrlSupporting<D>


public interface UrlSupporting<D>
Aspect providing means to support URLs for data objects.
Since:
5.2.200303
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Aspect providing means to support URLs for data objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Optional<String>
    getUrl(@NotNull UrlGenerationContext context, D object)
    Returns an URL string for the given object in the specified language, if there is any.
  • Field Details

  • Method Details

    • getUrl

      @NotNull @NotNull Optional<String> getUrl(@NotNull @NotNull UrlGenerationContext context, @NotNull D object)
      Returns an URL string for the given object in the specified language, if there is any.
      Parameters:
      context - The context in which the URL is requested.
      object - The object to get the URL for.
      Returns:
      The URL string of the given object, if available.
      Since:
      5.2.200303