uri : ... /resource/{id}
public voide method(@PathParam("id") String userId){}
uri : .../resource?id=123
public voide method(@QueryParam("id") String userId){}
gczmn 2017-10-16 14:33 原文
uri : ... /resource/{id}
public voide method(@PathParam("id") String userId){}
uri : .../resource?id=123
public voide method(@QueryParam("id") String userId){}