package com.bjsxt.init; import java.util.Set; import javax.websocket.Endpoint; import javax.websocket.server.ServerApplicationConfig; import javax.websocket.server.ServerEndpointConfig; public class SocketConfig implements ServerApplicationConfig { @Override public Set<Class<?>> getAnnotatedEndpointClasses(Set<Class<?>> endPoint) { System.out.println("endPoint扫描到的数量:" + endPoint.size()); return endPoint; } @Override public Set<ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends Endpoint>> endPoint) { System.out.println("实现EndPoint接口的类数量:" + endPoint.size()); return null; } }
最近下载更多
忘了密码来摸鱼 LV1
2023年5月29日
wenwen520_li LV1
2022年11月19日
杨豫川 LV12
2022年5月11日
912299793 LV21
2022年3月18日
berylzZz LV1
2022年3月13日
JulyMagnolia LV2
2021年11月27日
1ling1 LV2
2021年6月24日
thinkerkkk LV2
2021年6月22日
YZN212 LV3
2021年6月1日
dalamama LV1
2021年4月27日
最近浏览更多
实话大王
1月25日
暂无贡献等级
zeng1206 LV5
2023年12月28日
2568710676
2023年12月27日
暂无贡献等级
2890892945 LV2
2023年12月26日
SHDJSA
2023年12月11日
暂无贡献等级
微信网友_6762641760833536
2023年12月4日
暂无贡献等级
烧洋芋
2023年11月20日
暂无贡献等级
枳酒的歌
2023年10月3日
暂无贡献等级
阿超在大学修仙 LV1
2023年9月15日
wanfeng_233 LV4
2023年8月29日