@Controller public class HtmlViewController extends Object
| Constructor and Description |
|---|
HtmlViewController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getWebpageAsHtml(UUID uuid,
Locale pLocale,
org.springframework.ui.Model model) |
@ApiMethod(description="get a webpage as HTML")
@RequestMapping(value="/v1/webpages/{uuid}.html",
produces="text/html",
method=GET)
public String getWebpageAsHtml(@ApiPathParam(description="UUID of the webpage, e.g. <tt>599a120c-2dd5-11e8-b467-0ed5f89f718b</tt>") @PathVariable(value="uuid")
UUID uuid,
@ApiQueryParam(name="pLocale",description="Desired locale, e.g. <tt>de_DE</tt>. If unset, contents in all languages will be returned") @RequestParam(name="pLocale",required=false)
Locale pLocale,
org.springframework.ui.Model model)
throws IdentifiableServiceException
IdentifiableServiceExceptionCopyright © 2018. All rights reserved.