RESTful root resource class
Root resource classe是JAX-RS RESTful Web服务的入口,使用@Path注释指定该资源的URI,该类提供该资源或其子资源的method
a root resource class标准
- 使用@Path注释
- 必须具备public构造函数供runtime期调用
- 方法具备HTTP方法注解@GET @DELETE @PUT @POST
- 方法使用@Path注解访问子资源 https://access.redhat.com/documentation/en-US/Fuse_ESB_Enterprise/7.1/html/Developing_RESTful_Web_Services/files/SubResourceClass.html