From 43d0488269dbc257529c730cdc3349e48cca1098 Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Wed, 8 Mar 2017 10:04:48 +1100 Subject: [PATCH] Issue #1384 Expose StatisticsServlet --- .../src/main/java/org/eclipse/jetty/webapp/WebAppContext.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java index eb9c618153b..500ca292b87 100644 --- a/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java +++ b/jetty-webapp/src/main/java/org/eclipse/jetty/webapp/WebAppContext.java @@ -124,6 +124,7 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL "org.eclipse.jetty.jaas.", // webapp cannot change jaas classes "org.eclipse.jetty.websocket.", // webapp cannot change / replace websocket classes "org.eclipse.jetty.util.log.", // webapp should use server log + "org.eclipse.jetty.servlet.StatisticsServlet", // webapp cannot change stats servlet "org.eclipse.jetty.servlet.DefaultServlet", // webapp cannot change default servlets "org.eclipse.jetty.jsp.JettyJspServlet", //webapp cannot change jetty jsp servlet "org.eclipse.jetty.servlets.PushCacheFilter", //must be loaded by container classpath @@ -144,6 +145,7 @@ public class WebAppContext extends ServletContextHandler implements WebAppClassL "-org.eclipse.jetty.jndi.", // don't hide naming classes "-org.eclipse.jetty.jaas.", // don't hide jaas classes "-org.eclipse.jetty.servlets.", // don't hide jetty servlets + "-org.eclipse.jetty.servlet.StatisticsServlet", // don't hide stats servlet "-org.eclipse.jetty.servlet.DefaultServlet", // don't hide default servlet "-org.eclipse.jetty.jsp.", //don't hide jsp servlet "-org.eclipse.jetty.servlet.listener.", // don't hide useful listeners