Class TimelineRestService


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

      • TIMESCALE_DESCRIPTORS

        public static final java.util.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 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