public interface ResourcesResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(ResourceRepresentation resource) |
List<ResourceRepresentation> |
find(String name,
String uri,
String owner,
String type,
String scope,
Integer firstResult,
Integer maxResult) |
List<ResourceRepresentation> |
findByName(String name) |
List<ResourceRepresentation> |
findByName(String name,
String owner) |
ResourceResource |
resource(String id) |
List<ResourceRepresentation> |
resources() |
@POST @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response create(ResourceRepresentation resource)
@Path(value="{id}") ResourceResource resource(@PathParam(value="id") String id)
@GET @Produces(value="application/json") List<ResourceRepresentation> find(@QueryParam(value="name") String name, @QueryParam(value="uri") String uri, @QueryParam(value="owner") String owner, @QueryParam(value="type") String type, @QueryParam(value="scope") String scope, @QueryParam(value="first") Integer firstResult, @QueryParam(value="max") Integer maxResult)
@GET @Produces(value="application/json") List<ResourceRepresentation> findByName(@QueryParam(value="name") String name)
@GET @Produces(value="application/json") List<ResourceRepresentation> findByName(@QueryParam(value="name") String name, @QueryParam(value="owner") String owner)
@GET @Produces(value="application/json") List<ResourceRepresentation> resources()
Copyright © 2021 JBoss by Red Hat. All rights reserved.