websocket @ServerEndpoint(value = "/websocket/{ip}")详解
首先我们查看一下ServerEndpoint类源码:@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = {ElementType.TYPE})
public @interface ServerEndpoint {
public String value();
public String[] subproto...
转载
2018-07-07 10:28:28 ·
79375 阅读 ·
9 评论