Newer
Older
CactusServer / src / main / java / cactusServer / resources / InstancesRest.java
n-fujimoto on 15 May 2018 586 bytes InstancesRest作成
package cactusServer.resources;

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

@Path("instances")
public class InstancesRest {
	public InstancesRest() {
		
	}
	
	@Path("/test")
	@GET
	@Produces(MediaType.TEXT_PLAIN)
    public String hoge() {
        return "deploy jenkins from tomcat";
	}
	

	
	
//	@Path("/{instanceId}")
//	@GET
//	@Produces(MediaType.APPLICATION_JSON)
//	public Instance getInstance(@PathParam("instanceId") String instanceId) {
//		//return Instances.ge
//	}
	

}