Class ScenarioQualityCheckerController
java.lang.Object
pl.put.poznan.qualitychecker.rest.ScenarioQualityCheckerController
Class implementing logic for handling requests to the REST API.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ScenarioQualityCheckerController
public ScenarioQualityCheckerController()
-
-
Method Details
-
get
@RequestMapping(method=GET, produces="application/json") public org.springframework.http.ResponseEntity<String> get(@RequestBody String jsonBody) Handles GET requests to the REST API.- Parameters:
jsonBody
- JSON string representing request body.- Returns:
- Response from the application.
-
post
@RequestMapping(method=POST, produces="application/json") public org.springframework.http.ResponseEntity<String> post(@RequestBody String jsonBody) Handles POST requests to the REST API.- Parameters:
jsonBody
- JSON string representing request body.- Returns:
- Response from the application.
-