Class StatisticsServlet

  • All Implemented Interfaces:
    java.io.Serializable, Servlet, ServletConfig

    public class StatisticsServlet
    extends HttpServlet
    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