Jersey常用注解解释 @DET、@PUT、@POST 、@DELETE等
uri : ... /resource/{id}
public voide method(@PathParam("id") String userId){}
uri : .../resource?id=123
public voide method(@QueryParam("id") String userId){}
uri : ... /resource/{id}
public voide method(@PathParam("id") String userId){}
uri : .../resource?id=123
public voide method(@QueryParam("id") String userId){}