Class V1WebpageController
- java.lang.Object
-
- de.digitalcollections.cudami.server.controller.identifiable.web.V1WebpageController
-
@RestController public class V1WebpageController extends Object
-
-
Constructor Summary
Constructors Constructor Description V1WebpageController(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>getByUuidV1Json(UUID uuid, Locale pLocale)
-
-
-
Constructor Detail
-
V1WebpageController
public V1WebpageController(WebpageService webpageService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
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 IdentifiableServiceException, com.fasterxml.jackson.core.JsonProcessingException- Throws:
IdentifiableServiceExceptioncom.fasterxml.jackson.core.JsonProcessingException
-
-