@Component(value="timelineRestService") @Path(value="timeline") public class TimelineRestService extends OnmsRestService
OnmsRestService.ComparisonOperation
Modifier and Type | Field and Description |
---|---|
static ArrayList<org.opennms.web.rest.v1.TimelineRestService.TimescaleDescriptor> |
TIMESCALE_DESCRIPTORS
The static list of timescales
|
DEFAULT_LIMIT
Constructor and Description |
---|
TimelineRestService() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
empty(long start,
long end,
int width) |
javax.ws.rs.core.Response |
header(long start,
long end,
int width) |
javax.ws.rs.core.Response |
html(javax.ws.rs.core.UriInfo uriInfo,
int nodeId,
String ipAddress,
String serviceName,
long start,
long end,
int width) |
javax.ws.rs.core.Response |
image(javax.ws.rs.core.UriInfo uriInfo,
int nodeId,
String ipAddress,
String serviceName,
long start,
long end,
int width) |
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
public static final ArrayList<org.opennms.web.rest.v1.TimelineRestService.TimescaleDescriptor> TIMESCALE_DESCRIPTORS
@GET @Produces(value="image/png") @Transactional @Path(value="header/{start}/{end}/{width}") public javax.ws.rs.core.Response header(@PathParam(value="start") long start, @PathParam(value="end") long end, @PathParam(value="width") int width) throws IOException
IOException
@GET @Produces(value="text/html") @Transactional @Path(value="html/{nodeId}/{ipAddress}/{serviceName}/{start}/{end}/{width}") public javax.ws.rs.core.Response html(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="nodeId") int nodeId, @PathParam(value="ipAddress") String ipAddress, @PathParam(value="serviceName") String serviceName, @PathParam(value="start") long start, @PathParam(value="end") long end, @PathParam(value="width") int width) throws IOException
IOException
@GET @Produces(value="image/png") @Transactional @Path(value="image/{nodeId}/{ipAddress}/{serviceName}/{start}/{end}/{width}") public javax.ws.rs.core.Response image(@Context javax.ws.rs.core.UriInfo uriInfo, @PathParam(value="nodeId") int nodeId, @PathParam(value="ipAddress") String ipAddress, @PathParam(value="serviceName") String serviceName, @PathParam(value="start") long start, @PathParam(value="end") long end, @PathParam(value="width") int width) throws IOException
IOException
@GET @Produces(value="image/png") @Transactional @Path(value="empty/{start}/{end}/{width}") public javax.ws.rs.core.Response empty(@PathParam(value="start") long start, @PathParam(value="end") long end, @PathParam(value="width") int width) throws IOException
IOException
Copyright © 2016. All rights reserved.