Пример #1
0
 /**
  * * Gets the ServletContextHandler of the metrics servlet.
  *
  * @return the ServletContextHandler if the metrics system is running and the metrics servlet
  *     exists, otherwise null
  */
 public ServletContextHandler getServletHandler() {
   if (mRunning && mMetricsServlet != null) {
     return mMetricsServlet.getHandler();
   }
   return null;
 }