public interface ComponentsResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
add(ComponentRepresentation rep) |
ComponentResource |
component(String id) |
List<ComponentRepresentation> |
query() |
List<ComponentRepresentation> |
query(String parent) |
List<ComponentRepresentation> |
query(String parent,
String type) |
List<ComponentRepresentation> |
query(String parent,
String type,
String name) |
@GET @Produces(value="application/json") List<ComponentRepresentation> query()
@GET @Produces(value="application/json") List<ComponentRepresentation> query(@QueryParam(value="parent") String parent)
@GET @Produces(value="application/json") List<ComponentRepresentation> query(@QueryParam(value="parent") String parent, @QueryParam(value="type") String type)
@GET @Produces(value="application/json") List<ComponentRepresentation> query(@QueryParam(value="parent") String parent, @QueryParam(value="type") String type, @QueryParam(value="name") String name)
@POST @Consumes(value="application/json") javax.ws.rs.core.Response add(ComponentRepresentation rep)
@Path(value="{id}") ComponentResource component(@PathParam(value="id") String id)
Copyright © 2021 JBoss by Red Hat. All rights reserved.