Ensuring right apis are called as per jetty version in branch2 (trunk has different jetty)
This commit is contained in:
parent
017ac560f0
commit
28c54989d6
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user