THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
@Path("/bookstore") public interface BookStore { @GET Books getAllBooks(); @Path("{id}") BookResource getBookSubresource(@PathParam("id") long id) throws NoBookFoundException; } public class BookStoreImpl implements BookStore { public Books getAllBooks() {} public BookBookResource getBookSubresource(long id) throws NoBookFoundException {} } public interface BookResource { @GET Book getBook(); } public class BookResourceImpl implements BookResource { Book getBook() {} } |
...