public interface JSPoliciesResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(JSPolicyRepresentation representation) |
JSPolicyResource |
findById(String id) |
JSPolicyRepresentation |
findByName(String name) |
@POST @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response create(JSPolicyRepresentation representation)
@Path(value="{id}") JSPolicyResource findById(@PathParam(value="id") String id)
@Path(value="/search") @GET @Produces(value="application/json") JSPolicyRepresentation findByName(@QueryParam(value="name") String name)
Copyright © 2020 JBoss by Red Hat. All rights reserved.