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