Class TimelineRestService


  • @Component("timelineRestService")
    public class TimelineRestService
    extends OnmsRestService
    • Field Detail

      • TIMESCALE_DESCRIPTORS

        public static final ArrayList<org.opennms.web.rest.v1.TimelineRestService.TimescaleDescriptor> TIMESCALE_DESCRIPTORS
        The static list of timescales
    • Constructor Detail

      • TimelineRestService

        public TimelineRestService()
    • 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