package org.acme;

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

@Path("/hello")
public class HelloResource {

    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public String hello() {
        return "hello";
    }

    @GET
    @Path("/javaLibraryPath")
    @Produces(MediaType.TEXT_PLAIN)
    public String javaLibraryPath() {
        return System.getProperty("java.library.path");
    }

}
