public interface UsersResource
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(StoredUser user) |
javax.ws.rs.core.Response |
delete(String id) |
User |
get(String id) |
void |
update(String id,
StoredUser user) |
@POST @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response create(StoredUser user) throws Exception
Exception@PUT
@Consumes(value="application/json")
@Produces(value="application/json")
@Path(value="{id}")
void update(@PathParam(value="id")
String id,
StoredUser user)
throws Exception
Exception@DELETE
@Path(value="{id}")
javax.ws.rs.core.Response delete(@PathParam(value="id")
String id)
Copyright © 2019 JBoss by Red Hat. All rights reserved.