package org.jboss.resteasy.test.resource.resource;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
@Path("/")
public class SegmentNullResource {
@GET
@Produces("text/plain")
public String doNothing() {
throw new RuntimeException("Not Implemented");
}
@GET
@Produces("text/plain")
@Path("child")
public String childDoNothing() {
throw new RuntimeException("Not Implemented");
}
@GET
@Produces("text/plain")
@Path("child/{name:[A-Za-z]+}")
public String childWithName(@PathParam("name") String name) {
throw new RuntimeException("Not Implemented");
}
@GET
@Produces("text/plain")
@Path("child/{id:[0-9]+}")
public String childWithId(@PathParam("id") String id) {
throw new RuntimeException("Not Implemented");
}
@GET
@Produces("text/plain")
@Path("child1/{id:\\d+}")
public String child1WithId(@PathParam("id") String id) {
throw new RuntimeException("Not Implemented");
}
}