Class WebpageHtmlController
- java.lang.Object
-
- de.digitalcollections.cudami.server.controller.identifiable.web.WebpageHtmlController
-
@Controller public class WebpageHtmlController extends Object
-
-
Constructor Summary
Constructors Constructor Description WebpageHtmlController(WebpageService webpageService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetWebpageAsHtml(UUID uuid, Locale pLocale, String renderLabel, org.springframework.ui.Model model)
-
-
-
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
-
-