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