Package de.dlr.proseo.geotools.rest
Class InfoControllerImpl
java.lang.Object
de.dlr.proseo.geotools.rest.InfoControllerImpl
- All Implemented Interfaces:
InfoController
Controller to handle the request for information on the regions provided in
application.yml.
- Author:
- Ernst Melchinger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> getInfo()Return information on the known regions.
-
Constructor Details
-
InfoControllerImpl
public InfoControllerImpl()
-
-
Method Details
-
getInfo
public org.springframework.http.ResponseEntity<?> getInfo()Return information on the known regions.- Specified by:
getInfoin interfaceInfoController- Returns:
- HttpStatus 200 and the requested information OR HttpStatus 400 and an error message if the input was invalid OR HttpStatus 500 and an error message if the input was valid but the implementation is pending or a problem occurred while trying to process a shape file
-