摘要:
3.1. @Path and regular expression mappings@Path("/library")public class Library { @GET @Path("/books") public String getBooks() {...} @GET @Path("/book/{isbn}") public String getBook(@PathParam("isbn") String id) { // search my database and get a string repres 阅读全文