public interface RolesResource
Modifier and Type | Method and Description |
---|---|
void |
create(RoleRepresentation roleRepresentation) |
void |
deleteRole(String roleName) |
RoleResource |
get(String roleName) |
List<RoleRepresentation> |
list() |
@GET @Produces(value="application/json") List<RoleRepresentation> list()
@POST @Consumes(value="application/json") void create(RoleRepresentation roleRepresentation)
@Path(value="{roleName}") RoleResource get(@PathParam(value="roleName") String roleName)
@Path(value="{role-name}") @DELETE void deleteRole(@PathParam(value="role-name") String roleName)
Copyright © 2019 JBoss by Red Hat. All rights reserved.