Class V2WebpageController
- java.lang.Object
-
- de.digitalcollections.cudami.server.controller.identifiable.web.V2WebpageController
-
@RestController public class V2WebpageController extends Object
-
-
Constructor Summary
Constructors Constructor Description V2WebpageController(WebpageService webpageService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<String>getWebpageV2Json(UUID uuid, Locale pLocale)
-
-
-
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:
IdentifiableServiceExceptioncom.fasterxml.jackson.core.JsonProcessingException
-
-