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