Class StatisticsServlet

  • All Implemented Interfaces:
    Serializable, Servlet, ServletConfig

    public class StatisticsServlet
    extends HttpServlet
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Collect and report statistics about requests / responses / connections and more.

    You can use normal HTTP content negotiation to ask for the statistics. Specify a request Accept header for one of the following formats:

    • application/json
    • text/xml
    • text/html
    • text/plain - default if no Accept header specified
    See Also:
    Serialized Form