Package org.opennms.web.rest.v1
Class TimelineRestService
- java.lang.Object
-
- org.opennms.web.rest.v1.OnmsRestService
-
- org.opennms.web.rest.v1.TimelineRestService
-
@Component("timelineRestService") public class TimelineRestService extends OnmsRestService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.web.rest.v1.OnmsRestService
OnmsRestService.ComparisonOperation
-
-
Field Summary
Fields Modifier and Type Field Description static ArrayList<org.opennms.web.rest.v1.TimelineRestService.TimescaleDescriptor>TIMESCALE_DESCRIPTORSThe static list of timescales-
Fields inherited from class org.opennms.web.rest.v1.OnmsRestService
DEFAULT_LIMIT
-
-
Constructor Summary
Constructors Constructor Description TimelineRestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responseempty(long start, long end, int width)javax.ws.rs.core.Responseheader(long start, long end, int width)javax.ws.rs.core.Responsehtml(javax.ws.rs.core.UriInfo uriInfo, int nodeId, String ipAddress, String serviceName, long start, long end, int width)javax.ws.rs.core.Responseimage(javax.ws.rs.core.UriInfo uriInfo, int nodeId, String ipAddress, String serviceName, long start, long end, int width)-
Methods inherited from class org.opennms.web.rest.v1.OnmsRestService
applyQueryFilters, applyQueryFilters, getBadRequestResponse, getBeanWrapperForClass, getException, getException, getNumericValue, getRedirectUri, readLock, readUnlock, removeParameter, removeParameter, setProperties, writeLock, writeUnlock
-
-
-
-
Field Detail
-
TIMESCALE_DESCRIPTORS
public static final ArrayList<org.opennms.web.rest.v1.TimelineRestService.TimescaleDescriptor> TIMESCALE_DESCRIPTORS
The static list of timescales
-
-
Method Detail
-
header
@Transactional public javax.ws.rs.core.Response header(long start, long end, int width) throws IOException- Throws:
IOException
-
html
@Transactional public javax.ws.rs.core.Response html(@Context javax.ws.rs.core.UriInfo uriInfo, int nodeId, String ipAddress, String serviceName, long start, long end, int width) throws IOException- Throws:
IOException
-
image
@Transactional public javax.ws.rs.core.Response image(@Context javax.ws.rs.core.UriInfo uriInfo, int nodeId, String ipAddress, String serviceName, long start, long end, int width) throws IOException- Throws:
IOException
-
empty
@Transactional public javax.ws.rs.core.Response empty(long start, long end, int width) throws IOException- Throws:
IOException
-
-