Class WebpageHtmlController
java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.web.WebpageHtmlController
@Controller
public class WebpageHtmlController
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description WebpageHtmlController(WebpageService webpageService) -
Method Summary
Modifier and Type Method Description java.lang.StringgetWebpageAsHtml(java.util.UUID uuid, java.util.Locale pLocale, java.lang.String renderLabel, org.springframework.ui.Model model)
-
Constructor Details
-
Method Details
-
getWebpageAsHtml
@GetMapping(value={"/latest/webpages/{uuid}.html","/v3/webpages/{uuid}.html","/v2/webpages/{uuid}.html","/v1/webpages/{uuid}.html"}, produces="text/html") public java.lang.String getWebpageAsHtml(@PathVariable("uuid") java.util.UUID uuid, @RequestParam(name="pLocale",required=false) java.util.Locale pLocale, @RequestParam(name="renderLabel",required=false,defaultValue="true") java.lang.String renderLabel, org.springframework.ui.Model model) throws IdentifiableServiceException- Throws:
IdentifiableServiceException
-