public interface RolesResource
@POST @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response create(Role role) throws Exception
Exception
@POST @Consumes(value="text/plain") @Produces(value="application/json") javax.ws.rs.core.Response create(String roleName) throws Exception
Exception
@PUT @Consumes(value="application/json") @Produces(value="application/json") @Path(value="{id}") void update(@PathParam(value="id") String id, Role role) throws Exception
Exception
@DELETE @Path(value="{id}") void delete(@PathParam(value="id") String id)
Copyright © 2015 JBoss by Red Hat. All rights reserved.