Class NtsLocationResource


  • @RestController
    @RequestMapping("/api")
    @ConditionalOnProperty(prefix="nts.web.rest.location",
                           name="enabled",
                           havingValue="true")
    public class NtsLocationResource
    extends Object
    • Constructor Detail

      • NtsLocationResource

        protected NtsLocationResource​(NtsLocationHelper locationHelper)
    • Method Detail

      • findAll

        @GetMapping("/locations")
        public reactor.core.publisher.Mono<Set<NtsLocationDTO>> findAll()
      • findOne

        @GetMapping("/locations/{id}")
        public reactor.core.publisher.Mono<NtsLocationDTO> findOne​(@PathVariable
                                                                   Long id)