package com.colobu.rest.jaxrs;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

@Path("/rest/hello")
public class HelloResource {
    public HelloResource() {
        System.out.println("HelloResource()");
    }
    
    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public String helloAsync() {
        return "Hello world";
    }

}
