Class AppRestControllerAdvice

java.lang.Object
org.tailormap.api.controller.AppRestControllerAdvice

@RestControllerAdvice(annotations=AppRestController.class) public class AppRestControllerAdvice extends Object
  • Constructor Details

  • Method Details

    • initBinder

      @InitBinder protected void initBinder(org.springframework.web.bind.WebDataBinder binder)
    • handleResponseStatusException

      @ExceptionHandler(org.springframework.web.server.ResponseStatusException.class) protected org.springframework.http.ResponseEntity<?> handleResponseStatusException(org.springframework.web.server.ResponseStatusException ex)
    • populateViewerKind

      @ModelAttribute public ViewerResponse.KindEnum populateViewerKind(jakarta.servlet.http.HttpServletRequest request)
    • populateApplication

      @ModelAttribute public Application populateApplication(@ModelAttribute ViewerResponse.KindEnum viewerKind, @PathVariable(required=false) String viewerName, @RequestParam(required=false) String base, @RequestParam(required=false) String projection)
    • populateAppTreeLayerNode

      @ModelAttribute public AppTreeLayerNode populateAppTreeLayerNode(@ModelAttribute Application app, @PathVariable(required=false) String appLayerId)
    • populateGeoService

      @ModelAttribute public GeoService populateGeoService(@ModelAttribute Application app, @ModelAttribute AppTreeLayerNode appTreeLayerNode)
    • populateGeoServiceLayer

      @ModelAttribute public GeoServiceLayer populateGeoServiceLayer(@ModelAttribute AppTreeLayerNode appTreeLayerNode, @ModelAttribute GeoService service)