- CACHE_CHANGE_TOPIC - Static variable in class org.jim.common.cache.caffeineredis.CaffeineRedisCacheManager
-
- Cache_Control - Static variable in interface org.jim.common.http.HttpConst.RequestHeaderKey
-
- CacheChangedVo - Class in org.jim.common.cache
-
- CacheChangedVo() - Constructor for class org.jim.common.cache.CacheChangedVo
-
- CacheChangedVo(String, CacheChangeType) - Constructor for class org.jim.common.cache.CacheChangedVo
-
- CacheChangedVo(String, String, CacheChangeType) - Constructor for class org.jim.common.cache.CacheChangedVo
-
- CacheChangeType - Enum in org.jim.common.cache
-
- cacheKey(String, String) - Static method in class org.jim.common.cache.redis.RedisCache
-
- CaffeineCache - Class in org.jim.common.cache.caffeine
-
- CaffeineCache(LoadingCache<String, Serializable>, LoadingCache<String, Serializable>) - Constructor for class org.jim.common.cache.caffeine.CaffeineCache
-
- CaffeineCacheManager - Class in org.jim.common.cache.caffeine
-
- CaffeineConfig - Class in org.jim.common.cache.caffeine
-
- CaffeineConfig() - Constructor for class org.jim.common.cache.caffeine.CaffeineConfig
-
- CaffeineConfiguration - Class in org.jim.common.cache.caffeine
-
- CaffeineConfiguration() - Constructor for class org.jim.common.cache.caffeine.CaffeineConfiguration
-
- CaffeineConfiguration(String, Properties) - Constructor for class org.jim.common.cache.caffeine.CaffeineConfiguration
-
- CaffeineConfigurationFactory - Class in org.jim.common.cache.caffeine
-
- CaffeineRedisCache - Class in org.jim.common.cache.caffeineredis
-
- CaffeineRedisCache() - Constructor for class org.jim.common.cache.caffeineredis.CaffeineRedisCache
-
- CaffeineRedisCache(String, CaffeineCache, RedisCache) - Constructor for class org.jim.common.cache.caffeineredis.CaffeineRedisCache
-
- CaffeineRedisCacheManager - Class in org.jim.common.cache.caffeineredis
-
- CaffeineUtils - Class in org.jim.common.cache.caffeine
-
- CaffeineUtils() - Constructor for class org.jim.common.cache.caffeine.CaffeineUtils
-
- calcHeaderLength(boolean) - Method in class org.jim.common.ImPacket
-
计算消息头占用了多少字节数
- CHANNEL - Static variable in interface org.jim.common.Const
-
- CHARSET - Static variable in interface org.jim.common.Const
-
- CHARSET_NAME - Static variable in interface org.jim.common.http.HttpConst
-
默认规定连接到本服务器的客户端统一用utf-8
- CHARSET_NAME - Static variable in class org.jim.common.ws.WsPacket
-
- CHAT - Static variable in interface org.jim.common.Const
-
- chat(HttpRequest, HttpConfig, ChannelContext) - Method in class org.jim.server.http.api.HttpApiController
-
- CHAT_QUEUE - Static variable in interface org.jim.common.Const
-
- ChatBody - Class in org.jim.common.packets
-
版本: [1.0]
功能说明:
作者: WChao 创建时间: 2017年7月26日 上午11:34:44
- ChatBody() - Constructor for class org.jim.common.packets.ChatBody
-
- ChatKit - Class in org.jim.common.utils
-
- ChatKit() - Constructor for class org.jim.common.utils.ChatKit
-
- ChatProcessorIntf - Interface in org.jim.server.command.handler.processor.chat
-
- ChatReqHandler - Class in org.jim.server.command.handler
-
版本: [1.0]
功能说明:
作者: WChao 创建时间: 2017年9月22日 下午2:58:59
- ChatReqHandler() - Constructor for class org.jim.server.command.handler.ChatReqHandler
-
- ChatType - Enum in org.jim.common.packets
-
聊天类型
- classPathMap - Variable in class org.jim.server.http.mvc.Routes
-
路径和class映射
key: class
value: /user
- ClassUtils - Class in org.jim.server.util
-
- ClassUtils() - Constructor for class org.jim.server.util.ClassUtils
-
- clear() - Method in class org.jim.common.cache.caffeine.CaffeineCache
-
- clear() - Method in class org.jim.common.cache.caffeineredis.CaffeineRedisCache
-
- clear() - Method in interface org.jim.common.cache.ICache
-
清空所有缓存
- clear() - Method in class org.jim.common.cache.redis.RedisCache
-
- clear(HttpConfig) - Method in class org.jim.common.http.session.HttpSession
-
清空所有属性
- clearStaticResCache(HttpRequest) - Method in interface org.jim.common.http.handler.IHttpRequestHandler
-
清空静态资源缓存,如果没有缓存,可以不处理
- clearStaticResCache(HttpRequest) - Method in class org.jim.server.http.DefaultHttpRequestHandler
-
- Client - Class in org.jim.common.packets
-
版本: [1.0]
功能说明:
作者: WChao 创建时间: 2017年7月26日 下午3:11:55
- Client() - Constructor for class org.jim.common.packets.Client
-
- clientChannelContext - Static variable in class org.jim.client.HelloClientStarter
-
- clientGroupContext - Static variable in class org.jim.client.HelloClientStarter
-
- CLIENTID - Static variable in class org.jim.common.cache.CacheChangedVo
-
- CLIENTID - Static variable in class org.jim.common.cluster.ImClusterVo
-
- close(Jedis) - Method in class org.jim.common.cache.redis.JedisTemplate
-
- close - Static variable in interface org.jim.common.http.HttpConst.RequestHeaderValue.Connection
-
- close - Static variable in interface org.jim.common.http.HttpConst.ResponseHeaderValue.Connection
-
- close(HttpRequest, HttpConfig, ChannelContext) - Method in class org.jim.server.http.api.HttpApiController
-
关闭指定用户;
- CloseReqBody - Class in org.jim.common.packets
-
- CloseReqBody() - Constructor for class org.jim.common.packets.CloseReqBody
-
- CloseReqBody(String) - Constructor for class org.jim.common.packets.CloseReqBody
-
- CloseReqHandler - Class in org.jim.server.command.handler
-
- CloseReqHandler() - Constructor for class org.jim.server.command.handler.CloseReqHandler
-
- cluster - Static variable in class org.jim.common.ImConfig
-
集群配置
如果此值不为null,就表示要集群
- clusterConfig - Variable in class org.jim.common.cluster.ImCluster
-
- clusterToChannelId(GroupContext, String, ImPacket) - Method in interface org.jim.common.cluster.ICluster
-
- clusterToChannelId(GroupContext, String, ImPacket) - Method in class org.jim.common.cluster.redis.RedisCluster
-
- clusterToGroup(GroupContext, String, ImPacket) - Method in interface org.jim.common.cluster.ICluster
-
- clusterToGroup(GroupContext, String, ImPacket) - Method in class org.jim.common.cluster.redis.RedisCluster
-
- clusterToIp(GroupContext, String, ImPacket) - Method in interface org.jim.common.cluster.ICluster
-
- clusterToIp(GroupContext, String, ImPacket) - Method in class org.jim.common.cluster.redis.RedisCluster
-
- clusterToUser(GroupContext, String, ImPacket) - Method in interface org.jim.common.cluster.ICluster
-
- clusterToUser(GroupContext, String, ImPacket) - Method in class org.jim.common.cluster.redis.RedisCluster
-
- cmd - Variable in class org.jim.common.packets.Message
-
- CmdHandlerIntf - Interface in org.jim.server.command
-
版本: [1.0]
功能说明:
作者: WChao 创建时间: 2017年9月8日 下午4:29:38
- Command - Enum in org.jim.common.packets
-
- command() - Method in interface org.jim.server.command.CmdHandlerIntf
-
功能描述:[命令主键]
创建者:WChao 创建时间: 2017年7月17日 下午2:31:51
- command() - Method in class org.jim.server.command.handler.AuthReqHandler
-
- command() - Method in class org.jim.server.command.handler.ChatReqHandler
-
- command() - Method in class org.jim.server.command.handler.CloseReqHandler
-
- command() - Method in class org.jim.server.command.handler.HandshakeReqHandler
-
- command() - Method in class org.jim.server.command.handler.HeartbeatReqHandler
-
- command() - Method in class org.jim.server.command.handler.JoinGroupReqHandler
-
- command() - Method in class org.jim.server.command.handler.LoginReqHandler
-
- command() - Method in class org.jim.server.command.handler.MessageReqHandler
-
- command() - Method in class org.jim.server.command.handler.UserReqHandler
-
- commandAndCount - Static variable in class org.jim.common.CommandStat
-
- CommandConfiguration - Class in org.jim.server.command
-
- CommandConfiguration() - Constructor for class org.jim.server.command.CommandConfiguration
-
- CommandConfiguration(String, Properties) - Constructor for class org.jim.server.command.CommandConfiguration
-
- CommandConfigurationFactory - Class in org.jim.server.command
-
- CommandManager - Class in org.jim.server.command
-
版本: [1.0]
功能说明: 命令执行管理器;
作者: WChao 创建时间: 2017年7月17日 下午2:23:41
- CommandStat - Class in org.jim.common
-
- CommandStat() - Constructor for class org.jim.common.CommandStat
-
- Connection - Static variable in interface org.jim.common.http.HttpConst.RequestHeaderKey
-
- Connection - Static variable in interface org.jim.common.http.HttpConst.ResponseHeaderKey
-
- Const - Interface in org.jim.common
-
- Content_disposition - Static variable in interface org.jim.common.http.HttpConst.ResponseHeaderKey
-
Content-Disposition: attachment;filename=FileName.txt
文件下载
- Content_Disposition - Static variable in interface org.jim.common.http.HttpMultiBodyDecoder.MultiBodyHeaderKey
-
- Content_Encoding - Static variable in interface org.jim.common.http.HttpConst.ResponseHeaderKey
-
文档的编码(Encode)方法。只有在解码之后才可以得到Content-Type头指定的内容类型。
利用gzip压缩文档能够显著地减少HTML文档的下载时间。
Java的GZIPOutputStream可以很方便地进行gzip压缩,但只有Unix上的Netscape和Windows上的IE 4、IE 5才支持它。
因此,Servlet应该通过查看Accept-Encoding头(即request.getHeader("Accept-Encoding"))检查浏览器是否支持gzip,
为支持gzip的浏览器返回经gzip压缩的HTML页面,为其他浏览器返回普通页面。
- Content_Length - Static variable in interface org.jim.common.http.HttpConst.RequestHeaderKey
-
- Content_Length - Static variable in interface org.jim.common.http.HttpConst.ResponseHeaderKey
-
- Content_Type - Static variable in interface org.jim.common.http.HttpConst.RequestHeaderKey
-
- Content_Type - Static variable in interface org.jim.common.http.HttpConst.ResponseHeaderKey
-
表示后面的文档属于什么MIME类型。Servlet默认为text/plain,但通常需要显式地指定为text/html。
由于经常要设置Content-Type,因此HttpServletResponse提供了一个专用的方法setContentType。
- Content_Type - Static variable in interface org.jim.common.http.HttpMultiBodyDecoder.MultiBodyHeaderKey
-
- CONVERTOR - Static variable in interface org.jim.common.Const
-
- convertor() - Method in class org.jim.common.http.HttpProtocol
-
- convertor() - Method in interface org.jim.common.protocol.IProtocol
-
- convertor() - Method in class org.jim.common.tcp.TcpProtocol
-
- convertor() - Method in class org.jim.common.ws.WsProtocol
-
- ConvertRespPacket(RespBody, ChannelContext) - Static method in class org.jim.common.utils.ImKit
-
功能描述:[转换不同协议响应包]
创建者:WChao 创建时间: 2017年9月21日 下午3:21:54
- ConvertRespPacket(byte[], Command, ChannelContext) - Static method in class org.jim.common.utils.ImKit
-
功能描述:[转换不同协议响应包]
创建者:WChao 创建时间: 2017年9月21日 下午3:21:54
- ConvertRespPacket(ImPacket, Command, ChannelContext) - Static method in class org.jim.common.utils.ImKit
-
- Cookie - Class in org.jim.common.http
-
部分代码参考了: https://github.com/helyho/Voovan
- Cookie() - Constructor for class org.jim.common.http.Cookie
-
- Cookie(String, String, String, Long) - Constructor for class org.jim.common.http.Cookie
-
创建一个 Cookie
- Cookie - Static variable in interface org.jim.common.http.HttpConst.RequestHeaderKey
-
- COOKIE_NAME_FOR_SESSION - Static variable in interface org.jim.common.Protocol
-
- copyGroupWithoutUsers(Group) - Static method in class org.jim.common.utils.ImKit
-
复制分组或者群组,不包括users;
- copyUserWithoutFriendsGroups(User) - Static method in class org.jim.common.utils.ImKit
-
复制用户信息不包括frieds、groups下的users信息;
- copyUserWithoutUsers(User) - Static method in class org.jim.common.utils.ImKit
-
复制用户信息不包括frieds、groups下的users信息;
- createLoadingCache(String, Integer, Integer, Integer, Integer, boolean) - Static method in class org.jim.common.cache.caffeine.CaffeineUtils
-
- createLoadingCache(String, Integer, Integer, Integer, Integer, boolean, RemovalListener<K, V>) - Static method in class org.jim.common.cache.caffeine.CaffeineUtils
-
- createTime - Variable in class org.jim.common.packets.Message
-
- css(HttpRequest, String) - Static method in class org.jim.server.util.HttpResps
-
Content-Type: text/css; charset=utf-8
- css(HttpRequest, String, String) - Static method in class org.jim.server.util.HttpResps
-
Content-Type: text/css; charset=utf-8
- h(WsRequestPacket, byte[], Opcode, ChannelContext) - Method in class org.jim.server.ws.WsMsgHandler
-
- handled - Variable in class org.jim.common.CommandStat
-
- handler(Packet, ChannelContext) - Method in class org.jim.client.HelloClientAioHandler
-
处理消息
- handler(HttpRequest, RequestLine) - Method in interface org.jim.common.http.handler.IHttpRequestHandler
-
- handler(ImPacket, ChannelContext) - Method in interface org.jim.common.ws.IWsMsgHandler
-
- handler(ImPacket, ChannelContext) - Method in interface org.jim.server.command.CmdHandlerIntf
-
- handler(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.AuthReqHandler
-
- handler(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.ChatReqHandler
-
- handler(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.CloseReqHandler
-
- handler(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.HandshakeReqHandler
-
- handler(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.HeartbeatReqHandler
-
- handler(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.JoinGroupReqHandler
-
- handler(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.LoginReqHandler
-
- handler(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.MessageReqHandler
-
- handler(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.processor.chat.AbstractChatProcessor
-
- handler(ImPacket, ChannelContext) - Method in interface org.jim.server.command.handler.processor.chat.ChatProcessorIntf
-
- handler(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.UserReqHandler
-
- handler(Packet, ChannelContext) - Method in class org.jim.server.handler.ImServerAioHandler
-
- handler(HttpRequest, RequestLine) - Method in class org.jim.server.http.DefaultHttpRequestHandler
-
- handler(Packet, ChannelContext) - Method in class org.jim.server.http.HttpProtocolHandler
-
- handler(Packet, ChannelContext) - Method in class org.jim.server.tcp.TcpProtocolHandler
-
- handler(ImPacket, ChannelContext) - Method in class org.jim.server.ws.WsMsgHandler
-
- handler(Packet, ChannelContext) - Method in class org.jim.server.ws.WsProtocolHandler
-
- handshake(ImPacket, ChannelContext) - Method in interface org.jim.server.command.handler.processor.handshake.HandshakeProcessorIntf
-
对httpResponsePacket参数进行补充并返回,如果返回null表示不想和对方建立连接,框架会断开连接,如果返回非null,框架会把这个对象发送给对方
- handshake(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.processor.handshake.TcpHandshakeProcessor
-
- handshake(ImPacket, ChannelContext) - Method in class org.jim.server.command.handler.processor.handshake.WsHandshakeProcessor
-
对httpResponsePacket参数进行补充并返回,如果返回null表示不想和对方建立连接,框架会断开连接,如果返回非null,框架会把这个对象发送给对方
- handshake(ImPacket, ChannelContext) - Method in class org.jim.server.demo.command.DemoWsHandshakeProcessor
-
WS握手方法,返回Null则业务层不同意握手,断开连接!
- HANDSHAKE_BYTE - Static variable in interface org.jim.common.Protocol
-
握手字节
- HandshakeBody - Class in org.jim.common.packets
-
- HandshakeBody() - Constructor for class org.jim.common.packets.HandshakeBody
-
- HandshakeBody(byte) - Constructor for class org.jim.common.packets.HandshakeBody
-
- HandshakeProcessorIntf - Interface in org.jim.server.command.handler.processor.handshake
-
- HandshakeReqHandler - Class in org.jim.server.command.handler
-
- HandshakeReqHandler() - Constructor for class org.jim.server.command.handler.HandshakeReqHandler
-
- hashCode() - Method in class org.jim.common.cache.redis.ExpireVo
-
- hashDel(String, String[]) - Method in class org.jim.common.cache.redis.JedisTemplate
-
删除哈希表 key 中给定域 fields 的值。
时间复杂度:O(fields)
- hashGet(String, String) - Method in class org.jim.common.cache.redis.JedisTemplate
-
返回哈希表 key 中给定域 field 的值。
时间复杂度:O(1)
- hashGet(String, String, int) - Method in class org.jim.common.cache.redis.JedisTemplate
-
返回哈希表 key 中给定域 field 的值。 如果哈希表 key 存在,同时设置这个 key 的生存时间
- hashGetAll(String) - Method in class org.jim.common.cache.redis.JedisTemplate
-
返回哈希表 key 中,所有的域和值。在返回值里,紧跟每个域名(field name)之后是域的值(value),所以返回值的长度是哈希表大小的两倍。
时间复杂度: O(N)
- hashGetAll(String, int) - Method in class org.jim.common.cache.redis.JedisTemplate
-
返回哈希表 key 中,所有的域和值。在返回值里,紧跟每个域名(field name)之后是域的值(value),所以返回值的长度是哈希表大小的两倍。
同时设置这个 key 的生存时间
- hashMultipleGet(String, String...) - Method in class org.jim.common.cache.redis.JedisTemplate
-
返回哈希表 key 中,一个或多个给定域的值。如果给定的域不存在于哈希表,那么返回一个 nil 值。
时间复杂度: O(N) (N为fields的数量)
- hashMultipleGet(String, int, String...) - Method in class org.jim.common.cache.redis.JedisTemplate
-
返回哈希表 key 中,一个或多个给定域的值。如果给定的域不存在于哈希表,那么返回一个 nil 值。
同时设置这个 key 的生存时间
- hashMultipleSet(String, Map<String, String>) - Method in class org.jim.common.cache.redis.JedisTemplate
-
同时将多个 field-value (域-值)对设置到哈希表 key 中。
时间复杂度: O(N) (N为fields的数量)
- hashMultipleSet(String, Map<String, String>, int) - Method in class org.jim.common.cache.redis.JedisTemplate
-
同时将多个 field-value (域-值)对设置到哈希表 key 中。同时设置这个 key 的生存时间
- hashSet(String, String, String) - Method in class org.jim.common.cache.redis.JedisTemplate
-
将哈希表 key 中的域 field 的值设为 value 。
如果 key 不存在,一个新的哈希表被创建并进行 hashSet 操作。
如果域 field 已经存在于哈希表中,旧值将被覆盖。
时间复杂度: O(1)
- hashSet(String, String, String, int) - Method in class org.jim.common.cache.redis.JedisTemplate
-
将哈希表 key 中的域 field 的值设为 value 。
如果 key 不存在,一个新的哈希表被创建并进行 hashSet 操作。
如果域 field 已经存在于哈希表中,旧值将被覆盖。
- Header() - Constructor for class org.jim.common.http.HttpMultiBodyDecoder.Header
-
- headers - Variable in class org.jim.common.http.HttpPacket
-
- HEARTBEAT_BYTE - Static variable in interface org.jim.common.Protocol
-
心跳字节
- HeartbeatBody - Class in org.jim.common.packets
-
- HeartbeatBody() - Constructor for class org.jim.common.packets.HeartbeatBody
-
- HeartbeatBody(byte) - Constructor for class org.jim.common.packets.HeartbeatBody
-
- heartbeatPacket() - Method in class org.jim.client.HelloClientAioHandler
-
此方法如果返回null,框架层面则不会发心跳;如果返回非null,框架层面会定时发本方法返回的消息包
- HeartbeatReqHandler - Class in org.jim.server.command.handler
-
- HeartbeatReqHandler() - Constructor for class org.jim.server.command.handler.HeartbeatReqHandler
-
- HelloClientAioHandler - Class in org.jim.client
-
版本: [1.0]
功能说明:
作者: WChao 创建时间: 2017年8月30日 下午1:10:28
- HelloClientAioHandler() - Constructor for class org.jim.client.HelloClientAioHandler
-
- HelloClientStarter - Class in org.jim.client
-
版本: [1.0]
功能说明:
作者: WChao 创建时间: 2017年8月30日 下午1:05:17
- HelloClientStarter() - Constructor for class org.jim.client.HelloClientStarter
-
- Host - Static variable in interface org.jim.common.http.HttpConst.RequestHeaderKey
-
- html(HttpRequest) - Method in class org.jim.server.http.api.TestController
-
- html(HttpRequest, String) - Static method in class org.jim.server.util.HttpResps
-
- html(HttpRequest, String, String) - Static method in class org.jim.server.util.HttpResps
-
Content-Type: text/html; charset=utf-8
- HTTP - Static variable in interface org.jim.common.Protocol
-
- HTTP_REQUEST - Static variable in interface org.jim.common.Const
-
- HTTP_SERVER_CONFIG - Static variable in interface org.jim.common.http.GroupContextKey
-
存放HttpConfig
- HttpApiController - Class in org.jim.server.http.api
-
版本: [1.0]
功能说明:
作者: WChao 创建时间: 2017年8月8日 上午9:08:48
- HttpApiController() - Constructor for class org.jim.server.http.api.HttpApiController
-
- HttpConfig - Class in org.jim.common.http
-
- HttpConfig() - Constructor for class org.jim.common.http.HttpConfig
-
- HttpConfig(Integer, Long) - Constructor for class org.jim.common.http.HttpConfig
-
- httpConfig - Variable in class org.jim.server.http.DefaultHttpRequestHandler
-
- HttpConst - Interface in org.jim.common.http
-
- HttpConst.RequestBodyFormat - Enum in org.jim.common.http
-
请求体的格式
- HttpConst.RequestHeaderKey - Interface in org.jim.common.http
-
Accept-Language : zh-CN,zh;q=0.8
Sec-WebSocket-Version : 13
Sec-WebSocket-Extensions : permessage-deflate; client_max_window_bits
Upgrade : websocket
Host : t-io.org:9321
Accept-Encoding : gzip, deflate, sdch
User-Agent : Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Origin : http://www.t-io.org:9292
Sec-WebSocket-Key : kmCL2C7q9vtNSMyHpft7lw==
Connection : Upgrade
Cache-Control : no-cache
Pragma : no-cache
- HttpConst.RequestHeaderValue - Interface in org.jim.common.http
-
- HttpConst.RequestHeaderValue.Connection - Interface in org.jim.common.http
-
- HttpConst.RequestHeaderValue.Content_Type - Interface in org.jim.common.http
-
- HttpConst.ResponseHeaderKey - Interface in org.jim.common.http
-
- HttpConst.ResponseHeaderValue - Interface in org.jim.common.http
-
- HttpConst.ResponseHeaderValue.Connection - Interface in org.jim.common.http
-
- HttpConvertPacket - Class in org.jim.common.http
-
HTTP协议消息转化包
- HttpConvertPacket() - Constructor for class org.jim.common.http.HttpConvertPacket
-
- HttpMultiBodyDecoder - Class in org.jim.common.http
-
- HttpMultiBodyDecoder() - Constructor for class org.jim.common.http.HttpMultiBodyDecoder
-
- HttpMultiBodyDecoder.Header - Class in org.jim.common.http
-
- HttpMultiBodyDecoder.MultiBodyHeaderKey - Interface in org.jim.common.http
-
【
Content-Disposition: form-data; name="uploadFile"; filename=""
Content-Type: application/octet-stream
】
【
Content-Disposition: form-data; name="end"
】
- HttpMultiBodyDecoder.Step - Enum in org.jim.common.http
-
- HttpPacket - Class in org.jim.common.http
-
- HttpPacket() - Constructor for class org.jim.common.http.HttpPacket
-
- HttpParseUtils - Class in org.jim.common.utils
-
本类部分代码参考了voovan项目,不过为了适应需要,作了部分改动,感谢作者的贡献
项目地址: http://www.voovan.org/
- HttpParseUtils() - Constructor for class org.jim.common.utils.HttpParseUtils
-
- HttpProtocol - Class in org.jim.common.http
-
- HttpProtocol() - Constructor for class org.jim.common.http.HttpProtocol
-
- HttpProtocolHandler - Class in org.jim.server.http
-
版本: [1.0]
功能说明:
作者: WChao 创建时间: 2017年8月3日 下午3:07:54
- HttpProtocolHandler() - Constructor for class org.jim.server.http.HttpProtocolHandler
-
- HttpProtocolHandler(HttpConfig) - Constructor for class org.jim.server.http.HttpProtocolHandler
-
- HttpRequest - Class in org.jim.common.http
-
- HttpRequest(Node) - Constructor for class org.jim.common.http.HttpRequest
-
- HttpRequestDecoder - Class in org.jim.common.http
-
- HttpRequestDecoder() - Constructor for class org.jim.common.http.HttpRequestDecoder
-
- HttpRequestDecoder.Step - Enum in org.jim.common.http
-
- HttpResponse - Class in org.jim.common.http
-
- HttpResponse(HttpRequest, HttpConfig) - Constructor for class org.jim.common.http.HttpResponse
-
- HttpResponseEncoder - Class in org.jim.common.http
-
- HttpResponseEncoder() - Constructor for class org.jim.common.http.HttpResponseEncoder
-
- HttpResponseEncoder.Step - Enum in org.jim.common.http
-
- HttpResponseStatus - Enum in org.jim.common.http
-
本类直接摘自baseio: https://git.oschina.net/generallycloud/baseio
谢谢作者整理
- HttpResps - Class in org.jim.server.util
-
- HttpServerInit - Class in org.jim.server.demo.init
-
- HttpServerInit() - Constructor for class org.jim.server.demo.init.HttpServerInit
-
- HttpServerUtils - Class in org.jim.server.util
-
- HttpServerUtils() - Constructor for class org.jim.server.util.HttpServerUtils
-
- HttpSession - Class in org.jim.common.http.session
-
- HttpSession() - Constructor for class org.jim.common.http.session.HttpSession
-
- HttpSession(String) - Constructor for class org.jim.common.http.session.HttpSession
-
- HttpUuid - Class in org.jim.common.http
-
- HttpUuid() - Constructor for class org.jim.common.http.HttpUuid
-
- PACKET - Static variable in interface org.jim.common.Const
-
- Pair(K, V) - Constructor for class org.jim.common.cache.redis.JedisTemplate.Pair
-
- PairEx(K, V) - Constructor for class org.jim.common.cache.redis.JedisTemplate.PairEx
-
- PairEx(K, V, E) - Constructor for class org.jim.common.cache.redis.JedisTemplate.PairEx
-
- parseBody(HttpMultiBodyDecoder.Header, HttpRequest, ByteBuffer, String, String, ChannelContext) - Static method in class org.jim.common.http.HttpMultiBodyDecoder
-
- parseBodyFormat(HttpRequest, Map<String, String>) - Static method in class org.jim.common.http.HttpRequestDecoder
-
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
Content-Type : application/x-www-form-urlencoded; charset=UTF-8
- parseChatBody(String) - Static method in class org.jim.common.utils.ChatKit
-
判断是否属于指定格式聊天消息;
- parseConfiguration(File) - Static method in class org.jim.common.cache.caffeine.CaffeineConfigurationFactory
-
Configures a bean from an property file.
- parseConfiguration(URL) - Static method in class org.jim.common.cache.caffeine.CaffeineConfigurationFactory
-
Configures a bean from an property file available as an URL.
- parseConfiguration() - Static method in class org.jim.common.cache.caffeine.CaffeineConfigurationFactory
-
Configures a bean from an property file in the classpath.
- parseConfiguration(InputStream) - Static method in class org.jim.common.cache.caffeine.CaffeineConfigurationFactory
-
Configures a bean from an property input stream.
- parseConfiguration(File) - Static method in class org.jim.common.cache.redis.RedisConfigurationFactory
-
Configures a bean from an property file.
- parseConfiguration(URL) - Static method in class org.jim.common.cache.redis.RedisConfigurationFactory
-
Configures a bean from an property file available as an URL.
- parseConfiguration() - Static method in class org.jim.common.cache.redis.RedisConfigurationFactory
-
Configures a bean from an property file in the classpath.
- parseConfiguration(InputStream) - Static method in class org.jim.common.cache.redis.RedisConfigurationFactory
-
Configures a bean from an property input stream.
- parseConfiguration(File) - Static method in class org.jim.server.command.CommandConfigurationFactory
-
Configures a bean from an property file.
- parseConfiguration(URL) - Static method in class org.jim.server.command.CommandConfigurationFactory
-
Configures a bean from an property file available as an URL.
- parseConfiguration() - Static method in class org.jim.server.command.CommandConfigurationFactory
-
Configures a bean from an property file in the classpath.
- parseConfiguration(InputStream) - Static method in class org.jim.server.command.CommandConfigurationFactory
-
Configures a bean from an property input stream.
- parseConfiguration(File) - Static method in class org.jim.server.handler.ProtocolHandlerConfigurationFactory
-
Configures a bean from an property file.
- parseConfiguration(URL) - Static method in class org.jim.server.handler.ProtocolHandlerConfigurationFactory
-
Configures a bean from an property file available as an URL.
- parseConfiguration() - Static method in class org.jim.server.handler.ProtocolHandlerConfigurationFactory
-
Configures a bean from an property file in the classpath.
- parseConfiguration(InputStream) - Static method in class org.jim.server.handler.ProtocolHandlerConfigurationFactory
-
Configures a bean from an property input stream.
- parseCookie() - Method in class org.jim.common.http.HttpRequest
-
- parseHeader(List<String>, HttpMultiBodyDecoder.Header, ChannelContext) - Static method in class org.jim.common.http.HttpMultiBodyDecoder
-
【
Content-Disposition: form-data; name="uploadFile"; filename=""
Content-Type: application/octet-stream
】
【
Content-Disposition: form-data; name="end"
】
- parseHeaderLine(String) - Static method in class org.jim.common.http.HttpRequestDecoder
-
解析请求头的每一行
- parseHeaderLine(String) - Static method in class org.jim.common.http.HttpResponseEncoder
-
解析请求头的每一行
- parseRequestLine(String, ChannelContext) - Static method in class org.jim.common.http.HttpRequestDecoder
-
解析第一行(请求行)
- pathBeanMap - Variable in class org.jim.server.http.mvc.Routes
-
路径和对象映射
key: /user
value: object
- pathClassMap - Variable in class org.jim.server.http.mvc.Routes
-
路径和class映射
只是用来打印的
key: /user
value: Class
- pathMethodMap - Variable in class org.jim.server.http.mvc.Routes
-
Method路径映射
key: /user/update
value: method
- pathMethodstrMap - Variable in class org.jim.server.http.mvc.Routes
-
Method路径映射
只是用于打印日志
key: /user/update
value: method string
- plain(String, String, HttpRequest) - Method in class org.jim.server.http.api.TestController
-
- position(int, ByteBuffer) - Static method in class org.jim.common.utils.BufferUtil
-
- post(String, String, HttpRequest) - Method in class org.jim.server.http.api.TestController
-
- Pragma - Static variable in interface org.jim.common.http.HttpConst.RequestHeaderKey
-
- ProcessorIntf - Interface in org.jim.server.command.handler.processor
-
不同协议CMD命令处理接口
- processors - Variable in class org.jim.server.command.AbCmdHandler
-
- Protocol - Interface in org.jim.common
-
- protocol(ByteBuffer, ChannelContext) - Static method in class org.jim.common.utils.ImKit
-
获取所属终端协议;
- protocol() - Method in class org.jim.server.handler.AbProtocolHandler
-
- protocol() - Method in class org.jim.server.http.HttpProtocolHandler
-
- protocol() - Method in class org.jim.server.tcp.TcpProtocolHandler
-
- protocol() - Method in class org.jim.server.ws.WsProtocolHandler
-
- ProtocolHandlerConfiguration - Class in org.jim.server.handler
-
- ProtocolHandlerConfiguration() - Constructor for class org.jim.server.handler.ProtocolHandlerConfiguration
-
- ProtocolHandlerConfiguration(String, Properties) - Constructor for class org.jim.server.handler.ProtocolHandlerConfiguration
-
- ProtocolHandlerConfigurationFactory - Class in org.jim.server.handler
-
- ProtocolHandlerManager - Class in org.jim.server.handler
-
版本: [1.0]
功能说明:
作者: WChao 创建时间: 2017年8月3日 下午2:40:24
- ProtocolHandlerManager() - Constructor for class org.jim.server.handler.ProtocolHandlerManager
-
- publish(String, String) - Method in class org.jim.common.cache.redis.JedisTemplate
-
将信息 message 发送到指定的频道 channel。
时间复杂度:O(N+M),其中 N 是频道 channel 的订阅者数量,而 M 则是使用模式订阅(subscribed patterns)的客户端的数量。
- publish(ImClusterVo) - Method in class org.jim.common.cluster.redis.RedisClusterConfig
-
- publishAll(String, List<String>) - Method in class org.jim.common.cache.redis.JedisTemplate
-
将信息 message 发送到指定的频道 channel。
时间复杂度:O(N+M),其中 N 是频道 channel 的订阅者数量,而 M 则是使用模式订阅(subscribed patterns)的客户端的数量。
- publishAsyn(ImClusterVo) - Method in class org.jim.common.cluster.redis.RedisClusterConfig
-
- PUSH - Static variable in interface org.jim.common.Const
-
- put(String, Serializable) - Method in class org.jim.common.cache.caffeine.CaffeineCache
-
- put(String, Serializable) - Method in class org.jim.common.cache.caffeineredis.CaffeineRedisCache
-
- put(String, Serializable) - Method in interface org.jim.common.cache.ICache
-
将key value保存到缓存中
- put(String, Serializable) - Method in class org.jim.common.cache.redis.RedisCache
-
- put(Class<?>, SerializeFilter) - Static method in class org.jim.common.utils.JsonKit
-
- put(Class<?>, ObjectSerializer) - Static method in class org.jim.common.utils.JsonKit
-
- putAll(List<JedisTemplate.Pair<String, Serializable>>) - Method in class org.jim.common.cache.redis.RedisCache
-
- putFriendsHistoryMessage(UserMessageData, List<ChatBody>, String) - Method in class org.jim.server.helper.redis.RedisMessageHelper
-
放入用户好友历史消息;
- putFriendsMessage(UserMessageData, List<ChatBody>) - Method in class org.jim.server.helper.redis.RedisMessageHelper
-
放入用户好友消息;
- putGroupMessage(UserMessageData, List<ChatBody>) - Method in class org.jim.server.helper.redis.RedisMessageHelper
-
放入用户群组消息;
- putL2Async(String, Serializable) - Method in class org.jim.common.cache.caffeineredis.CaffeineRedisCache
-
- putL2Async(String, Serializable) - Method in interface org.jim.common.cache.IL2Cache
-
- putsession(String, HttpRequest) - Method in class org.jim.server.http.api.TestController
-
- putTemporary(String, Serializable) - Method in class org.jim.common.cache.caffeine.CaffeineCache
-
- putTemporary(String, Serializable) - Method in class org.jim.common.cache.caffeineredis.CaffeineRedisCache
-
- putTemporary(String, Serializable) - Method in interface org.jim.common.cache.ICache
-
临时添加一个值,用于防止缓存穿透攻击
- putTemporary(String, Serializable) - Method in class org.jim.common.cache.redis.RedisCache
-
- valueOf(String) - Static method in enum org.jim.common.cache.CacheChangeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jim.common.http.HttpConst.RequestBodyFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jim.common.http.HttpMultiBodyDecoder.Step
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jim.common.http.HttpRequestDecoder.Step
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jim.common.http.HttpResponseEncoder.Step
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jim.common.http.HttpResponseStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jim.common.http.Method
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jim.common.http.MimeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jim.common.ImStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jim.common.packets.ChatType
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum org.jim.common.packets.ChatType
-
- valueOf(String) - Static method in enum org.jim.common.packets.Command
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum org.jim.common.packets.Command
-
- valueOf(String) - Static method in enum org.jim.common.packets.DeviceType
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum org.jim.common.packets.DeviceType
-
- valueOf(String) - Static method in enum org.jim.common.packets.JoinGroupResult
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum org.jim.common.packets.JoinGroupResult
-
- valueOf(String) - Static method in enum org.jim.common.packets.MsgType
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum org.jim.common.packets.MsgType
-
- valueOf(String) - Static method in enum org.jim.common.ws.Opcode
-
Returns the enum constant of this type with the specified name.
- valueOf(byte) - Static method in enum org.jim.common.ws.Opcode
-
- valueOf(String) - Static method in enum org.jim.common.ws.WsServerDecoder.Step
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jim.common.cache.CacheChangeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.http.HttpConst.RequestBodyFormat
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.http.HttpMultiBodyDecoder.Step
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.http.HttpRequestDecoder.Step
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.http.HttpResponseEncoder.Step
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.http.HttpResponseStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.http.Method
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.http.MimeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.ImStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.packets.ChatType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.packets.Command
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.packets.DeviceType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.packets.JoinGroupResult
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.packets.MsgType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.ws.Opcode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.jim.common.ws.WsServerDecoder.Step
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verify(String, String, String, String) - Static method in class org.jim.common.utils.Md5
-
签名字符串
- VERSION - Static variable in interface org.jim.common.Protocol
-
协议版本号