github.com/GoogleContainerTools/skaffold@v1.39.18/examples/jib/src/main/java/hello/HelloController.java (about)

     1  package hello;
     2  
     3  import org.springframework.web.bind.annotation.RestController;
     4  import org.springframework.web.bind.annotation.RequestMapping;
     5  
     6  @RestController
     7  public class HelloController {
     8      @RequestMapping("/")
     9      public String index() {
    10          return "Hello, World!";
    11      }
    12  }