21 lines
381 B
Java
21 lines
381 B
Java
|
///usr/bin/env jbang "$0" "$@" ; exit $?
|
||
|
//DEPS io.quarkus:quarkus-bom:2.4.0.Final@pom
|
||
|
//DEPS io.quarkus:quarkus-resteasy
|
||
|
|
||
|
import javax.enterprise.context.ApplicationScoped;
|
||
|
import javax.ws.rs.GET;
|
||
|
import javax.ws.rs.Path;
|
||
|
|
||
|
// @ApplicationPath("/hello")
|
||
|
@Path("")
|
||
|
@ApplicationScoped
|
||
|
public class App {
|
||
|
|
||
|
@GET
|
||
|
// @Path("/")
|
||
|
public String handleHello() {
|
||
|
return "OK";
|
||
|
}
|
||
|
|
||
|
}
|