Class MyLinksResourceURIs


  • @Bean
    @Singleton
    public class MyLinksResourceURIs
    extends Object
    Base URIs from which the REST-based ressources representing MyLinks entities are defined.
    Author:
    silveryocha
    • Method Detail

      • ofCategory

        public URI ofCategory​(CategoryDetail category)
        Centralizes the build of a category URI.
        Parameters:
        category - a category.
        Returns:
        the computed URI.
      • ofLink

        public URI ofLink​(LinkDetail link)
        Centralizes the build of a link URI.
        Parameters:
        link - a link.
        Returns:
        the computed URI.