Ensure correct detection of Jetty WebSocket server
This commit is contained in:
parent
1f8913a96c
commit
74182cd3d6
|
@ -89,7 +89,7 @@ public class HandshakeWebSocketService implements WebSocketService, ServletConte
|
||||||
tomcatWsPresent = ClassUtils.isPresent(
|
tomcatWsPresent = ClassUtils.isPresent(
|
||||||
"org.apache.tomcat.websocket.server.WsHttpUpgradeHandler", classLoader);
|
"org.apache.tomcat.websocket.server.WsHttpUpgradeHandler", classLoader);
|
||||||
jettyWsPresent = ClassUtils.isPresent(
|
jettyWsPresent = ClassUtils.isPresent(
|
||||||
"org.eclipse.jetty.websocket.server.JettyWebSocketServerContainer", classLoader);
|
"org.eclipse.jetty.ee10.websocket.server.JettyWebSocketServerContainer", classLoader);
|
||||||
undertowWsPresent = ClassUtils.isPresent(
|
undertowWsPresent = ClassUtils.isPresent(
|
||||||
"io.undertow.websockets.WebSocketProtocolHandshakeHandler", classLoader);
|
"io.undertow.websockets.WebSocketProtocolHandshakeHandler", classLoader);
|
||||||
reactorNettyPresent = ClassUtils.isPresent(
|
reactorNettyPresent = ClassUtils.isPresent(
|
||||||
|
|
|
@ -94,7 +94,7 @@ public abstract class AbstractHandshakeHandler implements HandshakeHandler, Life
|
||||||
tomcatWsPresent = ClassUtils.isPresent(
|
tomcatWsPresent = ClassUtils.isPresent(
|
||||||
"org.apache.tomcat.websocket.server.WsHttpUpgradeHandler", classLoader);
|
"org.apache.tomcat.websocket.server.WsHttpUpgradeHandler", classLoader);
|
||||||
jettyWsPresent = ClassUtils.isPresent(
|
jettyWsPresent = ClassUtils.isPresent(
|
||||||
"org.eclipse.jetty.websocket.server.JettyWebSocketServerContainer", classLoader);
|
"org.eclipse.jetty.ee10.websocket.server.JettyWebSocketServerContainer", classLoader);
|
||||||
undertowWsPresent = ClassUtils.isPresent(
|
undertowWsPresent = ClassUtils.isPresent(
|
||||||
"io.undertow.websockets.jsr.ServerWebSocketContainer", classLoader);
|
"io.undertow.websockets.jsr.ServerWebSocketContainer", classLoader);
|
||||||
glassfishWsPresent = ClassUtils.isPresent(
|
glassfishWsPresent = ClassUtils.isPresent(
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2022 the original author or authors.
|
* Copyright 2002-2023 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -49,7 +49,7 @@ class HandshakeHandlerRuntimeHints implements RuntimeHintsRegistrar {
|
||||||
tomcatWsPresent = ClassUtils.isPresent(
|
tomcatWsPresent = ClassUtils.isPresent(
|
||||||
"org.apache.tomcat.websocket.server.WsHttpUpgradeHandler", classLoader);
|
"org.apache.tomcat.websocket.server.WsHttpUpgradeHandler", classLoader);
|
||||||
jettyWsPresent = ClassUtils.isPresent(
|
jettyWsPresent = ClassUtils.isPresent(
|
||||||
"org.eclipse.jetty.websocket.server.JettyWebSocketServerContainer", classLoader);
|
"org.eclipse.jetty.ee10.websocket.server.JettyWebSocketServerContainer", classLoader);
|
||||||
undertowWsPresent = ClassUtils.isPresent(
|
undertowWsPresent = ClassUtils.isPresent(
|
||||||
"io.undertow.websockets.jsr.ServerWebSocketContainer", classLoader);
|
"io.undertow.websockets.jsr.ServerWebSocketContainer", classLoader);
|
||||||
glassfishWsPresent = ClassUtils.isPresent(
|
glassfishWsPresent = ClassUtils.isPresent(
|
||||||
|
|
Loading…
Reference in New Issue