Interface UrlSupporting<D>
public interface UrlSupporting<D>
Aspect providing means to support URLs for data objects.
- Since:
- 5.2.200303
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SessionAspectType<UrlSupporting>
Aspect providing means to support URLs for data objects. -
Method Summary
Modifier and TypeMethodDescriptiongetUrl
(@NotNull UrlGenerationContext context, D object) Returns an URL string for the given object in the specified language, if there is any.
-
Field Details
-
TYPE
Aspect providing means to support URLs for data objects.- Since:
- 5.2.200303
-
-
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
-