コード例 #1
0
 @GET
 @Produces("image/*")
 @Path("logo")
 @RolesAllowed({AuthorizationService.ROLE_ADMIN, AuthorizationService.ROLE_USER})
 public Response getUploadLogo() throws Exception {
   return runService(generalFactory.getUploadLogo());
 }
コード例 #2
0
 @GET
 @Path("footer")
 @Consumes(MediaType.APPLICATION_JSON)
 public Response getFooter() {
   return runService(generalFactory.getFooterService());
 }