Class LegalController

java.lang.Object
com.ericbouchut.learndev.legal.LegalController

@Controller public class LegalController extends Object
Web endpoints for the legal pages. Currently the privacy policy (GDPR information duty, art. 13); future legal pages (terms of use, legal notice) belong here too.
  • Constructor Details

    • LegalController

      public LegalController()
  • Method Details

    • privacy

      @GetMapping("/privacy") public String privacy()
      Display the privacy policy page (in French, the language of the supervisory framework this policy addresses).
      Returns:
      the name of the Thymeleaf template for the privacy policy