如何确定需要RestApi的参数?

时间:2015-07-07 18:14:31

标签: java web-services rest

如何使id参数成为必需参数?

@Get
@Path("/test")    
public class test{

   @Path("/test-method")
   public Response(@QueryParam String id){
    ..
    ..
   }
  }

0 个答案:

没有答案
相关问题