Class WebpageHtmlController


  • @Controller
    public class WebpageHtmlController
    extends Object
    • Constructor Detail

      • WebpageHtmlController

        public WebpageHtmlController​(WebpageService webpageService)
    • Method Detail

      • getByUuidAsHtml

        @GetMapping(value={"/latest/webpages/{uuid}.html","/v3/webpages/{uuid}.html","/v2/webpages/{uuid}.html","/v1/webpages/{uuid}.html"},
                    produces="text/html")
        public String getByUuidAsHtml​(@PathVariable("uuid")
                                      UUID uuid,
                                      @RequestParam(name="pLocale",required=false)
                                      Locale pLocale,
                                      @RequestParam(name="renderLabel",required=false,defaultValue="true")
                                      String renderLabel,
                                      org.springframework.ui.Model model)
                               throws IdentifiableServiceException
        Throws:
        IdentifiableServiceException