diff --git a/src/main/java/com/ntlab/irisserver/resources/HelloWorld.java b/src/main/java/com/ntlab/irisserver/resources/HelloWorld.java new file mode 100644 index 0000000..9dbfe2b --- /dev/null +++ b/src/main/java/com/ntlab/irisserver/resources/HelloWorld.java @@ -0,0 +1,16 @@ +package com.ntlab.irisserver.resources; + +import org.springframework.stereotype.Component; + +import javax.ws.rs.GET; +import javax.ws.rs.Path; + +@Component +@Path("hello") +public class HelloWorld { + @GET + @Path("hello") + public String getHello() { + return "Hello World"; + } +}