Class V2WebpageController


  • @RestController
    public class V2WebpageController
    extends Object
    • Constructor Detail

      • V2WebpageController

        public V2WebpageController​(WebpageService webpageService,
                                   com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • getWebpageV2Json

        @GetMapping(value={"/v2/webpages/{uuid}.json","/v2/webpages/{uuid}"},
                    produces="application/json")
        public org.springframework.http.ResponseEntity<String> getWebpageV2Json​(@PathVariable("uuid")
                                                                                UUID uuid,
                                                                                @RequestParam(name="pLocale",required=false)
                                                                                Locale pLocale)
                                                                         throws IdentifiableServiceException,
                                                                                com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        IdentifiableServiceException
        com.fasterxml.jackson.core.JsonProcessingException