public class ResourceService extends Object
Constructor and Description |
---|
ResourceService(ResourceServer resourceServer,
Identity identity,
ResourceSetService resourceManager,
AuthorizationProvider authorization) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(UmaResourceRepresentation umaResource) |
javax.ws.rs.core.Response |
delete(String id) |
Set<String> |
find(String filter) |
RegistrationResponse |
findById(String id) |
public ResourceService(ResourceServer resourceServer, Identity identity, ResourceSetService resourceManager, AuthorizationProvider authorization)
@POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response create(UmaResourceRepresentation umaResource)
@Path(value="/{id}") @DELETE public javax.ws.rs.core.Response delete(@PathParam(value="id") String id)
@Path(value="/{id}") @GET @Produces(value="application/json") public RegistrationResponse findById(@PathParam(value="id") String id)
Copyright © 2016 JBoss by Red Hat. All rights reserved.