Class DesktopManifestController

java.lang.Object
com.onec.desktop.DesktopManifestController

@RestController @RequestMapping("/api/desktop") public class DesktopManifestController extends Object
The two endpoints the Tauri shell drives at launch:
  • GET /api/desktop/ready — returns 200 once the context is up, so the shell knows when to swap the splash for the real window. Doubles as a liveness probe, sparing us a dependency on Spring Actuator.
  • GET /api/desktop/manifest — the DesktopManifest built from the application's DesktopApp bean: title, geometry, tray, splash.
  • Constructor Details

    • DesktopManifestController

      public DesktopManifestController(DesktopManifest manifest)
  • Method Details

    • ready

      @GetMapping("/ready") public org.springframework.http.ResponseEntity<Void> ready()
    • manifest

      @GetMapping("/manifest") public DesktopManifest manifest()