Merge pull request #4527 from eclipse/jetty-10.0.x-WebSocketServerContainers
Make the WebSocketServerContainer initialize methods private
This commit is contained in:
commit
3b2b74939e
|
@ -148,7 +148,7 @@ public class JavaxWebSocketServletContainerInitializer implements ServletContain
|
|||
* @param context the context to work with
|
||||
* @return the default {@link ServerContainer} for this context
|
||||
*/
|
||||
public static ServerContainer initialize(ServletContextHandler context)
|
||||
private static ServerContainer initialize(ServletContextHandler context)
|
||||
{
|
||||
JavaxWebSocketServerContainer serverContainer = JavaxWebSocketServerContainer.getContainer(context.getServletContext());
|
||||
if (serverContainer == null)
|
||||
|
|
|
@ -87,7 +87,7 @@ public class JettyWebSocketServletContainerInitializer implements ServletContain
|
|||
* @param context the context to work with
|
||||
* @return the default {@link JettyWebSocketServerContainer}
|
||||
*/
|
||||
public static JettyWebSocketServerContainer initialize(ServletContextHandler context)
|
||||
private static JettyWebSocketServerContainer initialize(ServletContextHandler context)
|
||||
{
|
||||
WebSocketComponents components = WebSocketComponents.ensureWebSocketComponents(context.getServletContext());
|
||||
FilterHolder filterHolder = WebSocketUpgradeFilter.ensureFilter(context.getServletContext());
|
||||
|
|
Loading…
Reference in New Issue