Class WebpageHtmlController


  • @Controller
    public class WebpageHtmlController
    extends Object
    • Constructor Detail

      • WebpageHtmlController

        public WebpageHtmlController​(WebpageService webpageService)
    • Method Detail

      • getWebpageAsHtml

        @GetMapping(value={"/latest/webpages/{uuid}.html","/v3/webpages/{uuid}.html","/v2/webpages/{uuid}.html","/v1/webpages/{uuid}.html"},
                    produces="text/html")
        public String getWebpageAsHtml​(@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