Class InfoControllerImpl

java.lang.Object
de.dlr.proseo.geotools.rest.InfoControllerImpl
All Implemented Interfaces:
InfoController

@Component public class InfoControllerImpl extends Object implements InfoController
Controller to handle the request for information on the regions provided in application.yml.
Author:
Ernst Melchinger
  • Constructor Details

    • InfoControllerImpl

      public InfoControllerImpl()
  • Method Details

    • getInfo

      public org.springframework.http.ResponseEntity<?> getInfo()
      Return information on the known regions.
      Specified by:
      getInfo in interface InfoController
      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