Class V2WebpageController
java.lang.Object
de.digitalcollections.cudami.server.controller.identifiable.web.V2WebpageController
@RestController
public class V2WebpageController
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description V2WebpageController(WebpageService webpageService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and Type Method Description org.springframework.http.ResponseEntity<java.lang.String>getWebpageV2Json(java.util.UUID uuid, java.util.Locale pLocale)
-
Constructor Details
-
V2WebpageController
public V2WebpageController(WebpageService webpageService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getWebpageV2Json
@GetMapping(value={"/v2/webpages/{uuid}.json","/v2/webpages/{uuid}"}, produces="application/json") public org.springframework.http.ResponseEntity<java.lang.String> getWebpageV2Json(@PathVariable("uuid") java.util.UUID uuid, @RequestParam(name="pLocale",required=false) java.util.Locale pLocale) throws IdentifiableServiceException, com.fasterxml.jackson.core.JsonProcessingException- Throws:
IdentifiableServiceExceptioncom.fasterxml.jackson.core.JsonProcessingException
-