package com.ankurm.graalvmdemo; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; /** * The baseline endpoint used for every startup-time and memory measurement in this chapter -- * deliberately trivial, so the numbers reflect the framework and the runtime, not application * work. See docs/01-building-the-image.md. */ @RestController public class HelloController { @GetMapping("/hello") public String hello() { return "Hello from a GraalVM native image!"; } }