Remove unused method from AppServer
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Path;
-import java.util.EnumSet;
-import javax.servlet.DispatcherType;
-import javax.servlet.Filter;
import javax.servlet.Servlet;
public class JettyAppServer implements AppServer {
@@ -287,14 +284,6 @@ public void addServlet(
}
}
- public void addFilter(
- ServletContextHandler context,
- Class<? extends Filter> filter,
- String path,
- DispatcherType dispatches) {
- context.addFilter(filter, path, EnumSet.of(dispatches));
- }
-
protected ServletContextHandler addResourceHandler(String contextPath, Path resourceBase) {
ServletContextHandler context = new ServletContextHandler();
