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