fix websocket demo for ee8 jetty-12
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
parent
a1e88f78a5
commit
e3bbb0f718
|
@ -26,7 +26,7 @@ import jakarta.websocket.RemoteEndpoint;
|
|||
import jakarta.websocket.Session;
|
||||
import jakarta.websocket.server.ServerEndpoint;
|
||||
|
||||
@ServerEndpoint(value = "/java.websocket/", subprotocols = {"chat"})
|
||||
@ServerEndpoint(value = "/jakarta.websocket/", subprotocols = {"chat"})
|
||||
public class JakartaWebSocketChat
|
||||
{
|
||||
private static final List<JakartaWebSocketChat> members = new CopyOnWriteArrayList<>();
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<ul>
|
||||
<li><a href="chat/">Long Polling</a></li>
|
||||
<li><a href="jetty.websocket">WebSocket (Jetty API)</a></li>
|
||||
<li><a href="java.websocket">WebSocket (jakarta.websocket)</a></li>
|
||||
<li><a href="jakarta.websocket">WebSocket (jakarta.websocket)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -26,7 +26,7 @@ import jakarta.websocket.RemoteEndpoint;
|
|||
import jakarta.websocket.Session;
|
||||
import jakarta.websocket.server.ServerEndpoint;
|
||||
|
||||
@ServerEndpoint(value = "/java.websocket/", subprotocols = {"chat"})
|
||||
@ServerEndpoint(value = "/javax.websocket/", subprotocols = {"chat"})
|
||||
public class JakartaWebSocketChat
|
||||
{
|
||||
private static final List<JakartaWebSocketChat> members = new CopyOnWriteArrayList<>();
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<ul>
|
||||
<li><a href="chat/">Long Polling</a></li>
|
||||
<li><a href="jetty.websocket">WebSocket (Jetty API)</a></li>
|
||||
<li><a href="java.websocket">WebSocket (jakarta.websocket)</a></li>
|
||||
<li><a href="javax.websocket">WebSocket (jakarta.websocket)</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue