Ensuring right apis are called as per jetty version in branch2 (trunk has different jetty)

This commit is contained in:
vrushali 2017-10-19 22:18:17 -07:00
parent 017ac560f0
commit 28c54989d6

View File

@ -402,7 +402,7 @@ public WebApp start(WebApp webapp, WebAppContext ui2Context) {
HttpServer2 httpServer = webApp.httpServer(); HttpServer2 httpServer = webApp.httpServer();
if (ui2Context != null) { if (ui2Context != null) {
addFiltersForNewContext(ui2Context); addFiltersForNewContext(ui2Context);
httpServer.addHandlerAtFront(ui2Context); httpServer.addContext(ui2Context, true);
} }
try { try {
httpServer.start(); httpServer.start();