Class PollerConfigServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class PollerConfigServlet
    extends javax.servlet.http.HttpServlet
    A servlet that handles managing or unmanaging interfaces and services on a node
    Author:
    Jacinta Remedios , OpenNMS
    See Also:
    Serialized Form
    • Field Detail

      • redirectSuccess

        protected String redirectSuccess
    • Constructor Detail

      • PollerConfigServlet

        public PollerConfigServlet()
    • Method Detail

      • init

        public void init()
                  throws javax.servlet.ServletException

        init

        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException - if any.
      • reloadFiles

        public void reloadFiles()
                         throws javax.servlet.ServletException

        reloadFiles

        Throws:
        javax.servlet.ServletException - if any.
      • initPollerServices

        public void initPollerServices()

        initPollerServices

      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws javax.servlet.ServletException,
                          IOException
        Overrides:
        doGet in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • adjustNonChecked

        public void adjustNonChecked​(List<String> checkedList)

        adjustNonChecked

        Parameters:
        checkedList - a List object.
      • removeMonitor

        public void removeMonitor​(String service)

        removeMonitor

        FIXME: I think that this should be using Iterator.remove()
        Parameters:
        service - a String object.
      • modifyPollerInfo

        public void modifyPollerInfo​(String bPolled,
                                     String protocol)

        modifyPollerInfo

        Parameters:
        bPolled - a String object.
        protocol - a String object.