RoutePlannerRestHandler

@RestController
class RoutePlannerRestHandler(routePlanner: AbstractRoutePlanner?)

Constructors

Link copied to clipboard
constructor(routePlanner: AbstractRoutePlanner?)

Types

Link copied to clipboard
class RoutePlannerDisabledException : ResponseStatusException

Functions

Link copied to clipboard
@PostMapping(value = ["/v4/routeplanner/free/all"])
fun freeAllAddresses(request: HttpServletRequest): ResponseEntity<Unit>

Removes all addresses from the list which holds the addresses which are marked failing

Link copied to clipboard
@PostMapping(value = ["/v4/routeplanner/free/address"])
fun freeSingleAddress(request: HttpServletRequest, @RequestBody body: RoutePlannerFreeAddress): ResponseEntity<Unit>

Removes a single address from the addresses which are currently marked as failing

Link copied to clipboard
@GetMapping(value = ["/v4/routeplanner/status"])
fun getStatus(request: HttpServletRequest): ResponseEntity<RoutePlannerStatus>

Returns current information about the active AbstractRoutePlanner