Class WebpageHtmlController


  • @Controller
    @Api(description="The webpage controller",
         name="Webpage controller")
    public class WebpageHtmlController
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getWebpageAsHtml​(java.util.UUID uuid, java.util.Locale pLocale, org.springframework.ui.Model model)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebpageHtmlController

        public WebpageHtmlController()
    • Method Detail

      • getWebpageAsHtml

        @ApiMethod(description="Get a webpage as HTML")
        @RequestMapping(value={"/latest/webpages/{uuid}.html","/v3/webpages/{uuid}.html","/v2/webpages/{uuid}.html","/v1/webpages/{uuid}.html"},
                        produces="text/html",
                        method=GET)
        public java.lang.String getWebpageAsHtml​(@ApiPathParam(description="UUID of the webpage, e.g. <tt>599a120c-2dd5-11e8-b467-0ed5f89f718b</tt>") @PathVariable("uuid")
                                                 java.util.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)
                                                 java.util.Locale pLocale,
                                                 org.springframework.ui.Model model)
                                          throws de.digitalcollections.cudami.server.business.api.service.exceptions.IdentifiableServiceException
        Throws:
        de.digitalcollections.cudami.server.business.api.service.exceptions.IdentifiableServiceException