我正在开发简单的应用程序以帮助我学习Java中的WebSocket和Tyrus概念。这里是我的服务器端(服务器端点)和我的pom.xml和我的客户端和pom.xml中: 服务器端 @ServerEndpoint(value="/websocket/{client-id}")
public class MyServerEndpoint {
private static fin
我有它运行在一个灰熊实例新泽西JAX-RS应用: public class Application {
public static final String BASE_URI = "http://127.0.0.1:8080/rest";
public static void main(String[] args) throws IOException {
Res