Class SamplingServlet

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, java.io.Serializable, net.anotheria.moskito.core.producers.IStatsProducer

    @WebServlet(urlPatterns="/sampling/sample")
    public class SamplingServlet
    extends net.anotheria.moskito.web.MoskitoHttpServlet
    TODO comment this class
    Since:
    24.04.15 17:55
    Author:
    lrosenberg
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PARAM_PRODUCER_ID
      ProducerId parameter.
      static java.lang.String PARAM_STAT_MAPPER_ID
      Mapper parameter.
      • Fields inherited from class jakarta.servlet.http.HttpServlet

        LEGACY_DO_HEAD
    • Constructor Summary

      Constructors 
      Constructor Description
      SamplingServlet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init()  
      protected void moskitoDoGet​(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)  
      • Methods inherited from class net.anotheria.moskito.web.MoskitoHttpServlet

        doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getCategory, getLastModified, getMonitoringIntervals, getProducerId, getStats, getSubsystem, init, moskitoDoDelete, moskitoDoHead, moskitoDoOptions, moskitoDoPost, moskitoDoPut, moskitoDoTrace, moskitoGetLastModified, useShortStatList
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        service, service
      • Methods inherited from class jakarta.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PARAM_PRODUCER_ID

        public static final java.lang.String PARAM_PRODUCER_ID
        ProducerId parameter.
        See Also:
        Constant Field Values
      • PARAM_STAT_MAPPER_ID

        public static final java.lang.String PARAM_STAT_MAPPER_ID
        Mapper parameter.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SamplingServlet

        public SamplingServlet()
    • Method Detail

      • init

        public void init()
                  throws jakarta.servlet.ServletException
        Overrides:
        init in class jakarta.servlet.GenericServlet
        Throws:
        jakarta.servlet.ServletException
      • moskitoDoGet

        protected void moskitoDoGet​(jakarta.servlet.http.HttpServletRequest req,
                                    jakarta.servlet.http.HttpServletResponse res)
                             throws jakarta.servlet.ServletException,
                                    java.io.IOException
        Overrides:
        moskitoDoGet in class net.anotheria.moskito.web.MoskitoHttpServlet
        Throws:
        jakarta.servlet.ServletException
        java.io.IOException