Newer
Older
IrisServer / src / main / java / com / ntlab / irisserver / resources / HelloWorld.java
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";
    }
}