跳过导航链接
A B C E G I L O P R S T V W 

A

addOnlineCount() - 类 中的静态方法cn.jdevelops.websocket.core.service.WebSocketServer
 
AuthenticationConfigurator - cn.jdevelops.websocket.core.config中的类
鉴权 默认所有接口鉴权和 注入 (https://www.zhihu.com/question/509998275)
AuthenticationConfigurator() - 类 的构造器cn.jdevelops.websocket.core.config.AuthenticationConfigurator
 

B

banConnection(String) - 类 中的静态方法cn.jdevelops.websocket.core.util.SocketUtil
禁止连接

C

cacheService(WebSocketConfig) - 类 中的方法cn.jdevelops.websocket.core.scan.EnableAutoScanConfiguration
缓存服务
CacheService - cn.jdevelops.websocket.core.service中的类
缓存服务
CacheService(WebSocketConfig) - 类 的构造器cn.jdevelops.websocket.core.service.CacheService
 
cacheService - 类 中的变量cn.jdevelops.websocket.core.service.WebSocketServer
 
checkOrigin(String) - 类 中的方法cn.jdevelops.websocket.core.config.AuthenticationConfigurator
token鉴权认证 用的是控制请求地址的方法来鉴权控制
cn.jdevelops.websocket.core.cache - 程序包 cn.jdevelops.websocket.core.cache
 
cn.jdevelops.websocket.core.config - 程序包 cn.jdevelops.websocket.core.config
 
cn.jdevelops.websocket.core.constant - 程序包 cn.jdevelops.websocket.core.constant
 
cn.jdevelops.websocket.core.scan - 程序包 cn.jdevelops.websocket.core.scan
 
cn.jdevelops.websocket.core.service - 程序包 cn.jdevelops.websocket.core.service
 
cn.jdevelops.websocket.core.util - 程序包 cn.jdevelops.websocket.core.util
 
CommonConstant - cn.jdevelops.websocket.core.constant中的接口
公共常量

E

EnableAutoScanConfiguration - cn.jdevelops.websocket.core.scan中的类
自动扫描
EnableAutoScanConfiguration() - 类 的构造器cn.jdevelops.websocket.core.scan.EnableAutoScanConfiguration
 

G

getEndpointInstance(Class<T>) - 类 中的方法cn.jdevelops.websocket.core.config.AuthenticationConfigurator
 

I

isEnable() - 类 中的方法cn.jdevelops.websocket.core.config.WebSocketConfig
 
isMultipart() - 类 中的方法cn.jdevelops.websocket.core.config.WebSocketConfig
 
isOnClose() - 类 中的方法cn.jdevelops.websocket.core.config.WebSocketConfig
 

L

loadSession(String) - 类 中的方法cn.jdevelops.websocket.core.service.CacheService
加载用户连接信息
loadSession() - 类 中的方法cn.jdevelops.websocket.core.service.CacheService
加载所有用户连接信息
loadSessionForPools() - 类 中的方法cn.jdevelops.websocket.core.service.CacheService
加载整个 缓存池map
LocalCache - cn.jdevelops.websocket.core.cache中的类
本地缓存
LocalCache() - 类 的构造器cn.jdevelops.websocket.core.cache.LocalCache
 

O

OK_PATH - 接口 中的静态变量cn.jdevelops.websocket.core.constant.CommonConstant
限制连接路径 y:需要验证token n:不需要验证token
onClose(String, Session) - 类 中的方法cn.jdevelops.websocket.core.service.WebSocketServer
关闭连接时调用
onError(Throwable) - 类 中的方法cn.jdevelops.websocket.core.service.WebSocketServer
发生错误时候
onMessage(String) - 类 中的方法cn.jdevelops.websocket.core.service.WebSocketServer
收到客户端消息时触发(群发)
onOpen(Session, String, String) - 类 中的方法cn.jdevelops.websocket.core.service.WebSocketServer
连接建立成功调用

P

parseMapForFilter(Map<String, T>, String) - 类 中的静态方法cn.jdevelops.websocket.core.util.SocketUtil
从map中查询想要的map项,根据key

R

removeSession(String) - 类 中的方法cn.jdevelops.websocket.core.service.CacheService
删除用户连接信息
removeSession(String, Session) - 类 中的方法cn.jdevelops.websocket.core.service.CacheService
删除用户连接信息 ps: 有session ,删除指定session值, 没有session 直接删除key的所有值

S

saveSession(String, Session) - 类 中的方法cn.jdevelops.websocket.core.service.CacheService
保存用户连接信息 ps: 会根据配置判断是否能多端登录
saveSession(String, List<Session>) - 类 中的方法cn.jdevelops.websocket.core.service.CacheService
保存用户连接信息 ps 不做任何其他判断只会进行保存动作
sendInfo(String, String) - 类 中的方法cn.jdevelops.websocket.core.service.WebSocketServer
给指定用户发送消息
sendInfoByLikeKey(String, String) - 类 中的方法cn.jdevelops.websocket.core.service.WebSocketServer
eg: name:324 name:432 传入 name: 就可以给上面的那个一起发数据(前提这来两个在线) 给指定用户(模糊用户)发送消息
sendMessage(Session, String) - 类 中的方法cn.jdevelops.websocket.core.service.WebSocketServer
发送消息方法
serverConfigurator() - 类 中的方法cn.jdevelops.websocket.core.scan.EnableAutoScanConfiguration
鉴权
serverEndpointExporter() - 类 中的方法cn.jdevelops.websocket.core.scan.EnableAutoScanConfiguration
往 spring 容器中注入ServerEndpointExporter实例
sessionPools - 类 中的静态变量cn.jdevelops.websocket.core.cache.LocalCache
concurrent包的线程安全Set,用来存放每个客户端对应的WebSocketServer对象 websocket session
setApplicationContext(ApplicationContext) - 类 中的方法cn.jdevelops.websocket.core.config.AuthenticationConfigurator
 
setEnable(boolean) - 类 中的方法cn.jdevelops.websocket.core.config.WebSocketConfig
 
setMultipart(boolean) - 类 中的方法cn.jdevelops.websocket.core.config.WebSocketConfig
 
setOnClose(boolean) - 类 中的方法cn.jdevelops.websocket.core.config.WebSocketConfig
 
SocketUtil - cn.jdevelops.websocket.core.util中的类
SocketUtil
SocketUtil() - 类 的构造器cn.jdevelops.websocket.core.util.SocketUtil
 
subOnlineCount() - 类 中的静态方法cn.jdevelops.websocket.core.service.WebSocketServer
 

T

toString() - 类 中的方法cn.jdevelops.websocket.core.config.WebSocketConfig
 

V

VERIFY_PATH_NO - 接口 中的静态变量cn.jdevelops.websocket.core.constant.CommonConstant
不需要验证登录的socket请求
VERIFY_PATH_YES - 接口 中的静态变量cn.jdevelops.websocket.core.constant.CommonConstant
需要验证登录的socket请求

W

WebSocketConfig - cn.jdevelops.websocket.core.config中的类
socket配置
WebSocketConfig() - 类 的构造器cn.jdevelops.websocket.core.config.WebSocketConfig
 
webSocketConfig() - 类 中的方法cn.jdevelops.websocket.core.scan.EnableAutoScanConfiguration
配置文件
webSocketConfig - 类 中的变量cn.jdevelops.websocket.core.service.CacheService
 
webSocketServer(CacheService) - 类 中的方法cn.jdevelops.websocket.core.scan.EnableAutoScanConfiguration
webSocker服务端
WebSocketServer - cn.jdevelops.websocket.core.service中的类
webSocker服务端 包含接收消息,推送消息等接口 /socket/y/topic /socket/n/topic
WebSocketServer(CacheService) - 类 的构造器cn.jdevelops.websocket.core.service.WebSocketServer
 
A B C E G I L O P R S T V W 
跳过导航链接

Copyright © 2023 tan. All rights reserved.