Class CompositeController
java.lang.Object
de.uniba.minf.core.rest.controller.BaseRestController<de.uniba.minf.registry.model.entity.Entity>
de.uniba.minf.registry.controller.CompositeController
@RestController
@RequestMapping("/api/v1/c")
public class CompositeController
extends de.uniba.minf.core.rest.controller.BaseRestController<de.uniba.minf.registry.model.entity.Entity>
-
Field Summary
Fields inherited from class de.uniba.minf.core.rest.controller.BaseRestController
authInfoHelper, linksHelper, messageSource, objectMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.uniba.minf.core.rest.model.RestResponsecreateComposite(String entityId, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, Locale locale) Methods inherited from class de.uniba.minf.core.rest.controller.BaseRestController
getActualLimit, getBaseUrl, getControllerBaseUrl, getControllerBaseUrlWithSuffix, getItem, getItem, getItemLinks, getItemLinks, getItemResponse, getItems, getLinks, getLinks, handleBindException, handleException, handleRuntimeException, setLinksOnSubitem, setLinksOnSubitem, setLinksOnSubitems, setLinksOnSubitems
-
Constructor Details
-
CompositeController
public CompositeController()
-
-
Method Details
-
createComposite
@PostMapping("/{entityId}") public de.uniba.minf.core.rest.model.RestResponse createComposite(@PathVariable("entityId") String entityId, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, Locale locale) throws de.uniba.minf.registry.model.validation.exception.ValidationConfigurationException, de.uniba.minf.core.rest.exception.ApiItemNotFoundException - Throws:
de.uniba.minf.registry.model.validation.exception.ValidationConfigurationExceptionde.uniba.minf.core.rest.exception.ApiItemNotFoundException
-