File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 3535import java .util .StringTokenizer ;
3636import java .util .jar .JarEntry ;
3737import java .util .jar .JarFile ;
38+ import org .eclipse .jetty .websocket .server .config .JettyWebSocketServletContainerInitializer ;
3839
3940/**
4041 * Manages the references to individual webapps within the container. This object handles
@@ -181,6 +182,7 @@ public void postConfigure() throws Exception {
181182 getSessionHandler ().getSessionCache ().setEvictionPolicy ( sessionEviction );
182183 }
183184 };
185+ JettyWebSocketServletContainerInitializer .configure (wac , null );
184186 wac .getSecurityHandler ().setLoginService (loginService );
185187 wac .setThrowUnavailableOnStartupException (true ); // if boot fails, abort the process instead of letting empty Jetty run
186188 wac .setMimeTypes (mimeTypes );
You can’t perform that action at this time.
0 commit comments