@Path(value="/deprecated") @Produces(value="application/json") @Consumes(value="application/json") public class RestFeeds extends RestBase
| Constructor and Description |
|---|
RestFeeds() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
delete(String feedId) |
javax.ws.rs.core.Response |
get(String feedId) |
javax.ws.rs.core.Response |
getAll(javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
register(Feed.Blueprint blueprint,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
update(String feedId,
Feed.Update update) |
create, getMapper, getPath, getPath, getTenantId, getTenantPath, getTraverser, pagedResponse, pagedResponse, parsePath, setupMapper@POST @Path(value="/feeds") public javax.ws.rs.core.Response register(Feed.Blueprint blueprint, @Context javax.ws.rs.core.UriInfo uriInfo)
@GET
@Path(value="/feeds")
public javax.ws.rs.core.Response getAll(@Context
javax.ws.rs.core.UriInfo uriInfo)
@GET
@Path(value="/feeds/{feedId}")
public javax.ws.rs.core.Response get(@PathParam(value="feedId")
String feedId)
@PUT
@Path(value="/feeds/{feedId}")
public javax.ws.rs.core.Response update(@PathParam(value="feedId")
String feedId,
Feed.Update update)
@DELETE
@Path(value="/feeds/{feedId}")
public javax.ws.rs.core.Response delete(@PathParam(value="feedId")
String feedId)
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.