Class StatisticsServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.eclipse.jetty.servlet.StatisticsServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class StatisticsServlet extends javax.servlet.http.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: