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 java.util.ArrayList<org.opennms.web.rest.v1.TimelineRestService.TimescaleDescriptor>
TIMESCALE_DESCRIPTORS
The 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.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, java.lang.String ipAddress, java.lang.String serviceName, long start, long end, int width)
javax.ws.rs.core.Response
image(javax.ws.rs.core.UriInfo uriInfo, int nodeId, java.lang.String ipAddress, java.lang.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
-
-
-
-
Method Detail
-
header
@Transactional public javax.ws.rs.core.Response header(long start, long end, int width) throws java.io.IOException
- Throws:
java.io.IOException
-
html
@Transactional public javax.ws.rs.core.Response html(@Context javax.ws.rs.core.UriInfo uriInfo, int nodeId, java.lang.String ipAddress, java.lang.String serviceName, long start, long end, int width) throws java.io.IOException
- Throws:
java.io.IOException
-
image
@Transactional public javax.ws.rs.core.Response image(@Context javax.ws.rs.core.UriInfo uriInfo, int nodeId, java.lang.String ipAddress, java.lang.String serviceName, long start, long end, int width) throws java.io.IOException
- Throws:
java.io.IOException
-
empty
@Transactional public javax.ws.rs.core.Response empty(long start, long end, int width) throws java.io.IOException
- Throws:
java.io.IOException
-
-