Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ 

A

AbsCache - Class in org.tio.utils.cache
 
AbsCache(String) - Constructor for class org.tio.utils.cache.AbsCache
 
AbsCache(String, Long, Long) - Constructor for class org.tio.utils.cache.AbsCache
 
AbstractJobWithLog - Class in org.tio.utils.quartz
 
AbstractJobWithLog() - Constructor for class org.tio.utils.quartz.AbstractJobWithLog
 
AbstractQueueRunnable<T> - Class in org.tio.utils.thread.pool
 
AbstractQueueRunnable(Executor) - Constructor for class org.tio.utils.thread.pool.AbstractQueueRunnable
 
AbstractSynRunnable - Class in org.tio.utils.thread.pool
 
AbstractSynRunnable(Executor) - Constructor for class org.tio.utils.thread.pool.AbstractSynRunnable
Instantiates a new abstract syn runnable.
accept(T) - Method in interface org.tio.utils.hutool.Filter
是否接受对象
Accept_Encoding - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Accept_Language - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
AcceptCompletionHandler - Class in org.tio.server
 
AcceptCompletionHandler() - Constructor for class org.tio.server.AcceptCompletionHandler
 
accepted - Variable in class org.tio.server.ServerGroupStat
接受了多少连接
Access_Control_Allow_Credentials - Static variable in class org.tio.http.common.HeaderName
 
Access_Control_Allow_Credentials - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
Access_Control_Allow_Headers - Static variable in class org.tio.http.common.HeaderName
 
Access_Control_Allow_Headers() - Constructor for class org.tio.http.common.HeaderValue.Access_Control_Allow_Headers
 
Access_Control_Allow_Headers - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
Access_Control_Allow_Methods - Static variable in class org.tio.http.common.HeaderName
 
Access_Control_Allow_Methods() - Constructor for class org.tio.http.common.HeaderValue.Access_Control_Allow_Methods
 
Access_Control_Allow_Methods - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
Access_Control_Allow_Origin - Static variable in class org.tio.http.common.HeaderName
 
Access_Control_Allow_Origin() - Constructor for class org.tio.http.common.HeaderValue.Access_Control_Allow_Origin
 
Access_Control_Allow_Origin - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
Access_Control_Max_Age - Static variable in class org.tio.http.common.HeaderName
 
Access_Control_Max_Age() - Constructor for class org.tio.http.common.HeaderValue.Access_Control_Max_Age
 
Access_Control_Max_Age - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
ACEUtils - Class in org.tio.utils.crypto
 
add(String) - Method in class org.tio.core.maintain.IpBlacklist
 
add(TioConfig, String) - Static method in class org.tio.core.Tio.IpBlacklist
把ip添加到黑名单,此黑名单只针对tioConfig有效,其它tioConfig不会把这个ip视为黑名单
add(String) - Static method in class org.tio.core.Tio.IpBlacklist
添加全局ip黑名单
add(String, String, long) - Static method in class org.tio.utils.cache.redis.RedisExpireUpdateTask
 
add(T) - Method in class org.tio.utils.lock.ListWithLock
 
add(T) - Method in class org.tio.utils.lock.SetWithLock
 
add(T) - Method in interface org.tio.utils.queue.FullWaitQueue
write 向队列尾添加一个元素,如果队列已经满了,则等待一段时间
add(T) - Method in class org.tio.utils.queue.TioFullWaitQueue
 
addAll(byte[]...) - Static method in class org.tio.utils.hutool.ArrayUtil
 
addCookie(Cookie) - Method in class org.tio.http.common.HttpResponse
 
addDomainConfiguration(String, String) - Method in class org.tio.http.common.view.freemarker.FreemarkerConfig
 
addDomainPage(String, String) - Method in class org.tio.http.common.HttpConfig
 
addDuration(Long) - Method in class org.tio.core.maintain.IpStats
添加监控时段,不要添加过多的时间段,因为每个时间段都要消耗一份内存,一般加一个时间段就可以了
addDuration(Long, IpPathAccessStatListener) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
添加监控时段
addDuration(Long, TokenPathAccessStatListener) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
添加监控时段
addDurations(Long[]) - Method in class org.tio.core.maintain.IpStats
添加监控时段,不要添加过多的时间段,因为每个时间段都要消耗一份内存,一般加一个时间段就可以了
addDurations(Long[], IpPathAccessStatListener) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
添加监控时段
addDurations(Long[], TokenPathAccessStatListener) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
添加监控时段
addHeader(String, String) - Method in class org.tio.http.common.HttpRequest
 
addHeader(HeaderName, HeaderValue) - Method in class org.tio.http.common.HttpResponse
 
addHeaders(Map<String, String>) - Method in class org.tio.http.common.HttpRequest
 
addHeaders(Map<HeaderName, HeaderValue>) - Method in class org.tio.http.common.HttpResponse
 
addMapping(String, String) - Method in class org.tio.http.server.session.DomainMappingSessionCookieDecorator
 
addMsg(Packet) - Method in class org.tio.core.task.SendRunnable
 
addMsg(T) - Method in class org.tio.utils.thread.pool.AbstractQueueRunnable
 
addOnClose(Consumer<CloseEvent>) - Method in interface org.tio.websocket.client.WebSocket
To add listener of close event
addOnClose(Consumer<CloseEvent>) - Method in class org.tio.websocket.client.WebSocketImpl
 
addOnError(Consumer<ErrorEvent>) - Method in interface org.tio.websocket.client.WebSocket
To add listener of error event
addOnError(Consumer<ErrorEvent>) - Method in class org.tio.websocket.client.WebSocketImpl
 
addOnMessage(Consumer<MessageEvent>) - Method in interface org.tio.websocket.client.WebSocket
To add listener of message event
addOnMessage(Consumer<MessageEvent>) - Method in class org.tio.websocket.client.WebSocketImpl
 
addOnOpen(Consumer<OpenEvent>) - Method in interface org.tio.websocket.client.WebSocket
To add listener of open event
addOnOpen(Consumer<OpenEvent>) - Method in class org.tio.websocket.client.WebSocketImpl
 
addOnThrows(Consumer<Throwable>) - Method in interface org.tio.websocket.client.WebSocket
To add listener of throws event
addOnThrows(Consumer<Throwable>) - Method in class org.tio.websocket.client.WebSocketImpl
 
addParam(String, Object) - Method in class org.tio.http.common.HttpRequest
 
addPathChildrenCacheListener(String, PathChildrenCacheListener) - Static method in class org.tio.utils.zk.Zk
 
addRoutes(String[]) - Method in class org.tio.http.server.mvc.Routes
添加路由
addRoutes(String[], ControllerFactory) - Method in class org.tio.http.server.mvc.Routes
添加路由
addTimerListener(SystemTimer.TimerListener) - Static method in class org.tio.utils.SystemTimer
 
AioDecodeException - Exception in org.tio.core.exception
Deprecated.
用TioDecodeException
AioDecodeException() - Constructor for exception org.tio.core.exception.AioDecodeException
Deprecated.
 
AioDecodeException(String) - Constructor for exception org.tio.core.exception.AioDecodeException
Deprecated.
 
AioDecodeException(String, Throwable) - Constructor for exception org.tio.core.exception.AioDecodeException
Deprecated.
 
AioDecodeException(String, Throwable, boolean, boolean) - Constructor for exception org.tio.core.exception.AioDecodeException
Deprecated.
 
AioDecodeException(Throwable) - Constructor for exception org.tio.core.exception.AioDecodeException
Deprecated.
 
AioHandler - Interface in org.tio.core.intf
 
aioHandler - Static variable in class org.tio.flash.policy.server.FlashPolicyServerStarter
 
AioListener - Interface in org.tio.core.intf
 
aioListener - Static variable in class org.tio.flash.policy.server.FlashPolicyServerStarter
 
ALL_CLIENT_GROUPCONTEXTS - Static variable in class org.tio.core.TioConfig
本jvm中所有的ClientTioConfig对象
ALL_GROUPCONTEXTS - Static variable in class org.tio.core.TioConfig
本jvm中所有的TioConfig对象
ALL_SERVER_GROUPCONTEXTS - Static variable in class org.tio.core.TioConfig
本jvm中所有的ServerTioConfig对象
allow(HttpRequest, SessionRateVo) - Method in interface org.tio.http.common.session.limiter.SessionRateLimiter
是否允许访问,true:允许访问,false:不允许访问
altBase64ToByteArray(String) - Static method in class org.tio.websocket.common.util.BASE64Util
Translates the specified "alternate representation" Base64 string into a byte array.
AMP - Static variable in interface org.tio.utils.SysConst
&
append(byte[], int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
向快速缓冲加入数据
append(byte[]) - Method in class org.tio.utils.hutool.FastByteBuffer
向快速缓冲加入数据
append(byte) - Method in class org.tio.utils.hutool.FastByteBuffer
向快速缓冲加入一个字节
append(FastByteBuffer) - Method in class org.tio.utils.hutool.FastByteBuffer
将另一个快速缓冲加入到自身
append(Prop) - Static method in class org.tio.utils.jfinal.P
 
append(String, String) - Static method in class org.tio.utils.jfinal.P
 
append(String) - Static method in class org.tio.utils.jfinal.P
 
append(File, String) - Static method in class org.tio.utils.jfinal.P
 
append(File) - Static method in class org.tio.utils.jfinal.P
 
append(Prop) - Method in class org.tio.utils.jfinal.Prop
 
append(String, String) - Method in class org.tio.utils.jfinal.Prop
 
append(String, Charset) - Method in class org.tio.utils.jfinal.Prop
 
append(String) - Method in class org.tio.utils.jfinal.Prop
 
append(File, String) - Method in class org.tio.utils.jfinal.Prop
 
append(File) - Method in class org.tio.utils.jfinal.Prop
 
appendIfExists(String, String) - Static method in class org.tio.utils.jfinal.P
 
appendIfExists(String) - Static method in class org.tio.utils.jfinal.P
 
appendIfExists(File, String) - Static method in class org.tio.utils.jfinal.P
 
appendIfExists(File) - Static method in class org.tio.utils.jfinal.P
 
appendIfExists(String, String) - Method in class org.tio.utils.jfinal.Prop
 
appendIfExists(String) - Method in class org.tio.utils.jfinal.Prop
 
appendIfExists(File, String) - Method in class org.tio.utils.jfinal.Prop
 
appendIfExists(File) - Method in class org.tio.utils.jfinal.Prop
 
APPLICATION_ACAD_DWG - Static variable in class org.tio.http.common.HeaderValue.Content_Type
 
application_x_www_form_urlencoded - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Content_Type
普通的key-value
array(int) - Method in class org.tio.utils.hutool.FastByteBuffer
根据索引位返回缓冲集中的缓冲
arrayToString(Object) - Static method in class org.tio.utils.hutool.StrUtil
数组或集合转String
ArrayUtil - Class in org.tio.utils.hutool
 
ArrayUtil() - Constructor for class org.tio.utils.hutool.ArrayUtil
 
asMap() - Method in class org.tio.utils.cache.caffeine.CaffeineCache
 
asMap() - Method in class org.tio.utils.cache.guava.GuavaCache
 
ASTERISK - Static variable in interface org.tio.utils.SysConst
?
asynchronousSocketChannel - Variable in class org.tio.core.ChannelContext
The asynchronous socket channel.
asynConnect(Node) - Method in class org.tio.client.TioClient
 
asynConnect(Node, Integer) - Method in class org.tio.client.TioClient
 
asynConnect(Node, String, Integer, Integer) - Method in class org.tio.client.TioClient
 
AVAILABLE_PROCESSORS - Static variable in class org.tio.utils.Threads
 

B

BACKSLASH - Static variable in interface org.tio.utils.SysConst
反斜扛
base64ToByteArray(String) - Static method in class org.tio.websocket.common.util.BASE64Util
Translates the specified Base64 string (as per Preferences.get(byte[])) into a byte array.
BASE64Util - Class in org.tio.websocket.common.util
 
BASE64Util() - Constructor for class org.tio.websocket.common.util.BASE64Util
 
BasicType - Enum in org.tio.utils.hutool
 
BEAN_METHODACCESS_MAP - Static variable in class org.tio.http.server.mvc.Routes
bean和MethodAccess映射
key: XxxController.class对应的实例对象
value: MethodAccess
BeanInfoCache - Enum in org.tio.utils.hutool
Bean属性缓存
缓存用于防止多次反射造成的性能问题
BeanUtil - Class in org.tio.utils.hutool
 
BeanUtil() - Constructor for class org.tio.utils.hutool.BeanUtil
 
beginHandshake() - Method in interface org.tio.core.ssl.facade.ISSLFacade
开始握手
beginHandshake() - Method in class org.tio.core.ssl.facade.SSLFacade
 
beginHandshake() - Method in class org.tio.core.ssl.SslFacadeContext
 
BetweenFormater - Class in org.tio.utils.hutool
时长格式化器
BetweenFormater(long, BetweenFormater.Level) - Constructor for class org.tio.utils.hutool.BetweenFormater
构造
BetweenFormater(long, BetweenFormater.Level, int) - Constructor for class org.tio.utils.hutool.BetweenFormater
构造
BetweenFormater.Level - Enum in org.tio.utils.hutool
格式化等级枚举
BinaryUtils - Class in org.tio.utils
邀请码工具类 参考:https://my.oschina.net/u/1469495/blog/470599
BinaryUtils() - Constructor for class org.tio.utils.BinaryUtils
 
bind(ChannelContext, String) - Method in class org.tio.core.maintain.BsIds
 
bind(String, ChannelContext) - Method in class org.tio.core.maintain.Groups
和组绑定
bind(String, ChannelContext, boolean) - Method in class org.tio.core.maintain.Groups
和组绑定
bind(ChannelContext) - Method in class org.tio.core.maintain.Ids
 
bind(ChannelContext) - Method in class org.tio.core.maintain.Ips
和ip绑定
bind(String, ChannelContext) - Method in class org.tio.core.maintain.Tokens
绑定token.
bind(String, ChannelContext) - Method in class org.tio.core.maintain.Users
绑定userid.
bindBsId(ChannelContext, String) - Static method in class org.tio.core.Tio
绑定业务id
bindGroup(ChannelContext, String) - Static method in class org.tio.core.Tio
绑定群组
bindGroup(TioConfig, String, String) - Static method in class org.tio.core.Tio
将用户绑定到群组
bindToken(ChannelContext, String) - Static method in class org.tio.core.Tio
绑定token
bindUser(ChannelContext, String) - Static method in class org.tio.core.Tio
绑定用户
BIRTHDAY - Static variable in class org.tio.utils.hutool.PatternPool
生日
BLANK - Static variable in interface org.tio.utils.SysConst
空串
body - Variable in class org.tio.http.common.HttpPacket
 
box(T) - Static method in class org.tio.websocket.client.kit.ObjKit
 
Box(T) - Constructor for class org.tio.websocket.client.kit.ObjKit.Box
 
bSend(ChannelContext, Packet) - Static method in class org.tio.core.Tio
阻塞发送消息到指定ChannelContext
bSend(TioConfig, String, int, Packet) - Static method in class org.tio.core.Tio
发送到指定的ip和port
bSend(ChannelContext, Packet, int, TimeUnit) - Static method in class org.tio.websocket.client.kit.TioKit
 
bSendToAll(TioConfig, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到所有连接
bSendToBsId(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
阻塞发消息给指定业务ID
bSendToGroup(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息到组
bSendToGroup(TioConfig, String, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到组
bSendToId(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息给指定ChannelContext id
bSendToIp(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
阻塞发送到指定ip对应的集合
bSendToIp(TioConfig, String, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
阻塞发送到指定ip对应的集合
bSendToSet(TioConfig, SetWithLock<ChannelContext>, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到指定集合
bSendToToken(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
阻塞发消息到指定token
bSendToUser(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
阻塞发消息给指定用户
BsIds - Class in org.tio.core.maintain
一对一 (bsid <--> ChannelContext)
Bs: business,业务id和ChannelContext绑定
需求见:https://gitee.com/tywo45/t-io/issues/IK30Q
BsIds() - Constructor for class org.tio.core.maintain.BsIds
 
bsIds - Variable in class org.tio.core.TioConfig
 
BufferType - Enum in org.tio.core.ssl.facade
 
BufferUtils - Class in org.tio.core.ssl.facade
 
BufferUtils() - Constructor for class org.tio.core.ssl.facade.BufferUtils
 
buildCookie(Map<String, String>, HttpConfig) - Static method in class org.tio.http.common.Cookie
通过 Map 构建一个 Cookie 对象
byteArrayToAltBase64(byte[]) - Static method in class org.tio.websocket.common.util.BASE64Util
Translates the specified byte array into an "alternate representation" Base64 string.
byteArrayToBase64(byte[]) - Static method in class org.tio.websocket.common.util.BASE64Util
Translates the specified byte array into a Base64 string as per Preferences.put(byte[]).
ByteBufferUtils - Class in org.tio.core.utils
 
ByteBufferUtils() - Constructor for class org.tio.core.utils.ByteBufferUtils
 
ByteKit - Class in org.tio.websocket.client.kit
 
ByteKit() - Constructor for class org.tio.websocket.client.kit.ByteKit
 
bytes - Variable in class org.tio.http.common.HeaderName
 
bytes - Variable in class org.tio.http.common.HeaderValue
 
bytes(HttpRequest, byte[], String) - Static method in class org.tio.http.server.util.Resps
根据byte[]创建响应
bytesWithContentType(HttpRequest, byte[], String) - Static method in class org.tio.http.server.util.Resps
 
bytesWithHeaders(HttpRequest, byte[], Map<HeaderName, HeaderValue>) - Static method in class org.tio.http.server.util.Resps
 

C

CACHE_CHANGE_TOPIC - Static variable in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
CACHE_CHANGE_TOPIC - Static variable in class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
CACHE_CONTROL - Static variable in class org.tio.http.common.HeaderName
 
Cache_Control - Static variable in class org.tio.http.common.HeaderName
 
Cache_Control() - Constructor for class org.tio.http.common.HeaderValue.Cache_Control
 
Cache_Control - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Cache_Control - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
CacheChangedVo - Class in org.tio.utils.cache
 
CacheChangedVo() - Constructor for class org.tio.utils.cache.CacheChangedVo
 
CacheChangedVo(String, CacheChangeType) - Constructor for class org.tio.utils.cache.CacheChangedVo
 
CacheChangedVo(String, String, CacheChangeType) - Constructor for class org.tio.utils.cache.CacheChangedVo
 
CacheChangeType - Enum in org.tio.utils.cache
 
cacheKey(String, String) - Static method in class org.tio.utils.cache.redis.RedisCache
 
cacheMap - Variable in class org.tio.core.maintain.IpStats
key: 时长,单位:秒
cacheMap - Variable in class org.tio.http.server.stat.ip.path.IpPathAccessStats
key: 时长段,单位:秒 value: CaffeineCache: key: ip, value: IpAccessStat
cacheMap - Variable in class org.tio.http.server.stat.token.TokenPathAccessStats
key: 时长段,单位:秒 value: CaffeineCache: key: token, value: TokenAccessStat
cacheName - Variable in class org.tio.utils.cache.AbsCache
 
CacheUtils - Class in org.tio.utils.cache
cache使用的一些工具方法,简化业务代码
CacheVo - Class in org.tio.webpack.cache
 
CacheVo() - Constructor for class org.tio.webpack.cache.CacheVo
 
CaffeineCache - Class in org.tio.utils.cache.caffeine
 
CaffeineRedisCache - Class in org.tio.utils.cache.caffeineredis
 
CaffeineRedisCache(String, CaffeineCache, RedisCache) - Constructor for class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
CaffeineUtils - Class in org.tio.utils.caffeine
 
CaffeineUtils() - Constructor for class org.tio.utils.caffeine.CaffeineUtils
 
canSend - Variable in class org.tio.core.task.SendRunnable
 
CaseInsensitiveMap<K,V> - Class in org.tio.utils.hutool
忽略大小写的Map
对KEY忽略大小写,get("Value")和get("value")获得的值相同,put进入的值也会被覆盖
CaseInsensitiveMap() - Constructor for class org.tio.utils.hutool.CaseInsensitiveMap
构造
CaseInsensitiveMap(int, float) - Constructor for class org.tio.utils.hutool.CaseInsensitiveMap
构造
CaseInsensitiveMap(int) - Constructor for class org.tio.utils.hutool.CaseInsensitiveMap
构造
CaseInsensitiveMap(Map<? extends K, ? extends V>) - Constructor for class org.tio.utils.hutool.CaseInsensitiveMap
构造
CaseInsensitiveMap(float, Map<? extends K, ? extends V>) - Constructor for class org.tio.utils.hutool.CaseInsensitiveMap
构造
ChannelContext - Class in org.tio.core
 
ChannelContext(TioConfig, AsynchronousSocketChannel) - Constructor for class org.tio.core.ChannelContext
 
ChannelContext(TioConfig) - Constructor for class org.tio.core.ChannelContext
创建一个虚拟ChannelContext,主要用来模拟一些操作,譬如压力测试,真实场景中用得少
ChannelContext(TioConfig, String) - Constructor for class org.tio.core.ChannelContext
创建一个虚拟ChannelContext,主要用来模拟一些操作,譬如压力测试,真实场景中用得少
channelContext - Variable in class org.tio.http.common.HttpRequest
 
ChannelContext.CloseCode - Enum in org.tio.core
连接关闭码
ChannelContext.CloseMeta - Class in org.tio.core
 
ChannelContextFilter - Interface in org.tio.core
 
ChannelStat - Class in org.tio.core.stat
 
ChannelStat() - Constructor for class org.tio.core.stat.ChannelStat
 
CHARSET - Static variable in interface org.tio.flash.policy.server.Const
 
CHARSET_NAME - Static variable in interface org.tio.http.common.HttpConst
默认规定连接到本服务器的客户端统一用utf-8
CHARSET_NAME - Static variable in class org.tio.websocket.common.WsPacket
 
CHECK_LASTVERSION_URL_1 - Static variable in interface org.tio.utils.SysConst
 
CHECK_LASTVERSION_URL_2 - Static variable in interface org.tio.utils.SysConst
 
checkBeforeIO(ChannelContext) - Static method in class org.tio.core.utils.TioUtils
 
checkHost - Variable in class org.tio.http.common.HttpConfig
 
CheckRunnable() - Constructor for class org.tio.flash.policy.server.FlashPolicyServerStarter.CheckRunnable
 
CHINESE - Static variable in class org.tio.utils.hutool.PatternPool
单个中文汉字
CHINESES - Static variable in class org.tio.utils.hutool.PatternPool
中文汉字
CITIZEN_ID - Static variable in class org.tio.utils.hutool.PatternPool
18位身份证号码
CLASS_BEAN_MAP - Static variable in class org.tio.http.server.mvc.Routes
class和对象映射
key: XxxController.class
value: XxxController.class对应的实例对象
CLASS_PATH_MAP - Static variable in class org.tio.http.server.mvc.Routes
路径和class映射
key: class
value: /user
ClassScanAnnotationHandler - Class in org.tio.utils.hutool
本对象会帮你找到含有指定Annotation类的class
ClassScanAnnotationHandler(Class<? extends Annotation>) - Constructor for class org.tio.utils.hutool.ClassScanAnnotationHandler
 
ClassScanHandler - Interface in org.tio.utils.hutool
 
ClassUtil - Class in org.tio.utils.hutool
 
ClassUtil() - Constructor for class org.tio.utils.hutool.ClassUtil
 
ClassUtils - Class in org.tio.http.server.util
 
ClassUtils() - Constructor for class org.tio.http.server.util.ClassUtils
 
clean(File) - Static method in class org.tio.utils.hutool.FileUtil
清空文件夹
注意:清空文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
clear() - Method in class org.tio.core.maintain.IpBlacklist
 
clear(Long) - Method in class org.tio.core.maintain.IpStats
清空监控数据
clear(TioConfig) - Static method in class org.tio.core.Tio.IpBlacklist
清空黑名单,只针对tioConfig有效
clear() - Static method in class org.tio.core.Tio.IpBlacklist
清空全局黑名单
clear(HttpConfig) - Method in class org.tio.http.common.session.HttpSession
清空所有属性
clear(Long) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
清空监控数据
clear(Long) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
清空监控数据
clear() - Method in class org.tio.utils.cache.caffeine.CaffeineCache
 
clear() - Method in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
clear() - Method in class org.tio.utils.cache.guava.GuavaCache
 
clear() - Method in class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
clear() - Method in interface org.tio.utils.cache.ICache
清空所有缓存
clear() - Method in class org.tio.utils.cache.j2cache.J2Cache
 
clear() - Method in class org.tio.utils.cache.redis.RedisCache
 
clear() - Method in class org.tio.utils.hutool.SimpleCache
清空缓存池
clear() - Static method in class org.tio.utils.jfinal.P
 
clear() - Method in class org.tio.utils.lock.ListWithLock
 
clear() - Method in class org.tio.utils.lock.MapWithLock
clear
clear() - Method in class org.tio.utils.lock.SetWithLock
 
clear() - Method in class org.tio.utils.prop.MapWithLockPropSupport
同:clearAttribute()
clear() - Method in interface org.tio.utils.queue.FullWaitQueue
 
clear() - Method in class org.tio.utils.queue.TioFullWaitQueue
 
clearAttribute() - Method in interface org.tio.utils.prop.IPropSupport
清除所有属性
clearAttribute() - Method in class org.tio.utils.prop.MapWithLockPropSupport
 
clearMsgQueue() - Method in class org.tio.core.task.DecodeRunnable
清空处理的队列消息
clearMsgQueue() - Method in class org.tio.core.task.SendRunnable
清空消息队列
clearMsgQueue() - Method in class org.tio.utils.thread.pool.AbstractQueueRunnable
清空处理的队列消息
clearStaticResCache() - Method in interface org.tio.http.common.handler.HttpRequestHandler
清空静态资源缓存,如果没有缓存,可以不处理
clearStaticResCache() - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
client - Static variable in class org.tio.utils.http.HttpUtils
 
ClientAioHandler - Interface in org.tio.client.intf
 
ClientAioListener - Interface in org.tio.client.intf
 
ClientChannelContext - Class in org.tio.client
 
ClientChannelContext(TioConfig, AsynchronousSocketChannel) - Constructor for class org.tio.client.ClientChannelContext
 
ClientChannelContext(TioConfig) - Constructor for class org.tio.client.ClientChannelContext
创建一个虚拟ChannelContext,主要用来模拟一些操作,真实场景中用得少
ClientDecorator - Interface in org.tio.utils.zk
 
ClientGroupStat - Class in org.tio.client
 
ClientGroupStat() - Constructor for class org.tio.client.ClientGroupStat
 
ClientHttpRequest - Class in org.tio.websocket.client.httpclient
临时写的httpclient,用于性能测试
ClientHttpRequest(Node) - Constructor for class org.tio.websocket.client.httpclient.ClientHttpRequest
 
ClientHttpRequest(Method, String, String) - Constructor for class org.tio.websocket.client.httpclient.ClientHttpRequest
 
CLIENTID - Static variable in class org.tio.utils.cache.CacheChangedVo
 
ClientNodes - Class in org.tio.core.maintain
一对一 (ip:port <--> ChannelContext)
ClientNodes() - Constructor for class org.tio.core.maintain.ClientNodes
 
clientNodes - Variable in class org.tio.core.TioConfig
 
clients(TioConfig, String) - Method in class org.tio.core.maintain.Groups
一个组有哪些客户端
clients(TioConfig, String) - Method in class org.tio.core.maintain.Ips
一个ip有哪些客户端,有可能返回null
ClientTioConfig - Class in org.tio.client
 
ClientTioConfig(ClientAioHandler, ClientAioListener) - Constructor for class org.tio.client.ClientTioConfig
不重连
ClientTioConfig(ClientAioHandler, ClientAioListener, ReconnConf) - Constructor for class org.tio.client.ClientTioConfig
 
ClientTioConfig(ClientAioHandler, ClientAioListener, ReconnConf, SynThreadPoolExecutor, ThreadPoolExecutor) - Constructor for class org.tio.client.ClientTioConfig
 
clone() - Method in class org.tio.core.intf.Packet
 
cloneResponse(HttpRequest, HttpResponse) - Static method in class org.tio.http.common.HttpResponse
 
cloneResponse(HttpRequest) - Method in class org.tio.http.server.handler.FileCache
 
close(ChannelContext) - Static method in class org.tio.core.maintain.MaintainUtils
 
close() - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
close() - Method in class org.tio.core.ssl.facade.SSLFacade
 
close(ChannelContext, String) - Static method in class org.tio.core.Tio
关闭连接
close(ChannelContext, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
 
close(ChannelContext, Throwable, String) - Static method in class org.tio.core.Tio
关闭连接
close(ChannelContext, Throwable, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
 
close(ChannelContext, Throwable, String, boolean) - Static method in class org.tio.core.Tio
 
close(ChannelContext, Throwable, String, boolean, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
 
close(ChannelContext, Throwable, String, boolean, boolean) - Static method in class org.tio.core.Tio
 
close(ChannelContext, Throwable, String, boolean, boolean, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
 
close(TioConfig, String, Integer, Throwable, String) - Static method in class org.tio.core.Tio
关闭连接
close - Static variable in class org.tio.http.common.HeaderValue.Connection
 
close - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Connection
 
close - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderValue.Connection
 
close() - Method in class org.tio.http.common.HttpRequest
关闭连接
close(String) - Method in class org.tio.http.common.HttpRequest
关闭连接
close() - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
此方法无任何效果,当流被关闭后不会抛出IOException
close() - Method in interface org.tio.websocket.client.WebSocket
Close this WebSocket
close(int) - Method in interface org.tio.websocket.client.WebSocket
Close this WebSocket by code
close(int, String) - Method in interface org.tio.websocket.client.WebSocket
Close this WebSocket by code and reason
close(int, String) - Method in class org.tio.websocket.client.WebSocketImpl
 
close() - Method in class org.tio.websocket.client.WsClient
 
closed - Variable in class org.tio.core.stat.GroupStat
关闭了多少连接
CLOSED - Static variable in interface org.tio.websocket.client.WebSocket
 
closeds - Variable in class org.tio.client.ClientTioConfig
 
CloseEvent - Class in org.tio.websocket.client.event
 
CloseEvent(int, String, boolean) - Constructor for class org.tio.websocket.client.event.CloseEvent
 
closeGroup(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭某群所有连接
closeGroup(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某群所有连接
closeIp(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭某群所有连接
closeIp(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某群所有连接
closeLock - Variable in class org.tio.core.ChannelContext
 
closeMeta - Variable in class org.tio.core.ChannelContext
 
CloseMeta() - Constructor for class org.tio.core.ChannelContext.CloseMeta
 
CloseRunnable - Class in org.tio.core.task
 
CloseRunnable(Executor) - Constructor for class org.tio.core.task.CloseRunnable
 
closeRunnable - Variable in class org.tio.core.TioConfig
 
closeSet(TioConfig, SetWithLock<ChannelContext>, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭集合
closeToken(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭token的所有连接
closeToken(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某token的所有连接
closeUser(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭用户的所有连接
closeUser(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某用户的所有连接
CLOSING - Static variable in interface org.tio.websocket.client.WebSocket
 
code(Integer) - Method in class org.tio.utils.resp.Resp
 
code(Integer) - Method in class org.tio.utils.resp.RespVo
 
code - Variable in class org.tio.websocket.client.event.CloseEvent
 
COL - Static variable in interface org.tio.utils.SysConst
:
CollUtil - Class in org.tio.utils.hutool
 
compareTo(Node) - Method in class org.tio.core.Node
 
compatible1_0 - Variable in class org.tio.http.common.HttpConfig
是否兼容1.0 true:兼容 false:不兼容 默认兼容
completed(Void, ConnectionCompletionVo) - Method in class org.tio.client.ConnectionCompletionHandler
 
completed(Integer, ByteBuffer) - Method in class org.tio.core.ReadCompletionHandler
 
completed(Integer, WriteCompletionHandler.WriteCompletionVo) - Method in class org.tio.core.WriteCompletionHandler
 
completed(AsynchronousSocketChannel, TioServer) - Method in class org.tio.server.AcceptCompletionHandler
 
composite(ByteBuffer, ByteBuffer) - Static method in class org.tio.core.utils.ByteBufferUtils
组合两个bytebuffer,把可读部分的组合成一个新的bytebuffer
compress(String, String) - Method in class org.tio.webpack.compress.css.TioCssCompressor
 
compress(String, String) - Method in class org.tio.webpack.compress.html.TioHtmlCompressor
 
compress(String, String) - Method in class org.tio.webpack.compress.js.TioJsCompressor
 
compress(String, String, CompilerOptions.LanguageMode, CompilationLevel) - Static method in class org.tio.webpack.compress.js.TioJsCompressor
 
compress(String, String) - Method in class org.tio.webpack.compress.js.YuiJsCompressor
 
compress(String, String) - Method in interface org.tio.webpack.compress.ResCompressor
 
Compress - Class in org.tio.webpack.model
 
Compress() - Constructor for class org.tio.webpack.model.Compress
 
condition - Variable in class org.tio.core.WriteCompletionHandler
 
ConfigurationCreater - Interface in org.tio.http.common.view.freemarker
 
ConfigUtils - Class in org.tio.utils
 
ConfigUtils() - Constructor for class org.tio.utils.ConfigUtils
 
connect(Node) - Method in class org.tio.client.TioClient
 
connect(Node, Integer) - Method in class org.tio.client.TioClient
 
connect(Node, String, Integer, ClientChannelContext, Integer) - Method in class org.tio.client.TioClient
 
connect(Node, String, Integer, Integer) - Method in class org.tio.client.TioClient
 
connect() - Method in interface org.tio.websocket.client.WebSocket
Connect to server
connect() - Method in class org.tio.websocket.client.WebSocketImpl
 
connect() - Method in class org.tio.websocket.client.WsClient
connect to server
connecteds - Variable in class org.tio.client.ClientTioConfig
 
CONNECTING - Static variable in interface org.tio.websocket.client.WebSocket
 
Connection - Static variable in class org.tio.http.common.HeaderName
 
Connection() - Constructor for class org.tio.http.common.HeaderValue.Connection
 
Connection - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Connection - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
ConnectionCompletionHandler - Class in org.tio.client
 
ConnectionCompletionHandler() - Constructor for class org.tio.client.ConnectionCompletionHandler
 
ConnectionCompletionVo - Class in org.tio.client
 
ConnectionCompletionVo() - Constructor for class org.tio.client.ConnectionCompletionVo
 
ConnectionCompletionVo(ClientChannelContext, TioClient, boolean, AsynchronousSocketChannel, Node, String, Integer) - Constructor for class org.tio.client.ConnectionCompletionVo
 
connections - Variable in class org.tio.core.TioConfig
 
Console - Class in org.tio.webpack.model
 
Console() - Constructor for class org.tio.webpack.model.Console
 
Const - Interface in org.tio.flash.policy.server
 
contains(T[], T) - Static method in class org.tio.utils.hutool.ArrayUtil
数组中是否包含元素
contains(Pattern, String) - Static method in class org.tio.utils.hutool.ReUtil
指定内容中是否有表达式匹配的内容
contains(CharSequence, char) - Static method in class org.tio.utils.hutool.StrUtil
指定字符是否在字符串中出现过
containsAny(CharSequence, CharSequence...) - Static method in class org.tio.utils.hutool.StrUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串
containsIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
是否包含特定字符,忽略大小写,如果给定两个参数都为null,返回true
containsKey(Object) - Method in class org.tio.utils.hutool.CustomKeyMap
 
containsKey(String) - Static method in class org.tio.utils.jfinal.P
 
containsKey(String) - Method in class org.tio.utils.jfinal.Prop
 
Content_Disposition - Static variable in class org.tio.http.common.HeaderName
 
Content_Disposition - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
Content-Disposition: attachment;filename=FileName.txt 文件下载
Content_Disposition - Static variable in interface org.tio.http.common.HttpMultiBodyDecoder.MultiBodyHeaderKey
 
Content_Encoding - Static variable in class org.tio.http.common.HeaderName
 
Content_Encoding() - Constructor for class org.tio.http.common.HeaderValue.Content_Encoding
 
Content_Encoding - Static variable in interface org.tio.http.common.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 class org.tio.http.common.HeaderName
 
Content_Length - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Content_Length - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
CONTENT_TYPE - Static variable in class org.tio.http.common.HeaderName
 
Content_Type - Static variable in class org.tio.http.common.HeaderName
 
Content_Type() - Constructor for class org.tio.http.common.HeaderValue.Content_Type
 
Content_Type - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Content_Type - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
表示后面的文档属于什么MIME类型。Servlet默认为text/plain,但通常需要显式地指定为text/html。 由于经常要设置Content-Type,因此HttpServletResponse提供了一个专用的方法setContentType。
Content_Type - Static variable in interface org.tio.http.common.HttpMultiBodyDecoder.MultiBodyHeaderKey
 
ControllerFactory - Interface in org.tio.http.server.mvc.intf
 
convert(Packet, ChannelContext) - Method in interface org.tio.core.PacketConverter
 
convert(Object) - Method in interface org.tio.utils.convert.Converter
 
convert(Class<?>, String) - Static method in class org.tio.utils.hutool.StrUtil
 
convert(Class<?>, String[]) - Static method in class org.tio.utils.hutool.StrUtil
 
Converter<T> - Interface in org.tio.utils.convert
 
Cookie - Class in org.tio.http.common
部分代码参考了: https://github.com/helyho/Voovan
Cookie(String, String, String, Long) - Constructor for class org.tio.http.common.Cookie
创建一个 Cookie
Cookie - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
copy(ByteBuffer, int, ByteBuffer, int, int) - Static method in class org.tio.core.utils.ByteBufferUtils
 
copy(ByteBuffer, int, int) - Static method in class org.tio.core.utils.ByteBufferUtils
 
copy(ByteBuffer) - Static method in class org.tio.core.utils.ByteBufferUtils
 
copy(InputStream, OutputStream, int) - Static method in class org.tio.utils.IoUtils
 
copy(InputStream, OutputStream) - Static method in class org.tio.utils.IoUtils
 
copy() - Method in class org.tio.utils.lock.MapWithLock
 
copyLarge(InputStream, OutputStream, byte[]) - Static method in class org.tio.utils.IoUtils
 
copyLarge(InputStream, OutputStream) - Static method in class org.tio.utils.IoUtils
 
CORE_POOL_SIZE - Static variable in class org.tio.utils.Threads
 
count - Static variable in class org.tio.flash.policy.server.FlashPolicyServerStarter
 
count - Variable in class org.tio.http.server.stat.ip.path.IpAccessStat
这个ip访问的次数
count - Variable in class org.tio.http.server.stat.ip.path.IpPathAccessStat
这个ip访问这个路径的次数
count - Variable in class org.tio.http.server.stat.token.TokenAccessStat
这个token访问的次数
count - Variable in class org.tio.http.server.stat.token.TokenPathAccessStat
这个token访问这个路径的次数
count(Pattern, String) - Static method in class org.tio.utils.hutool.ReUtil
计算指定字符串中,匹配pattern的个数
CR - Static variable in interface org.tio.utils.SysConst
\r
CR_ - Static variable in interface org.tio.utils.SysConst
 
CR_LF - Static variable in interface org.tio.utils.SysConst
 
CR_LF_CR_LF - Static variable in interface org.tio.utils.SysConst
 
create(String) - Static method in class org.tio.http.common.session.limiter.SessionRateVo
 
create() - Method in interface org.tio.utils.cache.FirsthandCreater
 
create(String) - Static method in class org.tio.websocket.client.WsClient
To create a WsClient.
create(String, Map<String, String>) - Static method in class org.tio.websocket.client.WsClient
To create a WsClient.
create(String, WsClientConfig) - Static method in class org.tio.websocket.client.WsClient
To create a WsClient.
create(String, Map<String, String>, WsClientConfig) - Static method in class org.tio.websocket.client.WsClient
To create a WsClient.
createClientNode(AsynchronousSocketChannel) - Method in class org.tio.client.ClientChannelContext
 
createClientNode(AsynchronousSocketChannel) - Method in class org.tio.core.ChannelContext
创建Node
createClientNode(AsynchronousSocketChannel) - Method in class org.tio.server.ServerChannelContext
 
createConfiguration(HttpConfig, String) - Method in interface org.tio.http.common.view.freemarker.ConfigurationCreater
 
createContainers(String) - Static method in class org.tio.utils.zk.Zk
 
createLoadingCache(String, Long, Long, Integer, Integer, boolean) - Static method in class org.tio.utils.caffeine.CaffeineUtils
 
createLoadingCache(String, Long, Long, Integer, Integer, boolean, RemovalListener<K, V>) - Static method in class org.tio.utils.caffeine.CaffeineUtils
 
createLoadingCache(Integer, Long, Long, Integer, Integer, boolean) - Static method in class org.tio.utils.guava.GuavaUtils
 
createLoadingCache(Integer, Long, Long, Integer, Integer, boolean, RemovalListener<K, V>) - Static method in class org.tio.utils.guava.GuavaUtils
 
createOrUpdate(String, String, CreateMode) - Static method in class org.tio.utils.zk.Zk
 
createOrUpdate(String, byte[], CreateMode) - Static method in class org.tio.utils.zk.Zk
 
createSession(HttpRequest) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
创建httpsession
createSet(Comparator<ChannelContext>) - Static method in class org.tio.core.maintain.MaintainUtils
 
CRLF - Static variable in interface org.tio.utils.SysConst
\r\n
crossDomain() - Method in class org.tio.http.common.HttpResponse
支持跨域
css(HttpRequest, String) - Static method in class org.tio.http.server.util.Resps
构建css响应 Content-Type: text/css;charset=utf-8
css(HttpRequest, String, String) - Static method in class org.tio.http.server.util.Resps
构建css响应 Content-Type: text/css;charset=utf-8
currDateString() - Static method in class org.tio.http.common.utils.HttpDateTimer
 
currentTimeMillis() - Static method in class org.tio.utils.SystemTimer
Current currTime millis.
currTime - Static variable in class org.tio.utils.SystemTimer
 
CurrUseridGetter - Interface in org.tio.http.server.intf
 
customKey(Object) - Method in class org.tio.utils.hutool.CaseInsensitiveMap
将Key转为小写
customKey(Object) - Method in class org.tio.utils.hutool.CustomKeyMap
自定义键
CustomKeyMap<K,V> - Class in org.tio.utils.hutool
自定义键的Map,默认HashMap实现
CustomKeyMap() - Constructor for class org.tio.utils.hutool.CustomKeyMap
构造
CustomKeyMap(int, float) - Constructor for class org.tio.utils.hutool.CustomKeyMap
构造
CustomKeyMap(int) - Constructor for class org.tio.utils.hutool.CustomKeyMap
构造
CustomKeyMap(Map<? extends K, ? extends V>) - Constructor for class org.tio.utils.hutool.CustomKeyMap
构造
CustomKeyMap(float, Map<? extends K, ? extends V>) - Constructor for class org.tio.utils.hutool.CustomKeyMap
构造

D

data(Object) - Method in class org.tio.utils.resp.Resp
 
data(Object) - Method in class org.tio.utils.resp.RespVo
 
data - Variable in class org.tio.websocket.client.event.MessageEvent
 
Date - Static variable in class org.tio.http.common.HeaderName
 
Date - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
当前的GMT时间。你可以用setDateHeader来设置这个头以避免转换时间格式的麻烦。
DateFmt - Class in org.tio.utils.date
弄个全局的日期格式化类,这里的对象是线程安全的
DateFmt() - Constructor for class org.tio.utils.date.DateFmt
 
DatePattern - Class in org.tio.utils.hutool
 
DatePattern() - Constructor for class org.tio.utils.hutool.DatePattern
 
DateUnit - Enum in org.tio.utils.hutool
日期时间单位,每个单位都是以毫秒为基数
DateUtil - Class in org.tio.utils.hutool
 
DateUtil() - Constructor for class org.tio.utils.hutool.DateUtil
 
DAY_1 - Static variable in class org.tio.utils.time.Time
一天
daysBetween(Date, Date) - Static method in class org.tio.utils.hutool.DateUtil
两个日期相隔的天数
debug(String, String, String...) - Static method in class org.tio.core.ssl.facade.SSLLog
 
debug - Variable in class org.tio.core.TioConfig
 
decode(ByteBuffer, int, int, int, ChannelContext) - Method in interface org.tio.core.intf.AioHandler
根据ByteBuffer解码成业务需要的Packet对象.
decode() - Method in class org.tio.core.task.DecodeRunnable
 
decode(ByteBuffer, int, int, int, ChannelContext) - Method in class org.tio.flash.policy.server.FlashPolicyServerAioHandler
decode(HttpRequest, RequestLine, byte[], String, ChannelContext, HttpConfig) - Static method in class org.tio.http.common.HttpMultiBodyDecoder
 
decode(ByteBuffer, int, int, int, ChannelContext, HttpConfig) - Static method in class org.tio.http.common.HttpRequestDecoder
 
decode(ByteBuffer, int, int, int, ChannelContext) - Method in class org.tio.http.server.HttpServerAioHandler
 
decode(String) - Static method in class org.tio.utils.BinaryUtils
 
decode(ByteBuffer, int, int, int, ChannelContext) - Static method in class org.tio.websocket.client.httpclient.HttpResponseDecoder
 
decode(ByteBuffer, int, int, int, ChannelContext) - Method in class org.tio.websocket.client.WsClientAioHander
 
decode(ByteBuffer, ChannelContext) - Static method in class org.tio.websocket.common.WsClientDecoder
 
decode(ByteBuffer, ChannelContext) - Static method in class org.tio.websocket.common.WsServerDecoder
 
decode(ByteBuffer, int, int, int, ChannelContext) - Method in class org.tio.websocket.server.WsServerAioHandler
 
decodeFailCount - Variable in class org.tio.core.stat.ChannelStat
本次解码失败的次数
decodeParams(Map<String, Object[]>, String, String, ChannelContext) - Static method in class org.tio.http.common.HttpRequestDecoder
 
decodeParams(Map<String, Object[]>, String, String, ChannelContext) - Static method in class org.tio.websocket.client.httpclient.HttpResponseDecoder
 
decodeRunnable - Variable in class org.tio.core.ChannelContext
 
DecodeRunnable - Class in org.tio.core.task
解码任务对象,一个连接对应一个本对象
DecodeRunnable(ChannelContext, Executor) - Constructor for class org.tio.core.task.DecodeRunnable
 
decorate(Cookie, HttpRequest, String) - Method in class org.tio.http.server.session.DomainMappingSessionCookieDecorator
 
decorate(Cookie, HttpRequest, String) - Method in class org.tio.http.server.session.DomainSessionCookieDecorator
 
decorate(Cookie, HttpRequest, String) - Method in interface org.tio.http.server.session.SessionCookieDecorator
DefaultHttpRequestHandler根据host字段创建了用于session的cookie,用户可以通过本方法定制一下Cookie, 譬如把cookie的域名由www.baidu.com改成.baidu.com
decorate(CuratorFramework) - Method in interface org.tio.utils.zk.ClientDecorator
 
decrypt(ByteBuffer) - Method in interface org.tio.core.ssl.facade.ISSLFacade
解密
decrypt(ByteBuffer) - Method in class org.tio.core.ssl.facade.SSLFacade
 
decrypt(String, String, String) - Static method in class org.tio.utils.crypto.ACEUtils
解密
DEFAULT_CHARSET - Static variable in class org.tio.utils.freemarker.FreemarkerUtils
 
DEFAULT_CHARSET - Static variable in interface org.tio.utils.SysConst
 
DEFAULT_ENCODING - Static variable in interface org.tio.utils.SysConst
 
DEFAULT_SESSION_TIMEOUT - Static variable in class org.tio.http.common.HttpConfig
session默认的超时时间,单位:秒
DEFAULT_TYPE - Static variable in class org.tio.http.common.HeaderValue.Content_Type
 
DefaultAioListener - Class in org.tio.core
 
DefaultAioListener() - Constructor for class org.tio.core.DefaultAioListener
 
DefaultClientAioListener - Class in org.tio.client
 
DefaultClientAioListener() - Constructor for class org.tio.client.DefaultClientAioListener
 
DefaultControllerFactory - Class in org.tio.http.server.mvc
 
DefaultHttpRequestHandler - Class in org.tio.http.server.handler
 
DefaultHttpRequestHandler(HttpConfig, Class<?>) - Constructor for class org.tio.http.server.handler.DefaultHttpRequestHandler
 
DefaultHttpRequestHandler(HttpConfig, Class<?>, ControllerFactory) - Constructor for class org.tio.http.server.handler.DefaultHttpRequestHandler
 
DefaultHttpRequestHandler(HttpConfig, Class<?>[]) - Constructor for class org.tio.http.server.handler.DefaultHttpRequestHandler
 
DefaultHttpRequestHandler(HttpConfig, Class<?>[], ControllerFactory) - Constructor for class org.tio.http.server.handler.DefaultHttpRequestHandler
 
DefaultHttpRequestHandler(HttpConfig, String) - Constructor for class org.tio.http.server.handler.DefaultHttpRequestHandler
 
DefaultHttpRequestHandler(HttpConfig, String, ControllerFactory) - Constructor for class org.tio.http.server.handler.DefaultHttpRequestHandler
 
DefaultHttpRequestHandler(HttpConfig, String[]) - Constructor for class org.tio.http.server.handler.DefaultHttpRequestHandler
 
DefaultHttpRequestHandler(HttpConfig, String[], ControllerFactory) - Constructor for class org.tio.http.server.handler.DefaultHttpRequestHandler
 
DefaultHttpRequestHandler(HttpConfig, Routes) - Constructor for class org.tio.http.server.handler.DefaultHttpRequestHandler
 
DefaultIpStatListener - Class in org.tio.core.stat
 
DefaultOnCloseListener - Class in org.tio.core.ssl.facade
By default do nothing on the close event.
DefaultOnCloseListener() - Constructor for class org.tio.core.ssl.facade.DefaultOnCloseListener
 
DefaultRemovalListener<K,V> - Class in org.tio.utils.cache.caffeine
 
DefaultRemovalListener(String) - Constructor for class org.tio.utils.cache.caffeine.DefaultRemovalListener
 
DefaultServerAioListener - Class in org.tio.server
 
DefaultServerAioListener() - Constructor for class org.tio.server.DefaultServerAioListener
 
DefaultStatPathFilter - Class in org.tio.http.server.stat
 
DefaultStatPathFilter() - Constructor for class org.tio.http.server.stat.DefaultStatPathFilter
 
DefaultTaskHandler - Class in org.tio.core.ssl.facade
 
DefaultTaskHandler() - Constructor for class org.tio.core.ssl.facade.DefaultTaskHandler
 
DefaultThreadFactory - Class in org.tio.utils.thread.pool
 
DefaultTioUuid - Class in org.tio.core
 
DefaultTioUuid() - Constructor for class org.tio.core.DefaultTioUuid
 
DefaultTokenGetter - Class in org.tio.http.server.stat.token
 
DefaultTokenGetter() - Constructor for class org.tio.http.server.stat.token.DefaultTokenGetter
 
del(File) - Static method in class org.tio.utils.hutool.FileUtil
删除文件或者文件夹
注意:删除文件夹时不会判断文件夹是否为空,如果不空则递归删除子文件或文件夹
某个文件删除失败会终止删除操作
delAll(Pattern, String) - Static method in class org.tio.utils.hutool.ReUtil
删除匹配的全部内容
delete(String) - Static method in class org.tio.utils.zk.Zk
 
deleteTempDir(ChannelContext) - Static method in class org.tio.core.maintain.MaintainUtils
 
delFirst(Pattern, String) - Static method in class org.tio.utils.hutool.ReUtil
删除匹配的第一个内容
desc - Variable in class org.tio.http.common.ResponseLine
 
description - Variable in enum org.tio.http.common.HttpResponseStatus
 
DispatcheHttpRequestHandler - Class in org.tio.http.server.handler
 
DispatcheHttpRequestHandler() - Constructor for class org.tio.http.server.handler.DispatcheHttpRequestHandler
 
doAfterCreated(HttpRequest, HttpSession, HttpConfig) - Method in interface org.tio.http.server.intf.HttpSessionListener
 
doAfterCreated(HttpRequest, HttpSession, HttpConfig) - Method in interface org.tio.http.server.session.HttpSessionListener
 
doAfterHandler(HttpRequest, RequestLine, HttpResponse, long) - Method in interface org.tio.http.server.intf.HttpServerInterceptor
在执行org.tio.http.server.handler.IHttpRequestHandler.handler()后会调用此方法,业务层可以统一在这里给HttpResponse作一些修饰
doBeforeHandler(HttpRequest, RequestLine, HttpResponse) - Method in interface org.tio.http.server.intf.HttpServerInterceptor
在执行org.tio.http.server.handler.IHttpRequestHandler.handler()前会先调用这个方法
如果返回了HttpResponse对象,则后续都不再执行,表示调用栈就此结束
DOC - Static variable in interface org.tio.webpack.compress.ResCompressor
 
DomainMappingSessionCookieDecorator - Class in org.tio.http.server.session
 
DomainMappingSessionCookieDecorator(Map<String, String>) - Constructor for class org.tio.http.server.session.DomainMappingSessionCookieDecorator
 
DomainMappingSessionCookieDecorator() - Constructor for class org.tio.http.server.session.DomainMappingSessionCookieDecorator
 
DomainSessionCookieDecorator - Class in org.tio.http.server.session
 
DomainSessionCookieDecorator(String) - Constructor for class org.tio.http.server.session.DomainSessionCookieDecorator
 
done() - Method in interface org.tio.core.ssl.facade.ITasks
 
done() - Method in class org.tio.core.ssl.facade.Tasks
 
durationList - Variable in class org.tio.core.maintain.IpStats
 
durationList - Variable in class org.tio.http.server.stat.ip.path.IpPathAccessStats
时长段列表
durationList - Variable in class org.tio.http.server.stat.token.TokenPathAccessStats
时长段列表

E

edit(T) - Method in interface org.tio.utils.hutool.Editor
修改过滤后的结果
Editor<T> - Interface in org.tio.utils.hutool
编辑器接口,常用于对于集合中的元素做统一编辑
此编辑器两个作用:
EMAIL - Static variable in class org.tio.utils.hutool.PatternPool
邮件,符合RFC 5322规范,正则来自:http://emailregex.com/
EMPTY - Static variable in class org.tio.utils.hutool.StrUtil
 
encode(Packet, TioConfig, ChannelContext) - Method in interface org.tio.core.intf.AioHandler
编码
encode(Packet, TioConfig, ChannelContext) - Method in class org.tio.flash.policy.server.FlashPolicyServerAioHandler
 
encode(HttpResponse, TioConfig, ChannelContext) - Static method in class org.tio.http.common.HttpResponseEncoder
 
encode(Packet, TioConfig, ChannelContext) - Method in class org.tio.http.server.HttpServerAioHandler
 
encode(int) - Static method in class org.tio.utils.BinaryUtils
根据ID生成六位随机码
encode(HttpRequest, TioConfig, ChannelContext) - Static method in class org.tio.websocket.client.httpclient.HttpRequestEncoder
 
encode(Packet, TioConfig, ChannelContext) - Method in class org.tio.websocket.client.WsClientAioHander
 
encode(WsPacket, TioConfig, ChannelContext) - Static method in class org.tio.websocket.common.WsClientEncoder
 
encode(WsResponse, TioConfig, ChannelContext) - Static method in class org.tio.websocket.common.WsServerEncoder
 
encode(Packet, TioConfig, ChannelContext) - Method in class org.tio.websocket.server.WsServerAioHandler
 
EncodedPacket - Class in org.tio.core.intf
 
EncodedPacket(byte[]) - Constructor for class org.tio.core.intf.EncodedPacket
 
encrypt(SslVo) - Method in interface org.tio.core.ssl.facade.ISSLFacade
加密
encrypt(SslVo) - Method in class org.tio.core.ssl.facade.SSLFacade
 
encrypt(String, String, String) - Static method in class org.tio.utils.crypto.ACEUtils
加密
endWith(CharSequence, char) - Static method in class org.tio.utils.hutool.StrUtil
字符串是否以给定字符结尾
endWith(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串结尾
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
endWith(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串结尾
endWithIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串结尾,忽略大小写
EnumerableValue() - Constructor for class org.tio.http.common.HeaderValue.EnumerableValue
 
EOF - Static variable in class org.tio.utils.IoUtils
 
EQ - Static variable in interface org.tio.utils.SysConst
=
equals(Object) - Method in class org.tio.core.ChannelContext
 
equals(Object) - Method in class org.tio.core.Node
 
equals(Object) - Method in class org.tio.http.common.HeaderName
 
equals(Object) - Method in class org.tio.http.common.HeaderValue
 
equals(Object) - Method in class org.tio.utils.cache.redis.ExpireVo
 
equals(Class<?>, String, boolean) - Static method in class org.tio.utils.hutool.ClassUtil
指定类是否与给定的类名相同
equals(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
比较两个字符串(大小写敏感)。
equals(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
比较两个字符串是否相等。
equalsIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
比较两个字符串(大小写不敏感)。
ErrorEvent - Class in org.tio.websocket.client.event
 
ErrorEvent(String) - Constructor for class org.tio.websocket.client.event.ErrorEvent
 
escape(char) - Static method in class org.tio.utils.hutool.ReUtil
转义字符,将正则的关键字转义
escape(String) - Static method in class org.tio.utils.hutool.ReUtil
转义字符串,将正则的关键字转义
execute(JobExecutionContext) - Method in class org.tio.utils.quartz.AbstractJobWithLog
 
execute() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
把本任务对象提交到线程池去执行
execute(Runnable) - Method in class org.tio.utils.thread.pool.SynThreadPoolExecutor
 
executed - Variable in class org.tio.utils.thread.pool.AbstractSynRunnable
是否已经提交到线程池了
executor - Variable in class org.tio.utils.thread.pool.AbstractSynRunnable
 
exists(String) - Static method in class org.tio.utils.zk.Zk
 
Expires - Static variable in class org.tio.http.common.HeaderName
 
Expires - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
应该在什么时候认为文档已经过期,从而不再缓存它?
ExpireVo - Class in org.tio.utils.cache.redis
 
ExpireVo(String, String, long) - Constructor for class org.tio.utils.cache.redis.ExpireVo
 
extName(File) - Static method in class org.tio.utils.hutool.FileUtil
获取文件扩展名,扩展名不带“.”
extName(String) - Static method in class org.tio.utils.hutool.FileUtil
获得文件的扩展名,扩展名不带“.”

F

fail() - Static method in class org.tio.utils.resp.Resp
 
fail(String) - Static method in class org.tio.utils.resp.Resp
 
fail() - Static method in class org.tio.utils.resp.RespVo
 
fail(String) - Static method in class org.tio.utils.resp.RespVo
 
fail() - Static method in class org.tio.utils.ui.layui.table.LayuiPage
 
failed(Throwable, ConnectionCompletionVo) - Method in class org.tio.client.ConnectionCompletionHandler
 
failed(Throwable, ByteBuffer) - Method in class org.tio.core.ReadCompletionHandler
 
failed(Throwable, WriteCompletionHandler.WriteCompletionVo) - Method in class org.tio.core.WriteCompletionHandler
 
failed(Throwable, TioServer) - Method in class org.tio.server.AcceptCompletionHandler
 
FALSE - Static variable in class org.tio.http.common.HeaderValue
 
FALSE - Static variable in class org.tio.http.common.HeaderValue.Tio_From_Cache
 
FastByteArrayOutputStream - Class in org.tio.utils.hutool
基于快速缓冲FastByteBuffer的OutputStream,随着数据的增长自动扩充缓冲区
FastByteArrayOutputStream() - Constructor for class org.tio.utils.hutool.FastByteArrayOutputStream
 
FastByteArrayOutputStream(int) - Constructor for class org.tio.utils.hutool.FastByteArrayOutputStream
 
FastByteBuffer - Class in org.tio.utils.hutool
代码移植自blade
快速缓冲,将数据存放在缓冲集中,取代以往的单一数组
FastByteBuffer() - Constructor for class org.tio.utils.hutool.FastByteBuffer
 
FastByteBuffer(int) - Constructor for class org.tio.utils.hutool.FastByteBuffer
 
file(HttpRequest, File) - Static method in class org.tio.http.server.util.Resps
根据文件创建响应
file(HttpRequest, String) - Static method in class org.tio.http.server.util.Resps
 
file(String) - Static method in class org.tio.utils.hutool.FileUtil
创建File对象,自动识别相对或绝对路径,相对路径将自动从ClassPath下寻找
FileCache - Class in org.tio.http.server.handler
 
FileCache() - Constructor for class org.tio.http.server.handler.FileCache
 
FileCache(HttpResponse, long) - Constructor for class org.tio.http.server.handler.FileCache
 
FileChangeListener - Class in org.tio.http.server.handler
 
FileUtil - Class in org.tio.utils.hutool
 
FileUtil() - Constructor for class org.tio.utils.hutool.FileUtil
 
fill(String, char, int, boolean) - Static method in class org.tio.utils.hutool.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
fill(JSONObject) - Static method in class org.tio.webpack.model.Compress
 
fill(JSONObject) - Static method in class org.tio.webpack.model.Console
 
fillAfter(String, char, int) - Static method in class org.tio.utils.hutool.StrUtil
将已有字符串填充为规定长度,如果已有字符串超过这个长度则返回这个字符串
字符填充于字符串后
fillList(JSONArray) - Static method in class org.tio.webpack.model.Compress
 
fillList(JSONArray) - Static method in class org.tio.webpack.model.Console
 
filter(ChannelContext) - Method in interface org.tio.core.ChannelContextFilter
过滤ChannelContext
filter(String, HttpRequest, HttpResponse) - Method in class org.tio.http.server.stat.DefaultStatPathFilter
 
filter(String, HttpRequest, HttpResponse) - Method in interface org.tio.http.server.stat.StatPathFilter
 
filter(T[], Editor<T>) - Static method in class org.tio.utils.hutool.ArrayUtil
过滤
过滤过程通过传入的Editor实现来返回需要的元素内容,这个Editor实现可以实现以下功能:
filter(T[], Filter<T>) - Static method in class org.tio.utils.hutool.ArrayUtil
过滤
过滤过程通过传入的Filter实现来过滤返回需要的元素内容,这个Editor实现可以实现以下功能:
Filter<T> - Interface in org.tio.utils.hutool
过滤器接口
find(TioConfig, String) - Method in class org.tio.core.maintain.BsIds
 
find(String) - Method in class org.tio.core.maintain.ClientNodes
 
find(String, int) - Method in class org.tio.core.maintain.ClientNodes
 
find(TioConfig, String) - Method in class org.tio.core.maintain.Ids
Find.
find(TioConfig, String) - Method in class org.tio.core.maintain.Tokens
Find.
find(TioConfig, String) - Method in class org.tio.core.maintain.Users
Find.
findAll(String, String, int) - Static method in class org.tio.utils.hutool.ReUtil
取得内容中匹配的所有结果
findAll(String, String, int, T) - Static method in class org.tio.utils.hutool.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, String, int) - Static method in class org.tio.utils.hutool.ReUtil
取得内容中匹配的所有结果
findAll(Pattern, String, int, T) - Static method in class org.tio.utils.hutool.ReUtil
取得内容中匹配的所有结果
findAllGroup0(String, String) - Static method in class org.tio.utils.hutool.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
findAllGroup0(Pattern, String) - Static method in class org.tio.utils.hutool.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组0的内容
findAllGroup1(String, String) - Static method in class org.tio.utils.hutool.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
findAllGroup1(Pattern, String) - Static method in class org.tio.utils.hutool.ReUtil
取得内容中匹配的所有结果,获得匹配的所有结果中正则对应分组1的内容
FirsthandCreater<T extends Serializable> - Interface in org.tio.utils.cache
一手对象(即非缓存对象)创建者
FlashPolicyPacket - Class in org.tio.flash.policy.server
 
FlashPolicyServerAioHandler - Class in org.tio.flash.policy.server
 
FlashPolicyServerAioHandler() - Constructor for class org.tio.flash.policy.server.FlashPolicyServerAioHandler
 
FlashPolicyServerStarter - Class in org.tio.flash.policy.server
 
FlashPolicyServerStarter() - Constructor for class org.tio.flash.policy.server.FlashPolicyServerStarter
 
FlashPolicyServerStarter.CheckRunnable - Class in org.tio.flash.policy.server
 
forClient() - Static method in class org.tio.core.ssl.SslConfig
给客户端用的
format() - Method in class org.tio.utils.hutool.BetweenFormater
格式化日期间隔输出
formatDateTime(Date) - Static method in class org.tio.utils.hutool.DateUtil
格式化日期时间
格式 yyyy-MM-dd HH:mm:ss
forNumber(int) - Static method in enum org.tio.core.PacketHandlerMode
 
forNumber(int) - Static method in enum org.tio.core.PacketSendMode
 
forNumber(int) - Static method in enum org.tio.core.SynPacketAction
 
forServer(String, String, String) - Static method in class org.tio.core.ssl.SslConfig
 
forServer(InputStream, InputStream, String) - Static method in class org.tio.core.ssl.SslConfig
给服务器用的
forward(String) - Method in class org.tio.http.common.HttpRequest
 
forward(HttpRequest, String) - Static method in class org.tio.http.server.util.Resps
 
FreemarkerConfig - Class in org.tio.http.common.view.freemarker
 
FreemarkerConfig(HttpConfig, ModelGenerator, String[], ConfigurationCreater) - Constructor for class org.tio.http.common.view.freemarker.FreemarkerConfig
 
FreemarkerUtils - Class in org.tio.utils.freemarker
这个代码在不违背开源协议的前提下摘自:https://gitee.com/sanluan/PublicCMS-preview/blob/master/publiccms-parent/publiccms-common/src/main/java/com/publiccms/common/tools/FreeMarkerUtils.java 感谢publiccms作者张向东同志^_^
FreemarkerUtils() - Constructor for class org.tio.utils.freemarker.FreemarkerUtils
 
from(Byte) - Static method in enum org.tio.core.ChannelContext.CloseCode
 
from(String) - Static method in class org.tio.http.common.HeaderName
 
from(String) - Static method in class org.tio.http.common.HeaderValue.EnumerableValue
 
from(String) - Static method in class org.tio.http.common.HeaderValue
 
from(String, String) - Static method in class org.tio.http.common.HeaderValue
 
from(String) - Static method in enum org.tio.http.common.Method
 
from(Integer) - Static method in enum org.tio.utils.cache.CacheChangeType
 
from(int) - Static method in enum org.tio.utils.resp.RespResult
 
fromBytes(byte[]) - Static method in class org.tio.websocket.common.WsRequest
 
fromBytes(byte[]) - Static method in class org.tio.websocket.common.WsResponse
 
fromExtension(String) - Static method in enum org.tio.http.common.MimeType
Gets the first matching mime-type for the given extension
fromList(List<T>, int, int) - Static method in class org.tio.utils.page.PageUtils
 
fromList(List<?>, int, int, Converter<T>) - Static method in class org.tio.utils.page.PageUtils
 
fromSet(Set<T>, int, int) - Static method in class org.tio.utils.page.PageUtils
 
fromSet(Set<?>, int, int, Converter<T>) - Static method in class org.tio.utils.page.PageUtils
 
fromSetWithLock(SetWithLock<T>, int, int) - Static method in class org.tio.utils.page.PageUtils
 
fromSetWithLock(SetWithLock<?>, int, int, Converter<T>) - Static method in class org.tio.utils.page.PageUtils
 
fromText(String, String) - Static method in class org.tio.websocket.common.WsRequest
 
fromText(String, String) - Static method in class org.tio.websocket.common.WsResponse
 
fromType(String) - Static method in enum org.tio.http.common.MimeType
Gets the first matching mime-type for the given type
FullWaitQueue<T> - Interface in org.tio.utils.queue
满员等待队列

G

GENERAL - Static variable in class org.tio.utils.hutool.PatternPool
英文字母 、数字和下划线
GENERAL_WITH_CHINESE - Static variable in class org.tio.utils.hutool.PatternPool
中文字、英文字母、数字和下划线
generate(HttpRequest) - Method in interface org.tio.http.common.view.ModelGenerator
 
generateFileByFile(String, String, Configuration, Object) - Static method in class org.tio.utils.freemarker.FreemarkerUtils
 
generateFileByFile(String, String, Configuration, Object, boolean) - Static method in class org.tio.utils.freemarker.FreemarkerUtils
 
generateFileByFile(String, String, Configuration, Object, boolean, boolean) - Static method in class org.tio.utils.freemarker.FreemarkerUtils
 
generateStringByPath(String, Configuration) - Static method in class org.tio.utils.freemarker.FreemarkerUtils
 
generateStringByPath(String, Configuration, Object) - Static method in class org.tio.utils.freemarker.FreemarkerUtils
 
generateStringByPath(Writer, String, Configuration, Object) - Static method in class org.tio.utils.freemarker.FreemarkerUtils
 
generateStringByString(String, Configuration, Object) - Static method in class org.tio.utils.freemarker.FreemarkerUtils
 
get() - Method in class org.tio.core.ChannelContext
等价于:getAttribute(DEFAULT_ATTUBITE_KEY)
等价于:getAttribute()
get(Long, ChannelContext) - Method in class org.tio.core.maintain.IpStats
根据ip获取IpStat,如果缓存中不存在,则创建
get(Long, ChannelContext, boolean) - Method in class org.tio.core.maintain.IpStats
根据ip获取IpStat,如果缓存中不存在,则根据forceCreate的值决定是否创建
get(byte[], int, int) - Static method in class org.tio.http.common.StrCache
 
get(String) - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
根据ip获取IpAccesspathStat,如果缓存中不存在,则创建
get(String, boolean) - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
根据ipAccessStat获取IpAccesspathStat,如果缓存中不存在,则根据forceCreate的值决定是否创建
get(Long, String, boolean) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
获取IpAccessStat
get(Long, String) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
获取IpAccessStat
get(String) - Method in class org.tio.http.server.stat.token.TokenAccessStat
根据token获取TokenAccesspathStat,如果缓存中不存在,则创建
get(String, boolean) - Method in class org.tio.http.server.stat.token.TokenAccessStat
根据tokenAccessStat获取TokenAccesspathStat,如果缓存中不存在,则根据forceCreate的值决定是否创建
get(Long, String, String, String, boolean) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
获取TokenAccessStat
get(Long, String, String, String) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
获取TokenAccessStat
get(String) - Method in class org.tio.utils.cache.AbsCache
根据key获取value
get(String, Class<T>) - Method in class org.tio.utils.cache.AbsCache
根据key获取value
get(Long, Long, String, FirsthandCreater<T>) - Static method in class org.tio.utils.cache.CacheUtils
根据cacheKey从缓存中获取对象,如果缓存中没有该key对象,则用firsthandCreater获取对象,并将对象用cacheKey存于cache中
get(Long, Long, String, boolean, FirsthandCreater<T>) - Static method in class org.tio.utils.cache.CacheUtils
根据cacheKey从缓存中获取对象,如果缓存中没有该key对象,则用firsthandCreater获取对象,并将对象用cacheKey存于cache中 timeToLiveSeconds和timeToIdleSeconds一个传null一个传值
get(ICache, String, FirsthandCreater<T>) - Static method in class org.tio.utils.cache.CacheUtils
根据cacheKey从缓存中获取对象,如果缓存中没有该key对象,则用firsthandCreater获取对象,并将对象用cacheKey存于cache中
get(ICache, String, boolean, FirsthandCreater<T>) - Static method in class org.tio.utils.cache.CacheUtils
根据cacheKey从缓存中获取对象,如果缓存中没有该key对象,则用firsthandCreater获取对象,并将对象用cacheKey存于cache中
get(ICache, String, boolean, FirsthandCreater<T>, Long) - Static method in class org.tio.utils.cache.CacheUtils
 
get(String) - Method in interface org.tio.utils.cache.ICache
根据key获取value
get(String, Class<T>) - Method in interface org.tio.utils.cache.ICache
根据key获取value
get(String, Map<String, String>) - Static method in class org.tio.utils.http.HttpUtils
 
get(String) - Static method in class org.tio.utils.http.HttpUtils
 
get(Object) - Method in class org.tio.utils.hutool.CustomKeyMap
 
get(int) - Method in class org.tio.utils.hutool.FastByteBuffer
根据索引位返回一个字节
get(Pattern, String, int) - Static method in class org.tio.utils.hutool.ReUtil
获得匹配的字符串
get(K) - Method in class org.tio.utils.hutool.SimpleCache
从缓存池中查找值
get(String) - Static method in class org.tio.utils.jfinal.P
 
get(String, String) - Static method in class org.tio.utils.jfinal.P
 
get(String) - Method in class org.tio.utils.jfinal.Prop
 
get(String, String) - Method in class org.tio.utils.jfinal.Prop
 
get(K) - Method in class org.tio.utils.lock.MapWithLock
 
get(String) - Method in class org.tio.utils.prop.MapWithLockPropSupport
同:getAttribute(String key)
get(String) - Static method in class org.tio.webpack.compress.ResCompressorFactory
 
get(String, String) - Static method in class org.tio.websocket.client.httpclient.ClientHttpRequest
 
getAbsolutePath(String) - Static method in class org.tio.utils.hutool.ResourceUtil
获取ClassPath绝对路径
getAcceptCompletionHandler() - Method in class org.tio.server.ServerTioConfig
 
getAccepted() - Method in class org.tio.server.ServerGroupStat
 
getAccessCount() - Method in class org.tio.http.common.session.limiter.SessionRateVo
 
getAioHandler() - Method in class org.tio.client.ClientTioConfig
 
getAioHandler() - Method in class org.tio.core.TioConfig
获取AioHandler对象
getAioHandler() - Method in class org.tio.server.ServerTioConfig
 
getAioListener() - Method in class org.tio.client.ClientTioConfig
 
getAioListener() - Method in class org.tio.core.TioConfig
获取AioListener对象
getAioListener() - Method in class org.tio.server.ServerTioConfig
 
getAll() - Method in class org.tio.core.maintain.IpBlacklist
 
getAll(TioConfig) - Static method in class org.tio.core.Tio
获取所有连接,包括当前处于断开状态的
getAll(TioConfig) - Static method in class org.tio.core.Tio.IpBlacklist
获取ip黑名单列表
getAll() - Static method in class org.tio.core.Tio.IpBlacklist
获取全局黑名单
getAllChannelContexts(TioConfig) - Static method in class org.tio.core.Tio
Deprecated.
用getAll(TioConfig tioConfig)
getAllConnectedsChannelContexts(ClientTioConfig) - Static method in class org.tio.core.Tio
Deprecated.
用getAllConnecteds(ClientTioConfig clientTioConfig)
getAllGroups(Pattern, String) - Static method in class org.tio.utils.hutool.ReUtil
获得匹配的字符串匹配到的所有分组
getAllGroups(Pattern, String, boolean) - Static method in class org.tio.utils.hutool.ReUtil
获得匹配的字符串匹配到的所有分组
getAllowDomains() - Method in class org.tio.http.common.HttpConfig
 
getAllWarnCount() - Method in class org.tio.monitor.RateLimiterWrap
 
getAsynchronousSocketChannel() - Method in class org.tio.client.ConnectionCompletionVo
 
getAttribute() - Method in class org.tio.core.ChannelContext
Deprecated.
建议使用get()
getAttribute(String) - Method in class org.tio.http.common.HttpPacket
获取属性
getAttribute(String, Serializable) - Method in class org.tio.http.common.HttpPacket
 
getAttribute(String) - Method in class org.tio.http.common.session.HttpSession
获取会话属性
getAttribute(String, Class<T>) - Method in class org.tio.http.common.session.HttpSession
 
getAttribute(String, Class<T>, T, HttpConfig) - Method in class org.tio.http.common.session.HttpSession
 
getAttribute(String) - Method in interface org.tio.utils.prop.IPropSupport
获取属性
getAttribute(String) - Method in class org.tio.utils.prop.MapWithLockPropSupport
 
getBetweenMs() - Method in class org.tio.utils.hutool.BetweenFormater
获得 时长毫秒数
getBindIp() - Method in class org.tio.client.ClientChannelContext
 
getBindIp() - Method in class org.tio.client.ConnectionCompletionVo
 
getBindIp() - Method in class org.tio.http.common.HttpConfig
 
getBindPort() - Method in class org.tio.client.ClientChannelContext
 
getBindPort() - Method in class org.tio.client.ConnectionCompletionVo
 
getBindPort() - Method in class org.tio.http.common.HttpConfig
 
getBody() - Method in class org.tio.http.common.HttpPacket
 
getBody() - Method in class org.tio.websocket.common.WsPacket
 
getBodyFormat() - Method in class org.tio.http.common.HttpRequest
 
getBodys() - Method in class org.tio.websocket.common.WsPacket
 
getBodyString() - Method in class org.tio.http.common.HttpRequest
 
getBoolean(String) - Static method in class org.tio.utils.jfinal.P
 
getBoolean(String, Boolean) - Static method in class org.tio.utils.jfinal.P
 
getBoolean(String) - Method in class org.tio.utils.jfinal.Prop
 
getBoolean(String, Boolean) - Method in class org.tio.utils.jfinal.Prop
 
getBsId() - Method in class org.tio.core.ChannelContext
 
getBucket(String) - Method in class org.tio.utils.cache.redis.RedisCache
 
getByBsId(TioConfig, String) - Static method in class org.tio.core.Tio
根据业务id找ChannelContext
getByChannelContextId(TioConfig, String) - Static method in class org.tio.core.Tio
根据ChannelContext.id获取ChannelContext
getByClientNode(TioConfig, String, Integer) - Static method in class org.tio.core.Tio
根据clientip和clientport获取ChannelContext
getByGroup(TioConfig, String) - Static method in class org.tio.core.Tio
获取一个组的所有客户端
getByIp(TioConfig, String) - Static method in class org.tio.core.Tio
根据客户端ip获取SetWithLock
getByte(String) - Method in class org.tio.http.common.HttpRequest
 
getByteBuffer() - Method in class org.tio.core.ssl.SslVo
 
getByteCount() - Method in class org.tio.core.intf.Packet
 
getByteOrder() - Method in class org.tio.core.TioConfig
 
getBytes() - Method in class org.tio.core.intf.EncodedPacket
 
getBytes() - Method in class org.tio.http.common.Cookie
 
getBytes(String) - Static method in class org.tio.utils.zk.Zk
 
getBytesPerTcpReceive() - Method in class org.tio.core.stat.ChannelStat
平均每次TCP接收到的字节数,这个可以用来监控慢攻击,配置PacketsPerTcpReceive定位慢攻击
getBytesPerTcpReceive() - Method in class org.tio.core.stat.GroupStat
平均每次TCP接收到的字节数,这个可以用来监控慢攻击,配置PacketsPerTcpReceive定位慢攻击
getBytesPerTcpReceive() - Method in class org.tio.core.stat.IpStat
平均每次TCP接收到的字节数,这个可以用来监控慢攻击,配置PacketsPerTcpReceive定位慢攻击
getByToken(TioConfig, String) - Static method in class org.tio.core.Tio
根据token获取SetWithLock
getByUserid(TioConfig, String) - Static method in class org.tio.core.Tio
根据userid获取SetWithLock
getCache(String, boolean) - Static method in class org.tio.utils.cache.caffeine.CaffeineCache
 
getCache(String) - Static method in class org.tio.utils.cache.caffeine.CaffeineCache
 
getCache(String, boolean) - Static method in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
getCache(String) - Static method in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
getCache(String) - Static method in class org.tio.utils.cache.guava.GuavaCache
 
getCache(String) - Static method in class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
getCache(String) - Static method in class org.tio.utils.cache.redis.RedisCache
 
getCacheName(Long) - Method in class org.tio.core.maintain.IpStats
 
getCacheName(Long) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
 
getCacheName(Long) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
 
getCacheName() - Method in class org.tio.utils.cache.AbsCache
 
getCacheName() - Method in class org.tio.utils.cache.CacheChangedVo
 
getCacheName() - Method in interface org.tio.utils.cache.ICache
 
getCacheName() - Method in class org.tio.utils.cache.redis.ExpireVo
 
getCaffeineCache(Long, Long) - Static method in class org.tio.utils.cache.CacheUtils
根据参数获取或创建CaffeineCache对象
getCaffeineRedisCache(RedissonClient, Long, Long) - Static method in class org.tio.utils.cache.CacheUtils
 
getChannelContext() - Method in class org.tio.client.ConnectionCompletionVo
 
getChannelContext() - Method in class org.tio.core.ssl.SslFacadeContext
 
getChannelContext() - Method in class org.tio.http.common.HttpRequest
 
getChannelContextByBsId(TioConfig, String) - Static method in class org.tio.core.Tio
Deprecated.
用getByBsId(TioConfig tioConfig, String bsId)
getChannelContextByClientNode(TioConfig, String, Integer) - Static method in class org.tio.core.Tio
Deprecated.
getByClientNode(tioConfig, clientIp, clientPort)
getChannelContextById(TioConfig, String) - Static method in class org.tio.core.Tio
Deprecated.
用getByChannelContextId(tioConfig, channelContextId)
getChannelContextComparator() - Method in class org.tio.core.maintain.Groups
 
getChannelContextsByGroup(TioConfig, String) - Static method in class org.tio.core.Tio
Deprecated.
用getByGroup(tioConfig, group)
getChannelContextsByToken(TioConfig, String) - Static method in class org.tio.core.Tio
Deprecated.
用getByToken(tioConfig, token)
getChannelContextsByUserid(TioConfig, String) - Static method in class org.tio.core.Tio
Deprecated.
用getByUserid(tioConfig, userid)
getChannelGroup() - Method in class org.tio.client.TioClient
 
getCharset() - Method in class org.tio.core.udp.UdpConf
 
getCharset() - Method in class org.tio.http.common.HttpConfig
 
getCharset() - Method in class org.tio.http.common.HttpRequest
 
getCharset() - Method in class org.tio.http.common.HttpResponse
 
getCharset() - Method in class org.tio.websocket.client.config.WsClientConfig
 
getChildren(String) - Static method in class org.tio.utils.zk.Zk
 
getClass(T) - Static method in class org.tio.utils.hutool.ClassUtil
null安全的获取对象类型
getClasses(Object...) - Static method in class org.tio.utils.hutool.ClassUtil
获得对象数组的类数组
getClassName(Object, boolean) - Static method in class org.tio.utils.hutool.ClassUtil
获取类名
getClassName(Class<?>, boolean) - Static method in class org.tio.utils.hutool.ClassUtil
获取类名
类名并不包含“.class”这个扩展名
例如:ClassUtil这个类
getClientAioHandler() - Method in class org.tio.client.ClientTioConfig
 
getClientAioListener() - Method in class org.tio.client.ClientTioConfig
 
getClientChannelContext() - Method in class org.tio.websocket.client.WsClient
 
getClientId() - Method in class org.tio.utils.cache.CacheChangedVo
 
getClientIp() - Method in class org.tio.http.common.HttpRequest
获取真实的客户端ip
getClientNode() - Method in class org.tio.core.ChannelContext
 
getClientTioConfig() - Method in class org.tio.client.TioClient
 
getCloseCode() - Method in class org.tio.core.ChannelContext
 
getClosed() - Method in class org.tio.core.stat.GroupStat
 
getCode() - Method in class org.tio.utils.resp.Resp
 
getCode() - Method in class org.tio.utils.resp.RespVo
 
getCode() - Method in class org.tio.utils.ui.layui.table.LayuiPage
 
getCode() - Method in enum org.tio.websocket.common.Opcode
 
getCompress() - Method in class org.tio.webpack.model.Root
 
getCompressedBytes() - Method in class org.tio.webpack.cache.CacheVo
 
getConfig() - Method in class org.tio.websocket.client.WsClient
 
getConfiguration(HttpRequest) - Method in class org.tio.http.common.view.freemarker.FreemarkerConfig
 
getConnecteds(ClientTioConfig) - Static method in class org.tio.core.Tio
此API仅供 tio client使用 获取所有处于正常连接状态的连接
getConnection() - Method in class org.tio.http.common.HttpRequest
 
getConnectionCompletionHandler() - Method in class org.tio.client.ClientTioConfig
 
getConsole() - Method in class org.tio.webpack.model.Root
 
getContainsStr(CharSequence, CharSequence...) - Static method in class org.tio.utils.hutool.StrUtil
查找指定字符串是否包含指定字符串列表中的任意一个字符串,如果包含返回找到的第一个字符串
getContentDisposition() - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
getContentLength() - Method in class org.tio.http.common.HttpRequest
 
getContentType() - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
getContentType() - Method in class org.tio.http.common.HttpResponse
获取"Content-Type"头部内容
getContextPath() - Method in class org.tio.http.common.HttpConfig
 
getController(Class<T>) - Static method in class org.tio.http.server.mvc.Routes
根据class获取class对应的bean
getCookie(String) - Method in class org.tio.http.common.HttpRequest
 
getCookieMap() - Method in class org.tio.http.common.HttpRequest
 
getCookies() - Method in class org.tio.http.common.HttpRequest
 
getCookies() - Method in class org.tio.http.common.HttpResponse
 
getCount() - Method in class org.tio.utils.ui.layui.table.LayuiPage
 
getCountDownLatch() - Method in class org.tio.client.ConnectionCompletionVo
 
getCountDownLatch() - Method in class org.tio.core.intf.Packet.Meta
 
getCreateTime() - Method in class org.tio.http.common.HttpRequest
 
getCreateTime() - Method in class org.tio.http.common.session.HttpSession
 
getCss() - Method in class org.tio.webpack.model.Compress
 
getCurrUseridGetter() - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
 
getData() - Method in class org.tio.core.udp.UdpPacket
 
getData() - Method in class org.tio.http.common.UploadFile
 
getData() - Method in class org.tio.utils.resp.Resp
 
getData() - Method in class org.tio.utils.resp.RespVo
 
getData() - Method in class org.tio.utils.ui.layui.table.LayuiPage
 
getDatacenterid() - Static method in class org.tio.utils.Uuid
 
getDebug() - Method in class org.tio.webpack.model.Root
 
getDeclaredField(Class<?>, String) - Static method in class org.tio.utils.hutool.ClassUtil
查找指定类中的所有字段(包括非public字段), 字段不存在则返回null
getDeclaredFields(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
查找指定类中的所有字段(包括非public字段)
getDecodeErrorCount() - Method in class org.tio.core.stat.IpStat
 
getDecodeFailCount() - Method in class org.tio.core.stat.ChannelStat
 
getDefaultValue(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
获取指定类型分的默认值
默认值规则为:
getDefaultValues(Class<?>...) - Static method in class org.tio.utils.hutool.ClassUtil
获得默认值列表
getDescription() - Method in enum org.tio.http.common.HttpResponseStatus
 
getDev() - Method in class org.tio.webpack.model.Root
 
getDomain() - Method in class org.tio.http.common.Cookie
 
getDomain() - Method in class org.tio.http.common.HttpRequest
根据host字段,获取去除端口的纯域名部分的值,形如:www.t-io.org, t-io.org等值
getDomain(HttpRequest) - Static method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
getDomain() - Method in class org.tio.http.server.session.DomainSessionCookieDecorator
 
getDomainPageMap() - Method in class org.tio.http.common.HttpConfig
 
getDouble(String) - Method in class org.tio.http.common.HttpRequest
 
getDuration() - Method in class org.tio.core.stat.IpStat
 
getDuration() - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
getDuration() - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
getDuration() - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
getDuration() - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
getDurationType() - Method in class org.tio.core.stat.IpStat
 
getDurationType() - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
getDurationType() - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
getDurationType() - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
getDurationType() - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
getEqualMap(String) - Static method in class org.tio.http.common.Cookie
 
getError() - Method in class org.tio.webpack.model.Console
 
getExpires() - Method in class org.tio.http.common.Cookie
 
getExtension() - Method in enum org.tio.http.common.MimeType
Get the extension for this type.
getExtensions() - Method in interface org.tio.websocket.client.WebSocket
 
getExtensions() - Method in class org.tio.websocket.client.WebSocketImpl
 
getFile() - Method in class org.tio.http.common.HttpResource
 
getFilename() - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
getFirstAccessTime() - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
getFirstAccessTime() - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
getFirstAccessTime() - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
getFirstAccessTime() - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
getFloat(String) - Method in class org.tio.http.common.HttpRequest
 
getFormatedDuration() - Method in class org.tio.core.stat.IpStat
 
getFormatedDuration() - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
getFormatedDuration() - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
getFormatedDuration() - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
getFormatedDuration() - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
getForSendAfterSslHandshakeCompleted(boolean) - Method in class org.tio.core.task.SendRunnable
 
getFreemarkerConfig() - Method in class org.tio.http.common.HttpConfig
 
getGroup0(Pattern, String) - Static method in class org.tio.utils.hutool.ReUtil
获得匹配的字符串,,获得正则中分组0的内容
getGroup1(Pattern, String) - Static method in class org.tio.utils.hutool.ReUtil
获得匹配的字符串,,获得正则中分组1的内容
getGroupExecutor() - Static method in class org.tio.utils.Threads
 
getGroupListener() - Method in class org.tio.core.TioConfig
 
getGroupmap() - Method in class org.tio.core.maintain.Groups
 
getGroups() - Method in class org.tio.core.ChannelContext
 
getGroupStat() - Method in class org.tio.core.TioConfig
 
getHandledBytes() - Method in class org.tio.core.stat.ChannelStat
 
getHandledBytes() - Method in class org.tio.core.stat.GroupStat
 
getHandledBytes() - Method in class org.tio.core.stat.IpStat
 
getHandledCostsPerPacket() - Method in class org.tio.core.stat.ChannelStat
处理packet平均耗时,单位:毫秒
getHandledCostsPerPacket() - Method in class org.tio.core.stat.GroupStat
处理packet平均耗时,单位:毫秒
getHandledCostsPerPacket() - Method in class org.tio.core.stat.IpStat
处理packet平均耗时,单位:毫秒
getHandledPacketCosts() - Method in class org.tio.core.stat.ChannelStat
 
getHandledPacketCosts() - Method in class org.tio.core.stat.GroupStat
处理消息包耗时,单位:毫秒
getHandledPacketCosts() - Method in class org.tio.core.stat.IpStat
 
getHandledPackets() - Method in class org.tio.core.stat.ChannelStat
 
getHandledPackets() - Method in class org.tio.core.stat.GroupStat
 
getHandledPackets() - Method in class org.tio.core.stat.IpStat
 
getHandshakeRequest() - Method in class org.tio.websocket.common.WsSessionContext
 
getHandshakeResponse() - Method in class org.tio.websocket.common.WsSessionContext
 
getHeader(String) - Method in class org.tio.http.common.HttpRequest
 
getHeader(HeaderName) - Method in class org.tio.http.common.HttpResponse
 
getHeaderBinary() - Method in enum org.tio.http.common.HttpResponseStatus
 
getHeaderByteCount() - Method in class org.tio.http.common.HttpResponse
 
getHeaders() - Method in class org.tio.http.common.HttpRequest
 
getHeaders() - Method in class org.tio.http.common.HttpResponse

警告:通过本方法获得Map对象后,请勿调用put(key, value)。

getHeaderString() - Method in class org.tio.http.common.HttpPacket
 
getHeaderText() - Method in enum org.tio.http.common.HttpResponseStatus
 
getHeartbeatTimeout() - Method in class org.tio.core.ChannelContext
 
getHost() - Method in class org.tio.http.common.HttpRequest
获取请求头中的host字段,形如:www.t-io.org:8080, www.t-io.org等值
getHtml() - Method in class org.tio.webpack.model.Compress
 
getHttpConfig(HttpRequest) - Method in interface org.tio.http.common.handler.HttpRequestHandler
 
getHttpConfig() - Method in class org.tio.http.common.HttpRequest
 
getHttpConfig(HttpRequest) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
getHttpConfig(HttpRequest) - Method in class org.tio.http.server.handler.DispatcheHttpRequestHandler
 
getHttpConfig() - Method in class org.tio.http.server.HttpServerAioHandler
 
getHttpConfig() - Method in class org.tio.http.server.HttpServerStarter
 
getHttpConfig() - Method in class org.tio.websocket.server.WsServerAioHandler
 
getHttpRequest() - Method in class org.tio.http.common.HttpResponse
 
getHttpRequestHandler() - Method in class org.tio.http.common.HttpConfig
 
getHttpRequestHandler(HttpRequest) - Method in class org.tio.http.server.handler.DispatcheHttpRequestHandler
 
getHttpRequestHandler() - Method in class org.tio.http.server.HttpServerStarter
 
getHttpServerAioHandler() - Method in class org.tio.http.server.HttpServerStarter
 
getHttpServerAioListener() - Method in class org.tio.http.server.HttpServerStarter
 
getHttpServerInterceptor() - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
getHttpSession(String) - Method in class org.tio.http.common.HttpConfig
根据sessionId获取HttpSession对象
getHttpSession() - Method in class org.tio.http.common.HttpRequest
 
getHttpSessionListener() - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
getHttpStatus(int) - Static method in enum org.tio.http.common.HttpResponseStatus
 
getId() - Method in class org.tio.core.ChannelContext
 
getId() - Method in class org.tio.core.intf.Packet
 
getId() - Method in class org.tio.core.TioConfig
 
getId() - Method in class org.tio.http.common.session.HttpSession
 
getInfo() - Method in class org.tio.webpack.model.Console
 
getInitBytes() - Method in class org.tio.webpack.cache.CacheVo
 
getInitPath() - Method in class org.tio.http.common.RequestLine
 
getInputStream() - Method in class org.tio.http.common.HttpResource
 
getInstance(Class<?>) - Method in class org.tio.http.server.mvc.DefaultControllerFactory
 
getInstance(Class<?>) - Method in interface org.tio.http.server.mvc.intf.ControllerFactory
 
getInstance(String) - Static method in class org.tio.utils.thread.pool.DefaultThreadFactory
 
getInstance(String, Integer) - Static method in class org.tio.utils.thread.pool.DefaultThreadFactory
Gets the single INSTANCE of DefaultThreadFactory.
getInt(String) - Method in class org.tio.http.common.HttpRequest
 
getInt(String) - Static method in class org.tio.utils.jfinal.P
 
getInt(String, Integer) - Static method in class org.tio.utils.jfinal.P
 
getInt(String) - Method in class org.tio.utils.jfinal.Prop
 
getInt(String, Integer) - Method in class org.tio.utils.jfinal.Prop
 
getInterval() - Method in class org.tio.client.ReconnConf
 
getIp() - Method in class org.tio.core.Node
 
getIp() - Method in class org.tio.core.stat.IpStat
 
getIp() - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
getIp() - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
getIp() - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
getIp() - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
getIpmap() - Method in class org.tio.core.maintain.Ips
 
getIpPathAccessStatMap() - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
getIpPathAccessStats() - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
getIpStatListener() - Method in class org.tio.core.TioConfig
 
getIsAjax() - Method in class org.tio.http.common.HttpRequest
 
getIsSentSuccess() - Method in class org.tio.core.intf.Packet.Meta
 
getIsSupportGzip() - Method in class org.tio.http.common.HttpRequest
 
getJs() - Method in class org.tio.webpack.model.Compress
 
getJsonpParamName() - Method in class org.tio.http.common.HttpConfig
 
getKey(ChannelContext) - Static method in class org.tio.core.maintain.ClientNodes
 
getKey(String, int) - Static method in class org.tio.core.maintain.ClientNodes
 
getKey() - Method in class org.tio.http.common.KeyValue
 
getKey() - Method in class org.tio.utils.cache.CacheChangedVo
 
getKey() - Method in class org.tio.utils.cache.redis.ExpireVo
 
getKeyManagerFactory() - Method in class org.tio.core.ssl.SslConfig
 
getLastAccessTime() - Method in class org.tio.http.common.session.limiter.SessionRateVo
 
getLastAccessTime() - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
getLastAccessTime() - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
getLastAccessTime() - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
getLastAccessTime() - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
getLastModified() - Method in class org.tio.http.common.HttpResponse
 
getLastModified() - Method in class org.tio.http.server.handler.FileCache
 
getLastParts() - Method in class org.tio.websocket.common.WsSessionContext
 
getLastWarnTime() - Method in class org.tio.monitor.RateLimiterWrap
 
getLatestTimeOfReceivedByte() - Method in class org.tio.core.stat.ChannelStat
 
getLatestTimeOfReceivedPacket() - Method in class org.tio.core.stat.ChannelStat
 
getLatestTimeOfSentByte() - Method in class org.tio.core.stat.ChannelStat
 
getLatestTimeOfSentPacket() - Method in class org.tio.core.stat.ChannelStat
 
getLevel() - Method in class org.tio.utils.hutool.BetweenFormater
获得 格式化级别
getList() - Method in class org.tio.utils.page.Page
 
getListener(Long) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
 
getListener(Long) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
 
getLocalIp() - Static method in class org.tio.http.common.utils.IpUtils
获取本机 ip
getLock() - Method in class org.tio.utils.lock.ObjWithLock
 
getLockObj(String) - Static method in class org.tio.utils.lock.LockUtils
获取锁对象,用于synchronized(lockObj)
getLockObj(String, Object) - Static method in class org.tio.utils.lock.LockUtils
获取锁对象,用于synchronized(lockObj)
getLog() - Method in class org.tio.webpack.model.Console
 
getLong(String) - Method in class org.tio.http.common.HttpRequest
 
getLong(String) - Static method in class org.tio.utils.jfinal.P
 
getLong(String, Long) - Static method in class org.tio.utils.jfinal.P
 
getLong(String) - Method in class org.tio.utils.jfinal.Prop
 
getLong(String, Long) - Method in class org.tio.utils.jfinal.Prop
 
getLowercase(String) - Static method in class org.tio.http.common.StrCache
 
getMap() - Method in class org.tio.core.maintain.BsIds
 
getMap() - Method in class org.tio.core.maintain.Ids
 
getMap() - Method in class org.tio.core.maintain.Tokens
 
getMap() - Method in class org.tio.core.maintain.Users
 
getMap() - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
getMaxAge() - Method in class org.tio.http.common.Cookie
 
getMaxAllWarnCount() - Method in class org.tio.monitor.RateLimiterWrap
 
getMaxForwardCount() - Method in class org.tio.http.common.HttpConfig
 
getMaxLengthOfMultiBody() - Method in class org.tio.http.common.HttpConfig
 
getMaxLengthOfPostBody() - Method in class org.tio.http.common.HttpConfig
 
getMaxLiveTimeOfStaticRes() - Method in class org.tio.http.common.HttpConfig
 
getMaxWarnCount() - Method in class org.tio.monitor.RateLimiterWrap
 
getMD5(String) - Static method in class org.tio.utils.crypto.Md5
 
getMD5(String) - Static method in class org.tio.websocket.common.util.Md5
 
getMessageStream() - Method in interface org.tio.websocket.client.WebSocket
Get message stream from server
getMessageStream() - Method in class org.tio.websocket.client.WebSocketImpl
 
getMeta() - Method in class org.tio.core.intf.Packet
 
getMethod() - Method in class org.tio.http.common.RequestLine
 
getMethod() - Method in class org.tio.http.server.mvc.VariablePathVo
 
getMethodByPath(String, HttpRequest) - Method in class org.tio.http.server.mvc.Routes
 
getMillis() - Method in enum org.tio.utils.hutool.DateUnit
 
getModelGenerator() - Method in class org.tio.http.common.view.freemarker.FreemarkerConfig
 
getMsg() - Method in class org.tio.utils.resp.Resp
 
getMsg() - Method in class org.tio.utils.resp.RespVo
 
getMsg() - Method in class org.tio.utils.ui.layui.table.LayuiPage
 
getMsgQueue() - Method in class org.tio.core.task.CloseRunnable
 
getMsgQueue() - Method in class org.tio.core.task.DecodeRunnable
 
getMsgQueue() - Method in class org.tio.core.task.HandlerRunnable
 
getMsgQueue() - Method in class org.tio.core.task.SendRunnable
 
getMsgQueue() - Method in class org.tio.utils.thread.pool.AbstractQueueRunnable
获取消息队列
getName() - Method in class org.tio.core.TioConfig
 
getName() - Method in class org.tio.http.common.Cookie
 
getName() - Method in class org.tio.http.common.HttpConfig
 
getName() - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
getName() - Method in class org.tio.http.common.UploadFile
 
getName() - Method in enum org.tio.utils.hutool.BetweenFormater.Level
获取级别名称
getName() - Method in class org.tio.utils.thread.pool.SynThreadPoolExecutor
Gets the name.
getObj() - Method in class org.tio.core.ssl.SslVo
 
getObj() - Method in class org.tio.utils.lock.ObjWithLock
 
getObject(String) - Method in class org.tio.http.common.HttpRequest
 
getObjWithLock() - Method in class org.tio.core.maintain.ClientNodes
 
getOnClose() - Method in class org.tio.websocket.client.config.WsClientConfig
 
getOnError() - Method in class org.tio.websocket.client.config.WsClientConfig
 
getOnMessage() - Method in class org.tio.websocket.client.config.WsClientConfig
 
getOnOpen() - Method in class org.tio.websocket.client.config.WsClientConfig
 
getOnThrows() - Method in class org.tio.websocket.client.config.WsClientConfig
 
getPacketListener() - Method in class org.tio.core.intf.Packet
 
getPacketsPerTcpReceive() - Method in class org.tio.core.stat.ChannelStat
平均每次TCP接收到的业务包数,这个可以用来监控慢攻击,此值越小越有攻击嫌疑
getPacketsPerTcpReceive() - Method in class org.tio.core.stat.GroupStat
平均每次TCP接收到的业务包数,这个可以用来监控慢攻击,此值越小越有攻击嫌疑
getPacketsPerTcpReceive() - Method in class org.tio.core.stat.IpStat
平均每次TCP接收到的业务包数,这个可以用来监控慢攻击,此值越小越有攻击嫌疑
getPage404() - Method in class org.tio.http.common.HttpConfig
 
getPage500() - Method in class org.tio.http.common.HttpConfig
 
getPageNumber() - Method in class org.tio.utils.page.Page
 
getPageOfAll(TioConfig, Integer, Integer) - Static method in class org.tio.core.Tio
 
getPageOfAll(TioConfig, Integer, Integer, Converter<T>) - Static method in class org.tio.core.Tio
 
getPageOfConnecteds(ClientTioConfig, Integer, Integer) - Static method in class org.tio.core.Tio
这个方法是给客户器端用的
getPageOfConnecteds(ClientTioConfig, Integer, Integer, Converter<T>) - Static method in class org.tio.core.Tio
这个方法是给客户器端用的
getPageOfGroup(TioConfig, String, Integer, Integer) - Static method in class org.tio.core.Tio
 
getPageOfGroup(TioConfig, String, Integer, Integer, Converter<T>) - Static method in class org.tio.core.Tio
 
getPageRoot() - Method in class org.tio.http.common.HttpConfig
 
getPageRoot(HttpRequest) - Method in class org.tio.http.common.HttpConfig
 
getPageSize() - Method in class org.tio.utils.page.Page
 
getParam() - Method in class org.tio.http.common.HttpRequest
把类型为数组的参数值转换成Object,相当于是取了数组的第一个值,便于业务开发(因为大部分参数值其实只有一个)
getParam(String) - Method in class org.tio.http.common.HttpRequest
 
getParamArray(String) - Method in class org.tio.http.common.HttpRequest
 
getParams() - Method in class org.tio.http.common.HttpRequest
 
getPath() - Method in class org.tio.http.common.Cookie
 
getPath(File) - Method in class org.tio.http.common.HttpConfig
获取文件的URL访问路径
getPath() - Method in class org.tio.http.common.HttpResource
 
getPath() - Method in class org.tio.http.common.RequestLine
譬如http://www.163.com/user/get?value=tan&id=789,那些此值就是/user/get
getPath() - Method in class org.tio.http.common.session.limiter.SessionRateVo
 
getPath() - Method in class org.tio.http.server.mvc.PathUnitVo
对于/user/{userid}来说,此值是userid
getPath() - Method in class org.tio.http.server.mvc.VariablePathVo
原path,形如/user/{userid}
getPath() - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
getPath() - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
getPath() - Method in class org.tio.webpack.cache.CacheVo
 
getPathAndQuery() - Method in class org.tio.http.common.RequestLine
/user/get?value=999
getPathUnits() - Method in class org.tio.http.server.mvc.VariablePathVo
对于/user/{userid},就是["user", "userid"]
getPerSecond() - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
getPerSecond() - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
getPerSecond() - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
getPerSecond() - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
getPort() - Method in class org.tio.core.Node
 
getPreEncodedByteBuffer() - Method in class org.tio.core.intf.Packet
 
getProp() - Static method in class org.tio.utils.jfinal.P
 
getProp(String) - Static method in class org.tio.utils.jfinal.P
 
getProperties() - Method in class org.tio.utils.jfinal.Prop
 
getPropertyDescriptor(Class<?>, String) - Static method in class org.tio.utils.hutool.BeanUtil
获得Bean类属性描述,大小写敏感
getPropertyDescriptor(Class<?>, String, boolean) - Static method in class org.tio.utils.hutool.BeanUtil
获得Bean类属性描述
getPropertyDescriptorMap(Class<?>, boolean) - Method in enum org.tio.utils.hutool.BeanInfoCache
获得属性名和PropertyDescriptorMap映射
getPropertyDescriptorMap(Class<?>, boolean) - Static method in class org.tio.utils.hutool.BeanUtil
获得字段名和字段描述Map,获得的结果会缓存在 BeanInfoCache
getPropertyDescriptors(Class<?>) - Static method in class org.tio.utils.hutool.BeanUtil
获得Bean字段描述数组
getProtocol() - Method in class org.tio.http.common.RequestLine
 
getProtocol() - Method in interface org.tio.websocket.client.WebSocket
 
getProtocol() - Method in class org.tio.websocket.client.WebSocketImpl
 
getProxyClientNode() - Method in class org.tio.core.ChannelContext
 
getPublicMethod(Class<?>, String, Class<?>...) - Static method in class org.tio.utils.hutool.ClassUtil
查找指定Public方法 如果找不到对应的方法或方法不为public的则返回null
getPublicMethodNames(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
获得指定类中的Public方法名
去重重载的方法
getPublicMethods(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
获得本类及其父类所有Public方法
getQueryString() - Method in class org.tio.http.common.RequestLine
譬如http://www.163.com/user/get?value=tan&id=789,那些此值就是name=tan&id=789
getQueue() - Method in class org.tio.client.ReconnConf
 
getRateLimiter() - Method in class org.tio.monitor.RateLimiterWrap
 
getRawUri() - Method in class org.tio.websocket.client.WsClient
 
getReadBufferSize() - Method in class org.tio.core.ChannelContext
 
getReadBufferSize() - Method in class org.tio.core.TioConfig
 
getReadBufferSize() - Method in class org.tio.core.udp.UdpServerConf
 
getReadByteBuffer() - Method in class org.tio.core.ReadCompletionHandler
 
getReadCompletionHandler() - Method in class org.tio.core.ChannelContext
 
getReadyState() - Method in interface org.tio.websocket.client.WebSocket
ready state: CONNECTING, OPEN, CLOSING, CLOSED
getReadyState() - Method in class org.tio.websocket.client.WebSocketImpl
 
getRealIp(HttpRequest) - Static method in class org.tio.http.common.utils.IpUtils
 
getRealIp(ChannelContext, HttpConfig, Map<String, String>) - Static method in class org.tio.http.common.utils.IpUtils
获取真实ip
getReceivedBytes() - Method in class org.tio.core.stat.ChannelStat
 
getReceivedBytes() - Method in class org.tio.core.stat.GroupStat
 
getReceivedBytes() - Method in class org.tio.core.stat.IpStat
 
getReceivedPackets() - Method in class org.tio.core.stat.ChannelStat
 
getReceivedPackets() - Method in class org.tio.core.stat.GroupStat
 
getReceivedPackets() - Method in class org.tio.core.stat.IpStat
 
getReceivedTcps() - Method in class org.tio.core.stat.ChannelStat
 
getReceivedTcps() - Method in class org.tio.core.stat.GroupStat
 
getReceivedTcps() - Method in class org.tio.core.stat.IpStat
 
getReconnConf() - Method in class org.tio.client.ClientTioConfig
 
getReconnConf(ClientChannelContext) - Static method in class org.tio.client.ReconnConf
 
getReconnConf(ChannelContext) - Static method in class org.tio.client.ReconnConf
 
getReconnCount() - Method in class org.tio.client.ClientChannelContext
 
getReconnRunnable() - Method in class org.tio.client.ClientChannelContext
 
getRedisson() - Method in class org.tio.utils.cache.redis.RedisCache
 
getReentrantReadWriteLock(String, Object) - Static method in class org.tio.utils.lock.LockUtils
获取读写锁
getReferer() - Method in class org.tio.http.common.HttpRequest
 
getRemark() - Method in class org.tio.core.ChannelContext.CloseMeta
 
getRemote() - Method in class org.tio.core.udp.UdpPacket
 
getRemote() - Method in class org.tio.http.common.HttpRequest
 
getRequestCount() - Method in class org.tio.core.stat.IpStat
 
getRequestLine() - Method in class org.tio.http.common.HttpRequest
 
getRequestPath(Class<?>) - Static method in class org.tio.http.server.mvc.Routes
 
getResource(HttpRequest, String) - Method in class org.tio.http.common.HttpConfig
 
getResource(String) - Static method in class org.tio.utils.hutool.ResourceUtil
获得资源相对路径对应的URL
getResourceAsStream(String) - Static method in class org.tio.utils.hutool.ResourceUtil
获取ClassPath下的资源做为流
getRespForBlackIp() - Method in class org.tio.http.common.HttpConfig
 
getRespId() - Method in class org.tio.core.intf.Packet
 
getResponse() - Method in class org.tio.http.server.handler.FileCache
 
getResponseLineBinary() - Method in enum org.tio.http.common.HttpResponseStatus
 
getRetryCount() - Method in class org.tio.client.ReconnConf
连续重连次数,当连续重连这么多次都失败时,不再重连。0和负数则一直重连
getSentBytes() - Method in class org.tio.core.stat.ChannelStat
 
getSentBytes() - Method in class org.tio.core.stat.GroupStat
 
getSentBytes() - Method in class org.tio.core.stat.IpStat
 
getSentPackets() - Method in class org.tio.core.stat.ChannelStat
 
getSentPackets() - Method in class org.tio.core.stat.GroupStat
 
getSentPackets() - Method in class org.tio.core.stat.IpStat
 
getServerAioHandler() - Method in class org.tio.server.ServerTioConfig
 
getServerAioListener() - Method in class org.tio.server.ServerTioConfig
 
getServerInfo() - Method in class org.tio.http.common.HttpConfig
 
getServerNode() - Method in class org.tio.client.ConnectionCompletionVo
 
getServerNode() - Method in class org.tio.core.ChannelContext
 
getServerNode() - Method in class org.tio.core.udp.UdpConf
 
getServerNode() - Method in class org.tio.server.TioServer
 
getServerSocketChannel() - Method in class org.tio.server.TioServer
 
getServerTioConfig() - Method in class org.tio.http.server.HttpServerStarter
 
getServerTioConfig() - Method in class org.tio.server.TioServer
 
getServerTioConfig() - Method in class org.tio.websocket.server.WsServerStarter
 
getSessionCacheName() - Method in class org.tio.http.common.HttpConfig
 
getSessionCookie(HttpRequest, HttpConfig) - Static method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
getSessionCookieDecorator() - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
getSessionCookieName() - Method in class org.tio.http.common.HttpConfig
 
getSessionId(HttpRequest) - Static method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
getSessionIdGenerator() - Method in class org.tio.http.common.HttpConfig
 
getSessionRateLimiter() - Method in class org.tio.http.common.HttpConfig
 
getSessionStore() - Method in class org.tio.http.common.HttpConfig
 
getSessionTimeout() - Method in class org.tio.http.common.HttpConfig
 
getShort(String) - Method in class org.tio.http.common.HttpRequest
 
getSize() - Method in class org.tio.http.common.UploadFile
 
getSsl() - Method in class org.tio.core.Node
 
getSslContext() - Method in class org.tio.core.ssl.SslFacadeContext
 
getSslFacade() - Method in class org.tio.core.ssl.SslFacadeContext
 
getStart() - Method in class org.tio.core.stat.IpStat
 
getStaticPaths() - Method in class org.tio.http.common.HttpConfig
 
getStaticPathsMap() - Method in class org.tio.http.common.HttpConfig
 
getStaticResCache() - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
getStatPathFilter() - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
 
getStatPathFilter() - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
 
getStatus() - Method in class org.tio.http.common.HttpResponse
 
getStatus() - Method in enum org.tio.http.common.HttpResponseStatus
 
getString(String) - Method in class org.tio.http.common.HttpRequest
同getParam(String name)
getString(String, String) - Static method in class org.tio.utils.zk.Zk
 
getString(String) - Static method in class org.tio.utils.zk.Zk
 
getSubAttribute(String, String) - Static method in class org.tio.http.common.utils.HttpParseUtils
obtain sub attribute
getSuffix() - Method in class org.tio.http.common.HttpConfig
 
getSuffixes() - Method in class org.tio.http.common.view.freemarker.FreemarkerConfig
 
getSynSeq() - Method in class org.tio.core.intf.Packet
 
getThreadPoolExecutor() - Method in class org.tio.client.ReconnConf
 
getThreadPoolName() - Method in class org.tio.utils.thread.pool.DefaultThreadFactory
Gets the thread pool name.
getThrowable() - Method in class org.tio.core.ChannelContext.CloseMeta
 
getThrowableHandler() - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
getTime() - Method in class org.tio.core.udp.UdpPacket
 
getTimeClosed() - Method in class org.tio.core.stat.ChannelStat
 
getTimeCreated() - Method in class org.tio.core.stat.ChannelStat
 
getTimeFirstConnected() - Method in class org.tio.core.stat.ChannelStat
 
getTimeInReconnQueue() - Method in class org.tio.core.stat.ChannelStat
 
getTimeout() - Method in class org.tio.core.udp.UdpConf
 
getTimeout() - Method in class org.tio.utils.cache.redis.RedisCache
 
getTimeToIdleSeconds() - Method in class org.tio.utils.cache.AbsCache
 
getTimeToIdleSeconds() - Method in interface org.tio.utils.cache.ICache
 
getTimeToIdleSeconds() - Method in class org.tio.utils.cache.redis.ExpireVo
 
getTimeToIdleSeconds() - Method in class org.tio.utils.cache.redis.RedisCache
 
getTimeToLiveSeconds() - Method in class org.tio.utils.cache.AbsCache
 
getTimeToLiveSeconds() - Method in interface org.tio.utils.cache.ICache
 
getTimeToLiveSeconds() - Method in class org.tio.utils.cache.redis.RedisCache
 
getTioClient() - Method in class org.tio.client.ConnectionCompletionVo
 
getTioClient() - Method in class org.tio.websocket.client.WsClient
 
getTioConfig() - Method in class org.tio.core.ChannelContext
 
getTioExecutor() - Static method in class org.tio.utils.Threads
 
getTioServer() - Method in class org.tio.http.server.HttpServerStarter
 
getTioServer() - Method in class org.tio.websocket.server.WsServerStarter
 
getTioUuid() - Method in class org.tio.core.TioConfig
 
getToken() - Method in class org.tio.core.ChannelContext
 
getToken(HttpRequest) - Method in class org.tio.http.server.stat.token.DefaultTokenGetter
 
getToken() - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
getToken(HttpRequest) - Method in interface org.tio.http.server.stat.token.TokenGetter
根据HttpRequest对象获取业务上的token
getToken() - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
getToken() - Method in class org.tio.websocket.common.WsSessionContext
 
getTokenGetter() - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
 
getTokenPathAccessStatMap() - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
getTokenPathAccessStats() - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
getTotalPage() - Method in class org.tio.utils.page.Page
 
getTotalRow() - Method in class org.tio.utils.page.Page
 
getTrustManagerFactory() - Method in class org.tio.core.ssl.SslConfig
 
getType() - Method in enum org.tio.http.common.MimeType
Get a String representation of this type.
getType() - Method in class org.tio.utils.cache.CacheChangedVo
 
getUdpHandler() - Method in class org.tio.core.udp.UdpServerConf
 
getUid() - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
getUid() - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
getUploadFile(String) - Method in class org.tio.http.common.HttpRequest
 
getUri() - Method in class org.tio.websocket.client.WsClient
 
getUrl() - Method in interface org.tio.websocket.client.WebSocket
url
getUrl() - Method in class org.tio.websocket.client.WebSocketImpl
 
getUserAgent() - Method in class org.tio.http.common.HttpRequest
获取请求头中的User-Agent字段
getUserid(HttpRequest) - Method in interface org.tio.http.server.intf.CurrUseridGetter
根据HttpRequest获取当前用户的userid
getUtf8(byte[]) - Static method in class org.tio.core.utils.ByteBufferUtils
获取utf-8字符串
getValue() - Method in enum org.tio.core.ChannelContext.CloseCode
 
getValue() - Method in enum org.tio.core.PacketHandlerMode
 
getValue() - Method in enum org.tio.core.PacketSendMode
 
getValue() - Method in enum org.tio.core.SynPacketAction
 
getValue() - Method in class org.tio.http.common.Cookie
 
getValue() - Method in class org.tio.http.common.KeyValue
 
getVersion() - Method in class org.tio.http.common.RequestLine
 
getWaitingResps() - Method in class org.tio.core.TioConfig
 
getWarnClearInterval() - Method in class org.tio.monitor.RateLimiterWrap
 
getWarnCount() - Method in class org.tio.monitor.RateLimiterWrap
 
getWelcomeFile() - Method in class org.tio.http.common.HttpConfig
 
getWorkid() - Static method in class org.tio.utils.Uuid
 
getWriteCompletionHandler() - Method in class org.tio.core.ChannelContext
 
getWs() - Method in class org.tio.websocket.client.WsClient
 
getWsBodyLength() - Method in class org.tio.websocket.common.WsPacket
 
getWsBodyText() - Method in class org.tio.websocket.common.WsPacket
 
getWsMask() - Method in class org.tio.websocket.common.WsPacket
 
getWsMsgHandler() - Method in class org.tio.websocket.server.WsServerStarter
 
getWsOpcode() - Method in class org.tio.websocket.common.WsPacket
 
getWsServerAioHandler() - Method in class org.tio.websocket.server.WsServerStarter
 
getWsServerAioListener() - Method in class org.tio.websocket.server.WsServerStarter
 
getWsServerConfig() - Method in class org.tio.websocket.server.WsServerStarter
 
GLOBAL - Static variable in class org.tio.core.maintain.IpBlacklist
 
GROUP_VAR - Static variable in class org.tio.utils.hutool.PatternPool
分组
groupCount(TioConfig, String) - Static method in class org.tio.core.Tio
群组有多少个连接
groupExecutor - Variable in class org.tio.core.TioConfig
 
GroupListener - Interface in org.tio.core.intf
 
Groups - Class in org.tio.core.maintain
多对多 (group <--> ChannelContext)
Groups() - Constructor for class org.tio.core.maintain.Groups
 
groups(ChannelContext) - Method in class org.tio.core.maintain.Groups
某个客户端在哪些组中
groups - Variable in class org.tio.core.TioConfig
 
GroupStat - Class in org.tio.core.stat
 
GroupStat() - Constructor for class org.tio.core.stat.GroupStat
 
groupStat - Variable in class org.tio.core.TioConfig
 
GuavaCache - Class in org.tio.utils.cache.guava
 
GuavaRedisCache - Class in org.tio.utils.cache.guavaredis
 
GuavaRedisCache(String, GuavaCache, RedisCache) - Constructor for class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
GuavaUtils - Class in org.tio.utils.guava
 
GuavaUtils() - Constructor for class org.tio.utils.guava.GuavaUtils
 
guessPattern(String) - Static method in class org.tio.utils.hutool.DateUtil
 
gzip - Static variable in class org.tio.http.common.HeaderValue.Content_Encoding
 
gzip(HttpRequest, HttpResponse) - Static method in class org.tio.http.common.utils.HttpGzipUtils
 
gzip(HttpResponse) - Static method in class org.tio.http.common.utils.HttpGzipUtils
 
gzip(byte[]) - Static method in class org.tio.utils.hutool.ZipUtil
Gzip压缩处理

H

handle(Integer, Throwable, WriteCompletionHandler.WriteCompletionVo) - Method in class org.tio.core.WriteCompletionHandler
 
handle(ReadLockHandler<T>) - Method in class org.tio.utils.lock.ObjWithLock
操作obj时,带上读锁
handle(WriteLockHandler<T>) - Method in class org.tio.utils.lock.ObjWithLock
操作obj时,带上写锁
handledBytes - Variable in class org.tio.core.stat.ChannelStat
本连接已处理的字节数
handledBytes - Variable in class org.tio.core.stat.GroupStat
处理了多少字节
handledPacketCosts - Variable in class org.tio.core.stat.ChannelStat
处理消息包耗时,单位:毫秒 拿这个值除以handledPackets,就是处理每个消息包的平均耗时
handledPacketCosts - Variable in class org.tio.core.stat.GroupStat
处理消息包耗时,单位:毫秒
handledPackets - Variable in class org.tio.core.stat.ChannelStat
本连接已处理的packet数
handledPackets - Variable in class org.tio.core.stat.GroupStat
处理了的消息包数
handleOne(Integer, Throwable, Packet, Boolean) - Method in class org.tio.core.WriteCompletionHandler
 
handler(Packet, ChannelContext) - Method in interface org.tio.core.intf.AioHandler
处理消息包
handler(Packet, int) - Method in class org.tio.core.task.DecodeRunnable
 
handler(Packet) - Method in class org.tio.core.task.HandlerRunnable
处理packet
handler(UdpPacket, DatagramSocket) - Method in interface org.tio.core.udp.intf.UdpHandler
 
handler(Packet, ChannelContext) - Method in class org.tio.flash.policy.server.FlashPolicyServerAioHandler
处理消息
handler(HttpRequest) - Method in interface org.tio.http.common.handler.HttpRequestHandler
处理请求
handler(HttpRequest) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
handler(HttpRequest) - Method in class org.tio.http.server.handler.DispatcheHttpRequestHandler
 
handler(Packet, ChannelContext) - Method in class org.tio.http.server.HttpServerAioHandler
 
handler(HttpRequest, RequestLine, Throwable) - Method in interface org.tio.http.server.intf.ThrowableHandler
 
handler(Class<?>) - Method in class org.tio.utils.hutool.ClassScanAnnotationHandler
 
handler(Class<?>) - Method in interface org.tio.utils.hutool.ClassScanHandler
 
handler(T) - Method in interface org.tio.utils.lock.ReadLockHandler
 
handler(T) - Method in interface org.tio.utils.lock.WriteLockHandler
 
handler(Packet, ChannelContext) - Method in class org.tio.websocket.client.WsClientAioHander
 
handler(Packet, ChannelContext) - Method in class org.tio.websocket.server.WsServerAioHandler
 
handlerAnnotation(Class<?>) - Method in class org.tio.utils.hutool.ClassScanAnnotationHandler
 
handlerRunnable - Variable in class org.tio.core.ChannelContext
 
HandlerRunnable - Class in org.tio.core.task
 
HandlerRunnable(ChannelContext, Executor) - Constructor for class org.tio.core.task.HandlerRunnable
 
handleTemplateException(TemplateException, Environment, Writer) - Method in class org.tio.utils.freemarker.ShortMessageTemplateExceptionHandler
 
handshake(HttpRequest, HttpResponse, ChannelContext) - Method in interface org.tio.websocket.server.handler.IWsMsgHandler
对httpResponse参数进行补充并返回,如果返回null表示不想和对方建立连接,框架会断开连接,如果返回非null,框架会把这个对象发送给对方 注:请不要在这个方法中向对方发送任何消息,因为这个时候握手还没完成,发消息会导致协议交互失败。 对于大部分业务,该方法只需要一行代码:return httpResponse;
hash31(byte[], int, int) - Static method in class org.tio.utils.HashUtils
每位乘以31相加
hashCode() - Method in class org.tio.core.ChannelContext
 
hashCode() - Method in class org.tio.core.Node
 
hashCode() - Method in class org.tio.http.common.HeaderName
 
hashCode() - Method in class org.tio.http.common.HeaderValue
 
hashCode() - Method in class org.tio.utils.cache.redis.ExpireVo
 
hashFNV1(byte[]) - Static method in class org.tio.utils.HashUtils
 
hashFNV1(byte[], int, int) - Static method in class org.tio.utils.HashUtils
FNV1算法
HashUtils - Class in org.tio.utils
hash工具类,仅供tio内部使用,外部请勿使用
HashUtils() - Constructor for class org.tio.utils.HashUtils
 
hasTempDir - Variable in class org.tio.core.ChannelContext
 
Header() - Constructor for class org.tio.http.common.HttpMultiBodyDecoder.Header
 
HEADER_DATE_LENGTH_1 - Static variable in class org.tio.http.common.HttpResponseEncoder
 
HEADER_FIXED_LENGTH - Static variable in class org.tio.http.common.HttpResponseEncoder
 
HEADER_SERVER_LENGTH - Static variable in class org.tio.http.common.HttpResponseEncoder
 
headerBinary - Variable in enum org.tio.http.common.HttpResponseStatus
 
HeaderName - Class in org.tio.http.common
 
headers - Variable in class org.tio.http.common.HttpRequest
 
headerText - Variable in enum org.tio.http.common.HttpResponseStatus
 
HeaderValue - Class in org.tio.http.common
 
HeaderValue.Access_Control_Allow_Headers - Class in org.tio.http.common
 
HeaderValue.Access_Control_Allow_Methods - Class in org.tio.http.common
 
HeaderValue.Access_Control_Allow_Origin - Class in org.tio.http.common
 
HeaderValue.Access_Control_Max_Age - Class in org.tio.http.common
 
HeaderValue.Cache_Control - Class in org.tio.http.common
 
HeaderValue.Connection - Class in org.tio.http.common
 
HeaderValue.Content_Encoding - Class in org.tio.http.common
 
HeaderValue.Content_Type - Class in org.tio.http.common
 
HeaderValue.EnumerableValue - Class in org.tio.http.common
 
HeaderValue.Keep_Alive - Class in org.tio.http.common
 
HeaderValue.Server - Class in org.tio.http.common
 
HeaderValue.Tio_From_Cache - Class in org.tio.http.common
 
HeaderValue.Tio_Webpack_Used_Cache - Class in org.tio.http.common
 
HeaderValue.Upgrade - Class in org.tio.http.common
 
HEARTBEAT_TIMEOUT - Static variable in interface org.tio.flash.policy.server.Const
 
heartbeatPacket(ChannelContext) - Method in interface org.tio.client.intf.ClientAioHandler
创建心跳包
heartbeatPacket(ChannelContext) - Method in class org.tio.websocket.client.WsClientAioHander
 
heartbeatTimeout - Variable in class org.tio.core.ChannelContext
此值不设时,心跳时间取org.tio.core.TioConfig.heartbeatTimeout 当然这个值如果小于org.tio.core.TioConfig.heartbeatTimeout,定时检查的时间间隔还是以org.tio.core.TioConfig.heartbeatTimeout为准,只是在判断时用此值
heartbeatTimeout - Variable in class org.tio.core.TioConfig
心跳超时时间(单位: 毫秒),如果用户不希望框架层面做心跳相关工作,请把此值设为0或负数
heartbeatTimeoutCount - Variable in class org.tio.core.stat.ChannelStat
心跳超时次数
HH - Static variable in class org.tio.utils.date.DateFmt
 
HHmm - Static variable in class org.tio.utils.date.DateFmt
 
HHmmss - Static variable in class org.tio.utils.date.DateFmt
 
Host - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
HOUR_1 - Static variable in class org.tio.utils.time.Time
一小时
html(HttpRequest, String) - Static method in class org.tio.http.server.util.Resps
 
html(HttpRequest, String, String) - Static method in class org.tio.http.server.util.Resps
Content-Type: text/html;charset=utf-8
HtmlOptions - Class in org.tio.webpack.compress.html
 
HtmlOptions() - Constructor for class org.tio.webpack.compress.html.HtmlOptions
 
HtmlUtils - Class in org.tio.utils.html
 
HtmlUtils() - Constructor for class org.tio.utils.html.HtmlUtils
 
HTTP_DATETIME_PATTERN - Static variable in class org.tio.utils.hutool.DatePattern
HTTP头中日期时间格式:EEE, dd MMM yyyy HH:mm:ss z
HTTP_REQ_HANDLER - Static variable in interface org.tio.http.common.TioConfigKey
存放HttpConfig
HttpCache - Annotation Type in org.tio.http.server.annotation
 
HttpConfig - Class in org.tio.http.common
 
HttpConfig(Integer, boolean) - Constructor for class org.tio.http.common.HttpConfig
 
HttpConfig(Integer, Long, String, String) - Constructor for class org.tio.http.common.HttpConfig
 
httpConfig - Variable in class org.tio.http.common.HttpRequest
 
httpConfig - Variable in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
httpConfig - Variable in class org.tio.http.server.HttpServerAioHandler
 
HttpConst - Interface in org.tio.http.common
 
HttpConst.HttpVersion - Interface in org.tio.http.common
 
HttpConst.RequestBodyFormat - Enum in org.tio.http.common
请求体的格式
HttpConst.RequestHeaderKey - Interface in org.tio.http.common
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.tio.http.common
 
HttpConst.RequestHeaderValue.Connection - Interface in org.tio.http.common
 
HttpConst.RequestHeaderValue.Content_Type - Interface in org.tio.http.common
 
HttpConst.ResponseHeaderKey - Interface in org.tio.http.common
 
HttpConst.ResponseHeaderValue - Interface in org.tio.http.common
 
HttpConst.ResponseHeaderValue.Connection - Interface in org.tio.http.common
 
HttpConst.ResponseHeaderValue.Upgrade - Interface in org.tio.http.common
 
httpDate() - Static method in class org.tio.utils.hutool.DateUtil
当前时间生成符合http响应头中的Date格式的字符串
httpDate(Date) - Static method in class org.tio.utils.hutool.DateUtil
把date生成符合http响应头中的Date格式的字符串
httpDate(long) - Static method in class org.tio.utils.hutool.DateUtil
 
HttpDateTimer - Class in org.tio.http.common.utils
 
HttpDateTimer() - Constructor for class org.tio.http.common.utils.HttpDateTimer
 
httpDateValue - Static variable in class org.tio.http.common.utils.HttpDateTimer
 
httpDateValue() - Static method in class org.tio.http.common.utils.HttpDateTimer
 
HttpGzipUtils - Class in org.tio.http.common.utils
 
HttpMultiBodyDecoder - Class in org.tio.http.common
 
HttpMultiBodyDecoder() - Constructor for class org.tio.http.common.HttpMultiBodyDecoder
 
HttpMultiBodyDecoder.Header - Class in org.tio.http.common
 
HttpMultiBodyDecoder.MultiBodyHeaderKey - Interface in org.tio.http.common
【 Content-Disposition: form-data; name="uploadFile"; filename="" Content-Type: application/octet-stream 】 【 Content-Disposition: form-data; name="end" 】
HttpMultiBodyDecoder.Step - Enum in org.tio.http.common
 
HttpPacket - Class in org.tio.http.common
 
HttpPacket() - Constructor for class org.tio.http.common.HttpPacket
 
HttpParseUtils - Class in org.tio.http.common.utils
 
HttpRequest - Class in org.tio.http.common
 
HttpRequest(Node) - Constructor for class org.tio.http.common.HttpRequest
 
HttpRequest() - Constructor for class org.tio.http.common.HttpRequest
 
HttpRequestDecoder - Class in org.tio.http.common
http server中使用
HttpRequestDecoder() - Constructor for class org.tio.http.common.HttpRequestDecoder
 
HttpRequestDecoder.Step - Enum in org.tio.http.common
 
HttpRequestEncoder - Class in org.tio.websocket.client.httpclient
http client中使用
HttpRequestHandler - Interface in org.tio.http.common.handler
http请求处理者
HttpResource - Class in org.tio.http.common
 
HttpResource(String, InputStream, File) - Constructor for class org.tio.http.common.HttpResource
 
HttpResource() - Constructor for class org.tio.http.common.HttpResource
 
HttpResponse - Class in org.tio.http.common
 
HttpResponse() - Constructor for class org.tio.http.common.HttpResponse
 
HttpResponse(HttpRequest) - Constructor for class org.tio.http.common.HttpResponse
 
HttpResponse(Map<HeaderName, HeaderValue>, byte[]) - Constructor for class org.tio.http.common.HttpResponse
 
HttpResponseDecoder - Class in org.tio.websocket.client.httpclient
http client中使用 暂时不支持文件下载和chunk,暂时是用来做http性能测试用的
HttpResponseDecoder() - Constructor for class org.tio.websocket.client.httpclient.HttpResponseDecoder
 
HttpResponseDecoder.Step - Enum in org.tio.websocket.client.httpclient
 
HttpResponseEncoder - Class in org.tio.http.common
http server中使用
HttpResponseStatus - Enum in org.tio.http.common
本类直接摘自baseio: https://gitee.com/generallycloud/baseio
谢谢作者整理
HttpServerAioHandler - Class in org.tio.http.server
 
HttpServerAioHandler(HttpConfig, HttpRequestHandler) - Constructor for class org.tio.http.server.HttpServerAioHandler
 
HttpServerAioListener - Class in org.tio.http.server
HTTP ServerAioListener
HttpServerAioListener() - Constructor for class org.tio.http.server.HttpServerAioListener
 
HttpServerInterceptor - Interface in org.tio.http.server.intf
 
HttpServerStarter - Class in org.tio.http.server
 
HttpServerStarter(HttpConfig, HttpRequestHandler) - Constructor for class org.tio.http.server.HttpServerStarter
 
HttpServerStarter(HttpConfig, HttpRequestHandler, SynThreadPoolExecutor, ThreadPoolExecutor) - Constructor for class org.tio.http.server.HttpServerStarter
 
HttpSession - Class in org.tio.http.common.session
 
HttpSession() - Constructor for class org.tio.http.common.session.HttpSession
此处空的构造函数必须要有
HttpSession(String) - Constructor for class org.tio.http.common.session.HttpSession
 
HttpSessionListener - Interface in org.tio.http.server.intf
 
HttpSessionListener - Interface in org.tio.http.server.session
 
HttpUtils - Class in org.tio.utils.http
 
HttpUtils() - Constructor for class org.tio.utils.http.HttpUtils
 
HttpUuid - Class in org.tio.http.common
 
HttpUuid() - Constructor for class org.tio.http.common.HttpUuid
 

I

ICache - Interface in org.tio.utils.cache
 
ICache.NullClass - Class in org.tio.utils.cache
有时候需要放一个空对象到缓存中
id - Variable in class org.tio.core.TioConfig
 
Ids - Class in org.tio.core.maintain
一对一 (ChannelContext.id <--> ChannelContext)
Ids() - Constructor for class org.tio.core.maintain.Ids
 
ids - Variable in class org.tio.core.TioConfig
 
If_Modified_Since - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
IHandshakeCompletedListener - Interface in org.tio.core.ssl.facade
 
index() - Method in class org.tio.utils.hutool.FastByteBuffer
当前缓冲位于缓冲区的索引位
INDEX_NOT_FOUND - Static variable in class org.tio.utils.hutool.ArrayUtil
数组中元素未找到的下标,值为-1
INDEX_NOT_FOUND - Static variable in class org.tio.utils.hutool.StrUtil
 
indexOf(ByteBuffer, char, int) - Static method in class org.tio.core.utils.ByteBufferUtils
 
indexOf(T[], Object) - Static method in class org.tio.utils.hutool.ArrayUtil
返回数组中指定元素所在位置,未找到返回ArrayUtil.INDEX_NOT_FOUND
indexOf(CharSequence, char) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找指定字符
indexOf(CharSequence, char, int) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找指定字符
indexOf(CharSequence, char, int, int) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找指定字符
indexOf(CharSequence, CharSequence, int, boolean) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内反向查找字符串
indexOfIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找字符串,忽略大小写
indexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找字符串
init(TioConfig, AsynchronousSocketChannel) - Method in class org.tio.core.ChannelContext
 
init() - Method in class org.tio.core.ssl.SslConfig
 
init(String, ClientDecorator) - Static method in class org.tio.utils.zk.Zk
 
init() - Static method in class org.tio.webpack.compress.js.TioJsCompressor
 
initConfig(String, String, T) - Static method in class org.tio.utils.ConfigUtils
 
initConfig(String, String) - Static method in class org.tio.utils.ConfigUtils
 
initConfig(String, String, String) - Static method in class org.tio.utils.ConfigUtils
 
initConfig(String, String, String, char) - Static method in class org.tio.utils.ConfigUtils
 
initConfig(String, String, String, T) - Static method in class org.tio.utils.ConfigUtils
如果finename1存在就加载finename1,否则加载finename2
initConfig(String, String, String, char, T) - Static method in class org.tio.utils.ConfigUtils
如果finename1存在就加载finename1,否则加载finename2
initPath - Variable in class org.tio.http.common.RequestLine
 
instance - Static variable in class org.tio.http.common.session.id.impl.UUIDSessionIdGenerator
 
int2Byte(byte[], int, int) - Static method in class org.tio.websocket.common.WsServerEncoder
 
int2Str(int) - Static method in class org.tio.utils.hutool.StrUtil
用缓存将int转成str
IoUtils - Class in org.tio.utils
this class copied from org.apache.commons.io.IOUtils
IoUtils() - Constructor for class org.tio.utils.IoUtils
 
IpAccessStat - Class in org.tio.http.server.stat.ip.path
ip访问统计
IpAccessStat(Long, String) - Constructor for class org.tio.http.server.stat.ip.path.IpAccessStat
 
IpBlacklist - Class in org.tio.core.maintain
 
IpBlacklist(String, ServerTioConfig) - Constructor for class org.tio.core.maintain.IpBlacklist
 
IpBlacklist() - Constructor for class org.tio.core.Tio.IpBlacklist
 
ipBlacklist - Variable in class org.tio.core.TioConfig
ip黑名单
IpPathAccessStat - Class in org.tio.http.server.stat.ip.path
ip访问路径统计
IpPathAccessStat(Long, String, String) - Constructor for class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
IpPathAccessStatListener - Interface in org.tio.http.server.stat.ip.path
 
IpPathAccessStatRemovalListener - Class in org.tio.http.server.stat.ip.path
 
IpPathAccessStatRemovalListener(TioConfig, IpPathAccessStatListener) - Constructor for class org.tio.http.server.stat.ip.path.IpPathAccessStatRemovalListener
 
IpPathAccessStats - Class in org.tio.http.server.stat.ip.path
 
IpPathAccessStats(StatPathFilter, TioConfig, IpPathAccessStatListener, Long[]) - Constructor for class org.tio.http.server.stat.ip.path.IpPathAccessStats
 
IPropSupport - Interface in org.tio.utils.prop
属性支持接口
Ips - Class in org.tio.core.maintain
一对多 (ip <--> ChannelContext)
一个ip有哪些客户端,该维护只在Server侧有
Ips() - Constructor for class org.tio.core.maintain.Ips
 
ips - Variable in class org.tio.core.TioConfig
 
IpStat - Class in org.tio.core.stat
这个是给服务器用的,主要用于监控IP情况,随时拉黑恶意攻击IP
IpStat(String, Long) - Constructor for class org.tio.core.stat.IpStat
 
IpStatListener - Interface in org.tio.core.stat
 
IpStatRemovalListener - Class in org.tio.core.cache
 
IpStatRemovalListener(TioConfig, IpStatListener) - Constructor for class org.tio.core.cache.IpStatRemovalListener
 
IpStats - Class in org.tio.core.maintain
使用方法(注意顺序):
1、serverTioConfig.setIpStatListener(ShowcaseIpStatListener.me); 2、serverTioConfig.ipStats.addDuration(Time.MINUTE_1 * 5);
IpStats(TioConfig, Long[]) - Constructor for class org.tio.core.maintain.IpStats
 
ipStats - Variable in class org.tio.core.TioConfig
 
IpUtils - Class in org.tio.http.common.utils
 
IpUtils() - Constructor for class org.tio.http.common.utils.IpUtils
 
IPV4 - Static variable in class org.tio.utils.hutool.PatternPool
IP v4
isAbstract(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
是否为抽象类
isAppendRequestHeaderString() - Method in class org.tio.http.common.HttpConfig
 
isArray(Object) - Static method in class org.tio.utils.hutool.ArrayUtil
对象是否为数组对象
isBasicType(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
是否为基本类型(包括包装类和原始类)
isBlank(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
字符串是否为空白 空白的定义如下:
1、为null
2、为不可见字符(如空格)
3、""
isBlockSend() - Method in class org.tio.core.intf.Packet
 
isCanceled() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
 
isCheckLastVersion() - Method in class org.tio.server.TioServer
 
isClientMode() - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
isClientMode() - Method in class org.tio.core.ssl.facade.SSLFacade
 
isCloseCompleted() - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
isCloseCompleted() - Method in class org.tio.core.ssl.facade.SSLFacade
 
isClosed - Variable in class org.tio.core.ChannelContext
 
isClosed() - Method in class org.tio.http.common.HttpRequest
 
isCompatibilityAssignment() - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
isDebugEnabled() - Static method in class org.tio.core.ssl.facade.SSLLog
 
isEmpty(Collection<?>) - Static method in class org.tio.utils.hutool.CollUtil
集合是否为空
isEmpty() - Method in class org.tio.utils.hutool.FastByteBuffer
 
isEmpty(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
字符串是否为空,空的定义如下:
1、为null
2、为""
isEmpty() - Method in interface org.tio.utils.queue.FullWaitQueue
 
isEmpty() - Method in class org.tio.utils.queue.TioFullWaitQueue
 
isEnum(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
判断类是否为枚举类型
ISessionClosedListener - Interface in org.tio.core.ssl.facade
Monitors end of session notifications
ISessionIdGenerator - Interface in org.tio.http.common.session.id
 
isFirstPage() - Method in class org.tio.utils.page.Page
 
isForward() - Method in class org.tio.http.common.HttpRequest
 
isFromCluster() - Method in class org.tio.core.intf.Packet
 
isHandShake() - Method in class org.tio.websocket.common.WsPacket
是否是握手包
isHandshakeCompleted() - Method in interface org.tio.core.ssl.facade.ISSLFacade
SSL握手是否已经完成
isHandshakeCompleted() - Method in class org.tio.core.ssl.facade.SSLFacade
 
isHandshakeCompleted() - Method in class org.tio.core.ssl.SslFacadeContext
 
isHandshaked() - Method in class org.tio.websocket.common.WsSessionContext
 
isHasGzipped() - Method in class org.tio.http.common.HttpResponse
 
isHttpOnly() - Method in class org.tio.http.common.Cookie
 
isInBlacklist(String) - Method in class org.tio.core.maintain.IpBlacklist
是否在黑名单中
isInBlacklist(TioConfig, String) - Static method in class org.tio.core.Tio.IpBlacklist
是否在黑名单中
isInGroup(String, ChannelContext) - Static method in class org.tio.core.Tio
某通道是否在某群组中
isIp(String) - Static method in class org.tio.http.common.utils.IpUtils
 
isIpv4(String) - Static method in class org.tio.utils.hutool.Validator
验证是否为IPV4地址
isLastPage() - Method in class org.tio.utils.page.Page
 
isMactchRegex(Pattern, String) - Static method in class org.tio.utils.hutool.Validator
通过正则表达式验证
isMatch(String, String) - Static method in class org.tio.utils.hutool.ReUtil
给定内容是否匹配正则
isMatch(Pattern, String) - Static method in class org.tio.utils.hutool.ReUtil
给定内容是否匹配正则
isMinifyHtml() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isMobile(UserAgent) - Static method in class org.tio.utils.UAUtils
是否是
isMonitorFileChange() - Method in class org.tio.http.common.HttpConfig
 
isNeedCompress(Root, String) - Static method in class org.tio.webpack.compress.ResCompressorFactory
 
isNeededExecute() - Method in class org.tio.client.ReconnRunnable
 
isNeededExecute() - Method in class org.tio.utils.thread.pool.AbstractQueueRunnable
 
isNeededExecute() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
 
isNeedForward() - Method in class org.tio.http.common.HttpRequest
 
isNeedReconn(ClientChannelContext, boolean) - Static method in class org.tio.client.ReconnConf
 
isNeedRemove - Variable in class org.tio.core.ChannelContext.CloseMeta
 
isNeedRemove() - Method in class org.tio.core.ChannelContext.CloseMeta
 
isNormalClass(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
是否为标准的类
这个类必须:
isNotBlank(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
字符串是否为非空白 空白的定义如下:
1、不为null
2、不为不可见字符(如空格)
3、不为""
isNotEmpty(Collection<?>) - Static method in class org.tio.utils.hutool.CollUtil
集合是否为非空
isNotPublic(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
指定类是否为非public
isNotPublic(Method) - Static method in class org.tio.utils.hutool.ClassUtil
指定方法是否为非public
isNumber(String) - Static method in class org.tio.utils.hutool.Validator
是否为数字
isOk() - Method in class org.tio.utils.resp.Resp
 
isOk() - Method in class org.tio.utils.resp.RespVo
 
isPageInClasspath() - Method in class org.tio.http.common.HttpConfig
 
isPreserveLineBreaks() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isPreventCaching() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isPrimitiveWrapper(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
是否为包装类型
isProxied() - Method in class org.tio.http.common.HttpConfig
 
isPublic(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
指定类是否为Public
isPublic(Method) - Static method in class org.tio.utils.hutool.ClassUtil
指定方法是否为Public
isReconnect() - Method in class org.tio.client.ConnectionCompletionVo
 
isReconnect - Variable in class org.tio.core.ChannelContext
 
isRemoveComments() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isRemoved - Variable in class org.tio.core.ChannelContext
 
isRemoveFormAttributes() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isRemoveHttpProtocol() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isRemoveHttpsProtocol() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isRemoveInputAttributes() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isRemoveIntertagSpaces() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isRemoveJavaScriptProtocol() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isRemoveLinkAttributes() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isRemoveMutliSpaces() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isRemoveQuotes() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isRemoveScriptAttributes() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isRemoveStyleAttributes() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isSecure() - Method in class org.tio.http.common.Cookie
 
isServer() - Method in class org.tio.client.ClientChannelContext
 
isServer() - Method in class org.tio.client.ClientTioConfig
 
isServer() - Method in class org.tio.core.ChannelContext
是否是服务器端
isServer() - Method in class org.tio.core.TioConfig
是服务器端还是客户端
isServer() - Method in class org.tio.server.ServerChannelContext
 
isServer() - Method in class org.tio.server.ServerTioConfig
 
isShortConnection - Variable in class org.tio.core.TioConfig
 
isSimpleBooleanAttributes() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isSimpleDoctype() - Method in class org.tio.webpack.compress.html.HtmlOptions
 
isSimpleTypeOrArray(Class<?>) - Static method in class org.tio.http.server.util.ClassUtils
 
isSimpleTypeOrArray(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
是否简单值类型或简单值类型的数组
包括:原始类型,、String、other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class及其数组
isSimpleValueType(Class<?>) - Static method in class org.tio.utils.hutool.ClassUtil
是否为简单值类型
包括:原始类型,、String、other CharSequence, a Number, a Date, a URI, a URL, a Locale or a Class.
isSkipIpStat() - Method in class org.tio.http.common.HttpResponse
 
isSkipTokenStat() - Method in class org.tio.http.common.HttpResponse
 
ISSLFacade - Interface in org.tio.core.ssl.facade
 
ISSLListener - Interface in org.tio.core.ssl.facade
 
isSsl(TioConfig) - Static method in class org.tio.core.ssl.SslUtils
是否是SSL连接
isSsl() - Method in class org.tio.core.TioConfig
 
isSslEncrypted() - Method in class org.tio.core.intf.Packet
 
isStatic(Method) - Static method in class org.tio.utils.hutool.ClassUtil
是否为静态方法
isStaticRes() - Method in class org.tio.http.common.HttpResponse
 
isStopped() - Method in class org.tio.core.TioConfig
 
isSubEquals(CharSequence, int, CharSequence, int, int, boolean) - Static method in class org.tio.utils.hutool.StrUtil
截取两个字符串的不同部分(长度一致),判断截取的子串是否相同
任意一个字符串为null返回false
isUseSession() - Method in class org.tio.http.common.HttpConfig
 
isVar() - Method in class org.tio.http.server.mvc.PathUnitVo
 
isVirtual - Variable in class org.tio.core.ChannelContext
 
isWaitingClose - Variable in class org.tio.core.ChannelContext
 
isWaitingStop() - Method in class org.tio.server.TioServer
 
isWsEof() - Method in class org.tio.websocket.common.WsPacket
 
isWsHasMask() - Method in class org.tio.websocket.common.WsPacket
 
ITaskHandler - Interface in org.tio.core.ssl.facade
 
ITasks - Interface in org.tio.core.ssl.facade
 
IWsMsgHandler - Interface in org.tio.websocket.server.handler
 

J

J2Cache - Class in org.tio.utils.cache.j2cache
红薯家的j2cache
J2Cache(String) - Constructor for class org.tio.utils.cache.j2cache.J2Cache
 
JDK_DATETIME_PATTERN - Static variable in class org.tio.utils.hutool.DatePattern
JDK中日期时间格式:EEE MMM dd HH:mm:ss zzz yyyy
JfinalRecordSerializer - Class in org.tio.utils.jfinal
 
JfinalRecordSerializer() - Constructor for class org.tio.utils.jfinal.JfinalRecordSerializer
 
join(String[], String) - Static method in class org.tio.utils.hutool.ArrayUtil
 
js(HttpRequest, String) - Static method in class org.tio.http.server.util.Resps
Content-Type: application/javascript;charset=utf-8
js(HttpRequest, String, String) - Static method in class org.tio.http.server.util.Resps
Content-Type: application/javascript;charset=utf-8
json(HttpRequest, Object) - Static method in class org.tio.http.server.util.Resps
Content-Type: application/json;charset=utf-8
json(HttpRequest, Object, String) - Static method in class org.tio.http.server.util.Resps
Content-Type: application/json;charset=utf-8
Json - Class in org.tio.utils.json
 
Json() - Constructor for class org.tio.utils.json.Json
 
JSONP_PARAM_NAME - Static variable in class org.tio.http.common.HttpConfig
jsonp时,回调参数名

K

Keep_Alive - Static variable in class org.tio.http.common.HeaderName
 
keep_alive - Static variable in class org.tio.http.common.HeaderValue.Connection
 
Keep_Alive() - Constructor for class org.tio.http.common.HeaderValue.Keep_Alive
 
keep_alive - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Connection
 
Keep_Alive - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
keep_alive - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderValue.Connection
 
KEEP_ALIVE_TIME - Static variable in class org.tio.utils.Threads
 
keyPrefix(String) - Static method in class org.tio.utils.cache.redis.RedisCache
 
keys() - Method in class org.tio.utils.cache.caffeine.CaffeineCache
 
keys() - Method in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
keys() - Method in class org.tio.utils.cache.guava.GuavaCache
 
keys() - Method in class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
keys() - Method in interface org.tio.utils.cache.ICache
获取所有的key
keys() - Method in class org.tio.utils.cache.j2cache.J2Cache
 
keys() - Method in class org.tio.utils.cache.redis.RedisCache
 
KeyValue - Class in org.tio.http.common
 
KeyValue() - Constructor for class org.tio.http.common.KeyValue
 

L

Last_Modified - Static variable in class org.tio.http.common.HeaderName
 
Last_Modified - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
文档的最后改动时间。客户可以通过If-Modified-Since请求头提供一个日期,该请求将被视为一个条件GET, 只有改动时间迟于指定时间的文档才会返回,否则返回一个304(Not Modified)状态。Last-Modified也可用setDateHeader方法来设置。
lastIndexOf(CharSequence, CharSequence, int, boolean) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找字符串
lastIndexOfIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找字符串,忽略大小写
lastIndexOfIgnoreCase(CharSequence, CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
指定范围内查找字符串,忽略大小写
latestTimeOfReceivedByte - Variable in class org.tio.core.stat.ChannelStat
最近一次收到业务消息包的时间:收到字节就算
latestTimeOfReceivedPacket - Variable in class org.tio.core.stat.ChannelStat
最近一次收到业务消息包的时间(一个完整的业务消息包,一部分消息不算)
latestTimeOfSentByte - Variable in class org.tio.core.stat.ChannelStat
最近一次发送业务消息包的时间:发送字节就算
latestTimeOfSentPacket - Variable in class org.tio.core.stat.ChannelStat
最近一次发送业务消息包的时间(一个完整的业务消息包,一部分消息不算)
LayuiPage - Class in org.tio.utils.ui.layui.table
 
LayuiPage() - Constructor for class org.tio.utils.ui.layui.table.LayuiPage
 
LayuiPage(Collection<?>, long) - Constructor for class org.tio.utils.ui.layui.table.LayuiPage
 
LayuiPage(int) - Constructor for class org.tio.utils.ui.layui.table.LayuiPage
 
LEFT_BRACKET - Static variable in interface org.tio.utils.SysConst
左括号
LengthOverflowException - Class in org.tio.core.exception
 
LengthOverflowException() - Constructor for class org.tio.core.exception.LengthOverflowException
 
LengthOverflowException(String, Throwable, boolean, boolean) - Constructor for class org.tio.core.exception.LengthOverflowException
 
LengthOverflowException(String, Throwable) - Constructor for class org.tio.core.exception.LengthOverflowException
 
LengthOverflowException(String) - Constructor for class org.tio.core.exception.LengthOverflowException
 
LengthOverflowException(Throwable) - Constructor for class org.tio.core.exception.LengthOverflowException
 
LF - Static variable in interface org.tio.utils.SysConst
\n
LF_ - Static variable in interface org.tio.utils.SysConst
 
LF_LF - Static variable in interface org.tio.utils.SysConst
 
lineEnd(ByteBuffer) - Static method in class org.tio.core.utils.ByteBufferUtils
 
lineEnd(ByteBuffer, int) - Static method in class org.tio.core.utils.ByteBufferUtils
 
ListWithLock<T> - Class in org.tio.utils.lock
 
ListWithLock(List<T>) - Constructor for class org.tio.utils.lock.ListWithLock
 
ListWithLock(List<T>, ReentrantReadWriteLock) - Constructor for class org.tio.utils.lock.ListWithLock
 
LOCATION - Static variable in class org.tio.http.common.HeaderName
 
Location - Static variable in class org.tio.http.common.HeaderName
 
Location - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
表示客户应当到哪里去提取文档。Location通常不是直接设置的,而是通过HttpServletResponse的sendRedirect方法,该方法同时设置状态代码为302。
lock - Variable in class org.tio.core.WriteCompletionHandler
 
LockUtils - Class in org.tio.utils.lock
锁对象工具类
LockUtils() - Constructor for class org.tio.utils.lock.LockUtils
 
logstr() - Method in class org.tio.core.intf.Packet
 
logstr() - Method in class org.tio.core.task.CloseRunnable
 
logstr() - Method in class org.tio.core.task.DecodeRunnable
 
logstr() - Method in class org.tio.core.task.HandlerRunnable
 
logstr() - Method in class org.tio.core.task.SendRunnable
 
logstr() - Method in class org.tio.http.common.HttpRequest
 
logstr() - Method in class org.tio.http.common.HttpResponse
 
logstr() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
 
logstr() - Method in class org.tio.websocket.common.WsPacket
 
logWhenDecodeError - Variable in class org.tio.core.ChannelContext
解码出现异常时,是否打印异常日志 此值默认与org.tio.core.TioConfig.logWhenDecodeError保持一致
logWhenDecodeError - Variable in class org.tio.core.TioConfig
解码出现异常时,是否打印异常日志
loopFiles(String, FileFilter) - Static method in class org.tio.utils.hutool.FileUtil
递归遍历目录以及子目录中的所有文件
如果提供file为文件,直接返回过滤结果
loopFiles(File, FileFilter) - Static method in class org.tio.utils.hutool.FileUtil
递归遍历目录以及子目录中的所有文件
如果提供file为文件,直接返回过滤结果
loopFiles(String) - Static method in class org.tio.utils.hutool.FileUtil
递归遍历目录以及子目录中的所有文件
loopFiles(File) - Static method in class org.tio.utils.hutool.FileUtil
递归遍历目录以及子目录中的所有文件
lowerFirst(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
小写首字母
例如:str = Name, return name

M

MAC_ADDRESS - Static variable in class org.tio.utils.hutool.PatternPool
MAC地址正则
main(String[]) - Static method in class org.tio.core.udp.UdpClient
 
main(String[]) - Static method in class org.tio.core.udp.UdpServer
 
main(String[]) - Static method in class org.tio.http.common.session.limiter.SessionRateVo
 
main(String[]) - Static method in class org.tio.http.server.session.DomainMappingSessionCookieDecorator
 
main(String[]) - Static method in class org.tio.utils.BinaryUtils
 
main(String[]) - Static method in class org.tio.utils.cache.CacheUtils
 
main(String[]) - Static method in class org.tio.utils.crypto.ACEUtils
 
main(String[]) - Static method in class org.tio.utils.html.HtmlUtils
 
main(String[]) - Static method in class org.tio.webpack.compress.css.TioCssCompressor
 
main(String[]) - Static method in class org.tio.webpack.compress.html.TioHtmlCompressor
 
main(String[]) - Static method in class org.tio.webpack.compress.js.TioJsCompressor
 
main(String[]) - Static method in class org.tio.webpack.compress.js.YuiJsCompressor
 
MaintainUtils - Class in org.tio.core.maintain
 
MaintainUtils() - Constructor for class org.tio.core.maintain.MaintainUtils
 
map(Long) - Method in class org.tio.core.maintain.IpStats
 
map(Long) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
key: ip value: IpPathAccessStat
map(Long) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
key: token value: TokenPathAccessStat
map - Static variable in class org.tio.utils.cache.caffeine.CaffeineCache
 
map - Static variable in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
map - Static variable in class org.tio.utils.cache.guava.GuavaCache
 
map - Static variable in class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
MapWithLock<K,V> - Class in org.tio.utils.lock
 
MapWithLock() - Constructor for class org.tio.utils.lock.MapWithLock
 
MapWithLock(int) - Constructor for class org.tio.utils.lock.MapWithLock
 
MapWithLock(Map<K, V>) - Constructor for class org.tio.utils.lock.MapWithLock
 
MapWithLock(Map<K, V>, ReentrantReadWriteLock) - Constructor for class org.tio.utils.lock.MapWithLock
 
MapWithLockPropSupport - Class in org.tio.utils.prop
 
MapWithLockPropSupport() - Constructor for class org.tio.utils.prop.MapWithLockPropSupport
 
MAX_AGE_60 - Static variable in class org.tio.http.common.HeaderValue.Cache_Control
 
MAX_BODY_LENGTH - Static variable in class org.tio.websocket.common.WsPacket
 
MAX_DATA_LENGTH - Static variable in interface org.tio.core.TcpConst
 
MAX_EXPIRE_IN_LOCAL - Static variable in interface org.tio.utils.cache.ICache
在本地最大的过期时间,这样可以防止内存爆掉,单位:秒
MAX_FORWARD_COUNT - Static variable in class org.tio.http.common.HttpConfig
 
MAX_HEADER_LENGTH - Static variable in class org.tio.http.common.HttpResponseEncoder
 
MAX_HEADER_LENGTH - Static variable in class org.tio.websocket.common.WsServerEncoder
 
MAX_LENGTH_OF_BODY - Static variable in class org.tio.websocket.common.WsPacket
消息体最多为多少
MAX_LENGTH_OF_BOUNDARY - Static variable in class org.tio.http.common.HttpConfig
文件上传时,boundary值的最大长度
MAX_LENGTH_OF_HEADER - Static variable in class org.tio.http.common.HttpRequestDecoder
头部,最多有多少字节
MAX_LENGTH_OF_HEADER - Static variable in class org.tio.websocket.client.httpclient.HttpResponseDecoder
头部,最多有多少字节
MAX_LENGTH_OF_HEADERLINE - Static variable in class org.tio.http.common.HttpRequestDecoder
头部,每行最大的字节数
MAX_LENGTH_OF_HEADERLINE - Static variable in class org.tio.websocket.client.httpclient.HttpResponseDecoder
头部,每行最大的字节数
MAX_LENGTH_OF_MULTI_BODY - Static variable in class org.tio.http.common.HttpConfig
文件上传时,体的最大长度(默认值2M)
MAX_LENGTH_OF_MULTI_HEADER - Static variable in class org.tio.http.common.HttpConfig
文件上传时,头部的最大长度
MAX_LENGTH_OF_POST_BODY - Static variable in class org.tio.http.common.HttpConfig
POST体的最大长度默认值(2M)
MAX_LENGTH_OF_REQUESTLINE - Static variable in class org.tio.http.common.HttpRequestDecoder
请求行的最大长度
MAX_LENGTH_OF_RESPONSELINE - Static variable in class org.tio.websocket.client.httpclient.HttpResponseDecoder
请求行的最大长度
MAX_LING_LENGHT - Static variable in class org.tio.flash.policy.server.FlashPolicyPacket
 
MAX_LIVETIME_OF_STATICRES - Static variable in class org.tio.http.common.HttpConfig
默认的静态资源缓存时间,单位:秒
MAX_POOL_SIZE_FOR_GROUP - Static variable in class org.tio.utils.Threads
 
MAX_POOL_SIZE_FOR_TIO - Static variable in class org.tio.utils.Threads
 
maxDecodeErrorCountForIp - Variable in class org.tio.core.TioConfig
解码异常多少次就把ip拉黑
maxForwardCount - Variable in class org.tio.http.common.HttpConfig
 
maxLength(CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
限制字符串长度,如果超过指定长度,截取指定长度并在末尾加"..."
Md5 - Class in org.tio.utils.crypto
 
Md5() - Constructor for class org.tio.utils.crypto.Md5
 
Md5 - Class in org.tio.websocket.common.util
 
Md5() - Constructor for class org.tio.websocket.common.util.Md5
 
me - Static variable in class org.tio.core.stat.DefaultIpStatListener
 
me - Static variable in class org.tio.http.server.mvc.DefaultControllerFactory
 
me - Static variable in class org.tio.http.server.stat.DefaultStatPathFilter
 
me - Static variable in class org.tio.http.server.stat.token.DefaultTokenGetter
 
me - Static variable in class org.tio.utils.freemarker.ShortMessageTemplateExceptionHandler
 
me - Static variable in class org.tio.utils.jfinal.JfinalRecordSerializer
 
me - Static variable in class org.tio.webpack.compress.css.TioCssCompressor
 
me - Static variable in class org.tio.webpack.compress.html.TioHtmlCompressor
 
me - Static variable in class org.tio.webpack.compress.js.TioJsCompressor
 
ME - Static variable in class org.tio.webpack.compress.js.YuiJsCompressor
 
MEDIATYPE_JSON_UTF8 - Static variable in class org.tio.utils.http.HttpUtils
 
MessageEvent - Class in org.tio.websocket.client.event
 
MessageEvent(WsPacket) - Constructor for class org.tio.websocket.client.event.MessageEvent
 
Meta() - Constructor for class org.tio.core.intf.Packet.Meta
 
META_PATH_KEY - Static variable in class org.tio.http.server.mvc.Routes
 
Method - Enum in org.tio.http.common
 
method - Variable in class org.tio.http.common.RequestLine
 
METHOD_BEAN_MAP - Variable in class org.tio.http.server.mvc.Routes
方法和对象映射
key: method
value: bean
METHOD_PARAMNAME_MAP - Variable in class org.tio.http.server.mvc.Routes
方法参数名映射
key: method
value: ["id", "name", "scanPackages"]
METHOD_PARAMTYPE_MAP - Variable in class org.tio.http.server.mvc.Routes
方法和参数类型映射
key: method
value: [String.class, int.class]
MimeType - Enum in org.tio.http.common
本类大部分摘自github的一个项目(当时找过后,忘记记录地址,后面工到后补充进来),部分为tio作者补充,感谢作者的贡献
MIN_LENGHT - Static variable in class org.tio.flash.policy.server.FlashPolicyPacket
 
MINIMUM_HEADER_LENGTH - Static variable in class org.tio.websocket.common.WsPacket
 
MINUTE_1 - Static variable in class org.tio.utils.time.Time
一分钟
MOBILE - Static variable in class org.tio.utils.hutool.PatternPool
移动电话
ModelGenerator - Interface in org.tio.http.common.view
模板引擎model创建者
MONEY - Static variable in class org.tio.utils.hutool.PatternPool
货币
monitorFileChange - Variable in class org.tio.http.common.HttpConfig
是否监控文件变化
monitorFileChanged() - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
扫描文件变化
msg(String) - Method in class org.tio.utils.resp.Resp
 
msg(String) - Method in class org.tio.utils.resp.RespVo
 
msg - Variable in class org.tio.websocket.client.event.ErrorEvent
 
multipart_form_data - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Content_Type
文件上传

N

name - Variable in class org.tio.core.TioConfig
 
name - Variable in class org.tio.http.common.HeaderName
 
needSslEncrypt(Packet, TioConfig) - Static method in class org.tio.core.ssl.SslUtils
是否需要对这个packet进行SSL加密
newArray(Class<?>, int) - Static method in class org.tio.utils.hutool.ArrayUtil
新建一个空数组
newThread(Runnable) - Method in class org.tio.utils.thread.pool.DefaultThreadFactory
 
next() - Method in interface org.tio.core.ssl.facade.ITasks
 
next() - Method in class org.tio.core.ssl.facade.Tasks
 
nextId() - Method in class org.tio.http.common.session.id.impl.SnowflakeSessionIdGenerator
 
nextId() - Method in class org.tio.utils.hutool.Snowflake
下一个ID
Node - Class in org.tio.core
 
Node(String, int) - Constructor for class org.tio.core.Node
 
NORM_DATE_PATTERN - Static variable in class org.tio.utils.hutool.DatePattern
标准日期格式:yyyy-MM-dd
NORM_DATETIME_MINUTE_PATTERN - Static variable in class org.tio.utils.hutool.DatePattern
标准日期时间格式,精确到分:yyyy-MM-dd HH:mm
NORM_DATETIME_MS_PATTERN - Static variable in class org.tio.utils.hutool.DatePattern
标准日期时间格式,精确到毫秒:yyyy-MM-dd HH:mm:ss.SSS
NORM_DATETIME_PATTERN - Static variable in class org.tio.utils.hutool.DatePattern
标准日期时间格式,精确到秒:yyyy-MM-dd HH:mm:ss
NORM_TIME_PATTERN - Static variable in class org.tio.utils.hutool.DatePattern
标准时间格式:HH:mm:ss
noSessionCount - Variable in class org.tio.http.server.stat.ip.path.IpAccessStat
不带session的访问次数
noSessionCount - Variable in class org.tio.http.server.stat.ip.path.IpPathAccessStat
不带session的次数
NULL - Static variable in interface org.tio.utils.SysConst
 
NULL_OBJ - Static variable in interface org.tio.utils.cache.ICache
用于临时存放于缓存中的对象,防止缓存null攻击
NULL_RESPONSE - Static variable in class org.tio.http.common.HttpResponse
 
NullClass() - Constructor for class org.tio.utils.cache.ICache.NullClass
 
NUMBERS - Static variable in class org.tio.utils.hutool.PatternPool
数字

O

ObjKit - Class in org.tio.websocket.client.kit
 
ObjKit() - Constructor for class org.tio.websocket.client.kit.ObjKit
 
ObjKit.Box<T> - Class in org.tio.websocket.client.kit
 
ObjWithLock<T> - Class in org.tio.utils.lock
自带读写锁的对象.
ObjWithLock(T) - Constructor for class org.tio.utils.lock.ObjWithLock
 
ObjWithLock(T, ReentrantReadWriteLock) - Constructor for class org.tio.utils.lock.ObjWithLock
 
of(String) - Static method in class org.tio.utils.date.DateFmt
 
offset() - Method in class org.tio.utils.hutool.FastByteBuffer
 
ok() - Static method in class org.tio.utils.resp.Resp
 
ok(Object) - Static method in class org.tio.utils.resp.Resp
 
ok() - Static method in class org.tio.utils.resp.RespVo
 
ok(Object) - Static method in class org.tio.utils.resp.RespVo
 
ok(Collection<?>, long) - Static method in class org.tio.utils.ui.layui.table.LayuiPage
 
onAfterBind(ChannelContext, String) - Method in interface org.tio.core.intf.GroupListener
绑定群组后回调该方法
onAfterConnected(ChannelContext, boolean, boolean) - Method in class org.tio.core.DefaultAioListener
 
onAfterConnected(ChannelContext, boolean, boolean) - Method in interface org.tio.core.intf.AioListener
建链后触发本方法,注:建链不一定成功,需要关注参数isConnected
onAfterConnected(ChannelContext, boolean, boolean, IpStat) - Method in class org.tio.core.stat.DefaultIpStatListener
 
onAfterConnected(ChannelContext, boolean, boolean, IpStat) - Method in interface org.tio.core.stat.IpStatListener
建链后触发本方法,注:建链不一定成功,需要关注参数isConnected
onAfterConnected(ChannelContext, boolean, boolean) - Method in class org.tio.http.server.HttpServerAioListener
 
onAfterConnected(ChannelContext, boolean, boolean) - Method in class org.tio.websocket.client.WsClientAioListener
 
onAfterConnected(ChannelContext, boolean, boolean) - Method in class org.tio.websocket.server.WsServerAioListener
 
onAfterDecoded(ChannelContext, Packet, int) - Method in class org.tio.core.DefaultAioListener
 
onAfterDecoded(ChannelContext, Packet, int) - Method in interface org.tio.core.intf.AioListener
原方法名:onAfterDecoded 解码成功后触发本方法
onAfterDecoded(ChannelContext, Packet, int, IpStat) - Method in class org.tio.core.stat.DefaultIpStatListener
 
onAfterDecoded(ChannelContext, Packet, int, IpStat) - Method in interface org.tio.core.stat.IpStatListener
解码成功后
onAfterDecoded(ChannelContext, Packet, int) - Method in class org.tio.http.server.HttpServerAioListener
 
onAfterDecoded(ChannelContext, Packet, int) - Method in class org.tio.websocket.client.WsClientAioListener
 
onAfterDecoded(ChannelContext, Packet, int) - Method in class org.tio.websocket.server.WsServerAioListener
 
onAfterHandled(ChannelContext, Packet, long) - Method in class org.tio.core.DefaultAioListener
 
onAfterHandled(ChannelContext, Packet, long) - Method in interface org.tio.core.intf.AioListener
处理一个消息包后
onAfterHandled(ChannelContext, Packet, IpStat, long) - Method in class org.tio.core.stat.DefaultIpStatListener
 
onAfterHandled(ChannelContext, Packet, IpStat, long) - Method in interface org.tio.core.stat.IpStatListener
处理一个消息包后
onAfterHandled(ChannelContext, Packet, long) - Method in class org.tio.http.server.HttpServerAioListener
 
onAfterHandled(ChannelContext, Packet, long) - Method in class org.tio.websocket.client.WsClientAioListener
 
onAfterHandled(ChannelContext, Packet, long) - Method in class org.tio.websocket.server.WsServerAioListener
 
onAfterHandshaked(HttpRequest, HttpResponse, ChannelContext) - Method in interface org.tio.websocket.server.handler.IWsMsgHandler
握手成功后触发该方法
onAfterReceivedBytes(ChannelContext, int) - Method in class org.tio.core.DefaultAioListener
 
onAfterReceivedBytes(ChannelContext, int) - Method in interface org.tio.core.intf.AioListener
接收到TCP层传过来的数据后
onAfterReceivedBytes(ChannelContext, int, IpStat) - Method in class org.tio.core.stat.DefaultIpStatListener
 
onAfterReceivedBytes(ChannelContext, int, IpStat) - Method in interface org.tio.core.stat.IpStatListener
接收到一些字节数据后
onAfterReceivedBytes(ChannelContext, int) - Method in class org.tio.http.server.HttpServerAioListener
 
onAfterReceivedBytes(ChannelContext, int) - Method in class org.tio.websocket.client.WsClientAioListener
 
onAfterReceivedBytes(ChannelContext, int) - Method in class org.tio.websocket.server.WsServerAioListener
 
onAfterSent(ChannelContext, Packet, boolean) - Method in class org.tio.core.DefaultAioListener
 
onAfterSent(ChannelContext, Packet, boolean) - Method in interface org.tio.core.intf.AioListener
消息包发送之后触发本方法
onAfterSent(ChannelContext, Packet, boolean) - Method in interface org.tio.core.intf.PacketListener
 
onAfterSent(ChannelContext, Packet, boolean, IpStat) - Method in class org.tio.core.stat.DefaultIpStatListener
 
onAfterSent(ChannelContext, Packet, boolean, IpStat) - Method in interface org.tio.core.stat.IpStatListener
发送后(注:不一定会发送成功)
onAfterSent(ChannelContext, Packet, boolean) - Method in class org.tio.http.server.HttpServerAioListener
 
onAfterSent(ChannelContext, Packet, boolean) - Method in class org.tio.websocket.client.WsClientAioListener
 
onAfterSent(ChannelContext, Packet, boolean) - Method in class org.tio.websocket.server.WsServerAioListener
 
onAfterUnbind(ChannelContext, String) - Method in interface org.tio.core.intf.GroupListener
解绑群组后回调该方法
onBeforeClose(ChannelContext, Throwable, String, boolean) - Method in class org.tio.core.DefaultAioListener
 
onBeforeClose(ChannelContext, Throwable, String, boolean) - Method in interface org.tio.core.intf.AioListener
连接关闭前触发本方法
onBeforeClose(ChannelContext, Throwable, String, boolean) - Method in class org.tio.http.server.HttpServerAioListener
 
onBeforeClose(ChannelContext, Throwable, String, boolean) - Method in class org.tio.websocket.client.WsClientAioListener
 
onBeforeClose(ChannelContext, Throwable, String, boolean) - Method in class org.tio.websocket.server.WsServerAioListener
 
onBytes(WsRequest, byte[], ChannelContext) - Method in interface org.tio.websocket.server.handler.IWsMsgHandler
当收到Opcode.BINARY消息时,执行该方法。也就是说如何你的ws是基于BINARY传输的,就会走到这个方法
onChange(long) - Method in interface org.tio.utils.SystemTimer.TimerListener
 
onChanged(HttpRequest, String, String, IpAccessStat, IpPathAccessStat) - Method in interface org.tio.http.server.stat.ip.path.IpPathAccessStatListener
 
onChanged(HttpRequest, String, String, TokenAccessStat, TokenPathAccessStat) - Method in interface org.tio.http.server.stat.token.TokenPathAccessStatListener
 
onClose(WsRequest, byte[], ChannelContext) - Method in interface org.tio.websocket.server.handler.IWsMsgHandler
当收到Opcode.CLOSE时,执行该方法,业务层在该方法中一般不需要写什么逻辑,空着就好
onComplete() - Method in interface org.tio.core.ssl.facade.IHandshakeCompletedListener
 
onComplete() - Method in class org.tio.core.ssl.SslHandshakeCompletedListener
 
onDecodeError(ChannelContext, IpStat) - Method in class org.tio.core.stat.DefaultIpStatListener
 
onDecodeError(ChannelContext, IpStat) - Method in interface org.tio.core.stat.IpStatListener
解码异常时
onDirectoryChange(File) - Method in class org.tio.http.server.handler.FileChangeListener
 
onDirectoryCreate(File) - Method in class org.tio.http.server.handler.FileChangeListener
 
onDirectoryDelete(File) - Method in class org.tio.http.server.handler.FileChangeListener
 
onExpired(TioConfig, IpStat) - Method in class org.tio.core.stat.DefaultIpStatListener
 
onExpired(TioConfig, IpStat) - Method in interface org.tio.core.stat.IpStatListener
统计时间段到期后,用户可以在这个方法中实现把相关数据入库或是打日志等
onExpired(TioConfig, String, IpAccessStat) - Method in interface org.tio.http.server.stat.ip.path.IpPathAccessStatListener
 
onExpired(TioConfig, String, TokenAccessStat) - Method in interface org.tio.http.server.stat.token.TokenPathAccessStatListener
 
onFileChange(File) - Method in class org.tio.http.server.handler.FileChangeListener
 
onFileCreate(File) - Method in class org.tio.http.server.handler.FileChangeListener
 
onFileDelete(File) - Method in class org.tio.http.server.handler.FileChangeListener
 
onHeartbeatTimeout(ChannelContext, Long, int) - Method in class org.tio.core.DefaultAioListener
 
onHeartbeatTimeout(ChannelContext, Long, int) - Method in class org.tio.http.server.HttpServerAioListener
 
onHeartbeatTimeout(ChannelContext, Long, int) - Method in interface org.tio.server.intf.ServerAioListener
服务器检查到心跳超时时,会调用这个函数(一般场景,该方法只需要直接返回false即可)
onHeartbeatTimeout(ChannelContext, Long, int) - Method in class org.tio.websocket.server.WsServerAioListener
 
onPlainData(ByteBuffer) - Method in interface org.tio.core.ssl.facade.ISSLListener
业务层通过这个方法把SSL解密后的数据进行业务解包
onPlainData(ByteBuffer) - Method in class org.tio.core.ssl.SslListener
 
onRemoval(Object, Object, RemovalCause) - Method in class org.tio.core.cache.IpStatRemovalListener
 
onRemoval(Object, Object, RemovalCause) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStatRemovalListener
 
onRemoval(Object, Object, RemovalCause) - Method in class org.tio.http.server.stat.token.TokenPathAccessStatRemovalListener
 
onRemoval(K, V, RemovalCause) - Method in class org.tio.utils.cache.caffeine.DefaultRemovalListener
 
onSessionClosed() - Method in class org.tio.core.ssl.facade.DefaultOnCloseListener
 
onSessionClosed() - Method in interface org.tio.core.ssl.facade.ISessionClosedListener
 
onSessionClosed() - Method in class org.tio.core.ssl.SslSessionClosedListener
 
onStart(FileAlterationObserver) - Method in class org.tio.http.server.handler.FileChangeListener
 
onStop(FileAlterationObserver) - Method in class org.tio.http.server.handler.FileChangeListener
 
onText(WsRequest, String, ChannelContext) - Method in interface org.tio.websocket.server.handler.IWsMsgHandler
当收到Opcode.TEXT消息时,执行该方法。也就是说如何你的ws是基于TEXT传输的,就会走到这个方法
onWrappedData(SslVo) - Method in interface org.tio.core.ssl.facade.ISSLListener
业务层通过这个方法把SSL加密后的数据发出去
onWrappedData(SslVo) - Method in class org.tio.core.ssl.SslListener
 
Opcode - Enum in org.tio.websocket.common
 
OPEN - Static variable in interface org.tio.websocket.client.WebSocket
 
OpenEvent - Class in org.tio.websocket.client.event
 
OpenEvent() - Constructor for class org.tio.websocket.client.event.OpenEvent
 
org.tio.client - package org.tio.client
 
org.tio.client.intf - package org.tio.client.intf
 
org.tio.core - package org.tio.core
 
org.tio.core.cache - package org.tio.core.cache
 
org.tio.core.exception - package org.tio.core.exception
 
org.tio.core.intf - package org.tio.core.intf
 
org.tio.core.maintain - package org.tio.core.maintain
 
org.tio.core.ssl - package org.tio.core.ssl
 
org.tio.core.ssl.facade - package org.tio.core.ssl.facade
 
org.tio.core.stat - package org.tio.core.stat
 
org.tio.core.task - package org.tio.core.task
 
org.tio.core.udp - package org.tio.core.udp
 
org.tio.core.udp.intf - package org.tio.core.udp.intf
 
org.tio.core.udp.task - package org.tio.core.udp.task
 
org.tio.core.utils - package org.tio.core.utils
 
org.tio.flash.policy.server - package org.tio.flash.policy.server
 
org.tio.http.common - package org.tio.http.common
 
org.tio.http.common.handler - package org.tio.http.common.handler
 
org.tio.http.common.session - package org.tio.http.common.session
 
org.tio.http.common.session.id - package org.tio.http.common.session.id
 
org.tio.http.common.session.id.impl - package org.tio.http.common.session.id.impl
 
org.tio.http.common.session.limiter - package org.tio.http.common.session.limiter
 
org.tio.http.common.utils - package org.tio.http.common.utils
 
org.tio.http.common.view - package org.tio.http.common.view
 
org.tio.http.common.view.freemarker - package org.tio.http.common.view.freemarker
 
org.tio.http.server - package org.tio.http.server
 
org.tio.http.server.annotation - package org.tio.http.server.annotation
 
org.tio.http.server.handler - package org.tio.http.server.handler
 
org.tio.http.server.intf - package org.tio.http.server.intf
 
org.tio.http.server.mvc - package org.tio.http.server.mvc
 
org.tio.http.server.mvc.intf - package org.tio.http.server.mvc.intf
 
org.tio.http.server.session - package org.tio.http.server.session
 
org.tio.http.server.stat - package org.tio.http.server.stat
 
org.tio.http.server.stat.ip.path - package org.tio.http.server.stat.ip.path
 
org.tio.http.server.stat.token - package org.tio.http.server.stat.token
 
org.tio.http.server.util - package org.tio.http.server.util
 
org.tio.monitor - package org.tio.monitor
 
org.tio.server - package org.tio.server
 
org.tio.server.intf - package org.tio.server.intf
 
org.tio.utils - package org.tio.utils
 
org.tio.utils.cache - package org.tio.utils.cache
 
org.tio.utils.cache.caffeine - package org.tio.utils.cache.caffeine
 
org.tio.utils.cache.caffeineredis - package org.tio.utils.cache.caffeineredis
 
org.tio.utils.cache.guava - package org.tio.utils.cache.guava
 
org.tio.utils.cache.guavaredis - package org.tio.utils.cache.guavaredis
 
org.tio.utils.cache.j2cache - package org.tio.utils.cache.j2cache
 
org.tio.utils.cache.redis - package org.tio.utils.cache.redis
 
org.tio.utils.caffeine - package org.tio.utils.caffeine
 
org.tio.utils.convert - package org.tio.utils.convert
 
org.tio.utils.crypto - package org.tio.utils.crypto
 
org.tio.utils.date - package org.tio.utils.date
 
org.tio.utils.freemarker - package org.tio.utils.freemarker
 
org.tio.utils.guava - package org.tio.utils.guava
 
org.tio.utils.html - package org.tio.utils.html
 
org.tio.utils.http - package org.tio.utils.http
 
org.tio.utils.hutool - package org.tio.utils.hutool
特别说明:本包及子包的代码由hutool作者提供 不直接引用hutool的原因主要是减少本项目依赖,减少用户维护pom的烦琐度 hutool项目地址: https://gitee.com/loolly/hutool 再次感谢hutool作者路小磊的大力支持!
org.tio.utils.jfinal - package org.tio.utils.jfinal
特别说明:本包及子包的代码有部分是从jfinal中改造过来 不直接引用jfinal的原因主要是减少本项目依赖,减少用户维护pom的烦琐度 jfinal项目地址: https://gitee.com/jfinal/jfinal 感谢jfinal作者波总对开源的贡献!
org.tio.utils.json - package org.tio.utils.json
 
org.tio.utils.lock - package org.tio.utils.lock
 
org.tio.utils.page - package org.tio.utils.page
 
org.tio.utils.prop - package org.tio.utils.prop
 
org.tio.utils.quartz - package org.tio.utils.quartz
 
org.tio.utils.queue - package org.tio.utils.queue
 
org.tio.utils.resp - package org.tio.utils.resp
 
org.tio.utils.thread - package org.tio.utils.thread
 
org.tio.utils.thread.pool - package org.tio.utils.thread.pool
 
org.tio.utils.time - package org.tio.utils.time
 
org.tio.utils.ui.layui.table - package org.tio.utils.ui.layui.table
 
org.tio.utils.zk - package org.tio.utils.zk
 
org.tio.webpack.cache - package org.tio.webpack.cache
 
org.tio.webpack.compress - package org.tio.webpack.compress
 
org.tio.webpack.compress.css - package org.tio.webpack.compress.css
 
org.tio.webpack.compress.html - package org.tio.webpack.compress.html
 
org.tio.webpack.compress.js - package org.tio.webpack.compress.js
 
org.tio.webpack.model - package org.tio.webpack.model
 
org.tio.websocket.client - package org.tio.websocket.client
 
org.tio.websocket.client.config - package org.tio.websocket.client.config
 
org.tio.websocket.client.event - package org.tio.websocket.client.event
 
org.tio.websocket.client.httpclient - package org.tio.websocket.client.httpclient
 
org.tio.websocket.client.kit - package org.tio.websocket.client.kit
 
org.tio.websocket.common - package org.tio.websocket.common
 
org.tio.websocket.common.util - package org.tio.websocket.common.util
 
org.tio.websocket.server - package org.tio.websocket.server
 
org.tio.websocket.server.handler - package org.tio.websocket.server.handler
 
Origin - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 

P

P - Class in org.tio.utils.jfinal
P.
Packet - Class in org.tio.core.intf
 
Packet() - Constructor for class org.tio.core.intf.Packet
 
Packet.Meta - Class in org.tio.core.intf
 
PacketConverter - Interface in org.tio.core
 
packetConverter - Variable in class org.tio.core.TioConfig
 
PacketHandlerMode - Enum in org.tio.core
消息处理模式
packetHandlerMode - Variable in class org.tio.core.TioConfig
 
PacketListener - Interface in org.tio.core.intf
 
packetNeededLength - Variable in class org.tio.core.ChannelContext
一个packet所需要的字节数(用于应用告诉框架,下一次解码所需要的字节长度,省去冗余解码带来的性能损耗)
PacketSendMode - Enum in org.tio.core
消息发送模式
PacketUtils - Class in org.tio.core.utils
 
PacketUtils() - Constructor for class org.tio.core.utils.PacketUtils
 
Page<T> - Class in org.tio.utils.page
 
Page() - Constructor for class org.tio.utils.page.Page
 
Page(List<T>, Integer, Integer, Integer) - Constructor for class org.tio.utils.page.Page
 
Page(List<?>, Integer, Integer, Integer, Converter<T>) - Constructor for class org.tio.utils.page.Page
 
PageUtils - Class in org.tio.utils.page
 
PageUtils() - Constructor for class org.tio.utils.page.PageUtils
 
parse(String) - Static method in class org.tio.utils.UAUtils
 
parseBody(HttpMultiBodyDecoder.Header, HttpRequest, ByteBuffer, String, String, ChannelContext, HttpConfig) - Static method in class org.tio.http.common.HttpMultiBodyDecoder
 
parseBodyFormat(HttpRequest, Map<String, String>) - Static method in class org.tio.http.common.HttpRequestDecoder
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 Content-Type : application/x-www-form-urlencoded; charset=UTF-8
parseCookie(HttpConfig) - Method in class org.tio.http.common.HttpRequest
 
parseHeader(List<String>, HttpMultiBodyDecoder.Header, ChannelContext) - Static method in class org.tio.http.common.HttpMultiBodyDecoder
【 Content-Disposition: form-data; name="uploadFile"; filename="" Content-Type: application/octet-stream 】 【 Content-Disposition: form-data; name="end" 】
parseHeaderLine(ByteBuffer, Map<String, String>, int, HttpConfig) - Static method in class org.tio.http.common.HttpRequestDecoder
解析请求头的每一行
parseHeaderLine(ByteBuffer, Map<String, String>, int) - Static method in class org.tio.websocket.client.httpclient.HttpResponseDecoder
解析请求头的每一行
parseHtml(String) - Static method in class org.tio.utils.html.HtmlUtils
 
parseHtml(String, int) - Static method in class org.tio.utils.html.HtmlUtils
 
parseRequestLine(ByteBuffer, ChannelContext) - Static method in class org.tio.http.common.HttpRequestDecoder
parse request line(the first line)
parseResponseLine(ByteBuffer, ChannelContext) - Static method in class org.tio.websocket.client.httpclient.HttpResponseDecoder
parse response line(the first line)
parseToDate(String) - Static method in class org.tio.utils.hutool.DateUtil
 
parseToSqlDate(String) - Static method in class org.tio.utils.hutool.DateUtil
 
parseToTime(String) - Static method in class org.tio.utils.hutool.DateUtil
 
parseToTimestamp(String) - Static method in class org.tio.utils.hutool.DateUtil
 
parseURI(String) - Static method in class org.tio.websocket.client.kit.UriKit
 
path - Variable in class org.tio.http.common.RequestLine
 
PATH_BEAN_MAP - Variable in class org.tio.http.server.mvc.Routes
路径和对象映射
key: /user
value: object
PATH_CLASS_MAP - Variable in class org.tio.http.server.mvc.Routes
路径和class映射
只是用来打印的
key: /user
value: Class
PATH_FORWARD_MAP - Variable in class org.tio.http.server.mvc.Routes
path跟forward映射
key: 原访问路径
value: forward后的路径
譬如:原来的访问路径是/user/123,forward是/user/getById,这个相当于是一个rewrite的功能,对外路径要相对友好,对内路径一般用于业务更便捷地处理
PATH_METHOD_MAP - Variable in class org.tio.http.server.mvc.Routes
Method路径映射
key: /user/update,包含forward的路径
value: method
PATH_METHODSTR_MAP - Variable in class org.tio.http.server.mvc.Routes
Method路径映射
只是用于打印日志
key: /user/update
value: method string
PathUnitVo - Class in org.tio.http.server.mvc
 
PathUnitVo() - Constructor for class org.tio.http.server.mvc.PathUnitVo
 
PathUnitVo(boolean, String) - Constructor for class org.tio.http.server.mvc.PathUnitVo
 
PatternPool - Class in org.tio.utils.hutool
 
PatternPool() - Constructor for class org.tio.utils.hutool.PatternPool
 
PLATE_NUMBER - Static variable in class org.tio.utils.hutool.PatternPool
中国车牌号码
poll() - Method in interface org.tio.utils.queue.FullWaitQueue
read Retrieves and removes the head of this queue, or returns null if this queue is empty.
poll() - Method in class org.tio.utils.queue.TioFullWaitQueue
 
PORT - Static variable in interface org.tio.flash.policy.server.Const
 
post(String, Map<String, String>, List<String>, List<String>) - Static method in class org.tio.utils.http.HttpUtils
 
post(String, Map<String, String>, Map<String, String>) - Static method in class org.tio.utils.http.HttpUtils
 
post(String, Map<String, String>, String) - Static method in class org.tio.utils.http.HttpUtils
 
post(String, Map<String, String>) - Static method in class org.tio.utils.http.HttpUtils
 
post(String) - Static method in class org.tio.utils.http.HttpUtils
 
Pragma - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
preAccess() - Method in class org.tio.http.server.HttpServerStarter
预访问第一版功能先上,后面再优化
primitiveWrapperMap - Static variable in enum org.tio.utils.hutool.BasicType
原始类型为Key,包装类型为Value,例如: int.class =》 Integer.class.
process(ITasks) - Method in class org.tio.core.ssl.facade.DefaultTaskHandler
 
process(ITasks) - Method in interface org.tio.core.ssl.facade.ITaskHandler
 
processAfterSent(Packet, Boolean) - Method in class org.tio.core.ChannelContext
 
Prop - Class in org.tio.utils.jfinal
 
Prop(String) - Constructor for class org.tio.utils.jfinal.Prop
 
Prop(String, String) - Constructor for class org.tio.utils.jfinal.Prop
 
Prop(String, Charset) - Constructor for class org.tio.utils.jfinal.Prop
 
Prop(File) - Constructor for class org.tio.utils.jfinal.Prop
Prop constructor.
Prop(File, String) - Constructor for class org.tio.utils.jfinal.Prop
 
Prop(File, Charset) - Constructor for class org.tio.utils.jfinal.Prop
 
protocol - Variable in class org.tio.http.common.RequestLine
 
protocol - Variable in class org.tio.http.common.ResponseLine
 
PURE_DATE_PATTERN - Static variable in class org.tio.utils.hutool.DatePattern
标准日期格式:yyyyMMdd
PURE_DATETIME_MS_PATTERN - Static variable in class org.tio.utils.hutool.DatePattern
标准日期格式:yyyyMMddHHmmssSSS
PURE_DATETIME_PATTERN - Static variable in class org.tio.utils.hutool.DatePattern
标准日期格式:yyyyMMddHHmmss
PURE_TIME_PATTERN - Static variable in class org.tio.utils.hutool.DatePattern
标准日期格式:HHmmss
put(ClientChannelContext) - Static method in class org.tio.client.ReconnConf
 
put(ChannelContext) - Method in class org.tio.core.maintain.ClientNodes
添加映射
put(String, Serializable) - Method in class org.tio.utils.cache.caffeine.CaffeineCache
 
put(String, Serializable) - Method in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
put(String, Serializable) - Method in class org.tio.utils.cache.guava.GuavaCache
 
put(String, Serializable) - Method in class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
put(String, Serializable) - Method in interface org.tio.utils.cache.ICache
将key value保存到缓存中
put(String, Serializable) - Method in class org.tio.utils.cache.j2cache.J2Cache
 
put(String, Serializable) - Method in class org.tio.utils.cache.redis.RedisCache
 
put(K, V) - Method in class org.tio.utils.hutool.CustomKeyMap
 
put(K, V) - Method in class org.tio.utils.hutool.SimpleCache
放入缓存
put(Class<?>, SerializeFilter) - Static method in class org.tio.utils.json.Json
 
put(Class<?>, ObjectSerializer) - Static method in class org.tio.utils.json.Json
 
put(K, V) - Method in class org.tio.utils.lock.MapWithLock
 
putAll(Map<? extends K, ? extends V>) - Method in class org.tio.utils.hutool.CustomKeyMap
 
putAll(Map<K, V>) - Method in class org.tio.utils.lock.MapWithLock
 
putIfAbsent(K, V) - Method in class org.tio.utils.lock.MapWithLock
如果key值已经存在,则不会把新value put进去 如果key值不存在,此方法同put(key, value)
putPropertyDescriptorMap(Class<?>, Map<String, PropertyDescriptor>, boolean) - Method in enum org.tio.utils.hutool.BeanInfoCache
加入缓存
putTemporary(String, Serializable) - Method in class org.tio.utils.cache.caffeine.CaffeineCache
 
putTemporary(String, Serializable) - Method in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
putTemporary(String, Serializable) - Method in class org.tio.utils.cache.guava.GuavaCache
 
putTemporary(String, Serializable) - Method in class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
putTemporary(String, Serializable) - Method in interface org.tio.utils.cache.ICache
临时添加一个值,用于防止缓存穿透攻击
putTemporary(String, Serializable) - Method in class org.tio.utils.cache.j2cache.J2Cache
 
putTemporary(String, Serializable) - Method in class org.tio.utils.cache.redis.RedisCache
 

Q

QuartzUtils - Class in org.tio.utils.quartz
对Quartz的封装, 使用方法见:https://my.oschina.net/talenttan/blog/1550826
queryString - Variable in class org.tio.http.common.RequestLine
 

R

RateLimiterWrap - Class in org.tio.monitor
需要用本类的,需要自己引入 com.google.guava guava
RateLimiterWrap(int, int, int, int) - Constructor for class org.tio.monitor.RateLimiterWrap
 
RE_CHINESE - Static variable in class org.tio.utils.hutool.ReUtil
正则表达式匹配中文汉字
RE_CHINESES - Static variable in class org.tio.utils.hutool.ReUtil
正则表达式匹配中文字符串
RE_KEYS - Static variable in class org.tio.utils.hutool.ReUtil
正则中需要被转义的关键字
read(ByteBuffer) - Static method in class org.tio.core.utils.ByteBufferUtils
读取byte
READ_BUFFER_SIZE - Static variable in class org.tio.core.TioConfig
默认的接收数据的buffer size
readBytes(ByteBuffer, int) - Static method in class org.tio.core.utils.ByteBufferUtils
 
readBytes(File) - Static method in class org.tio.utils.hutool.FileUtil
 
ReadCompletionHandler - Class in org.tio.core
 
ReadCompletionHandler(ChannelContext) - Constructor for class org.tio.core.ReadCompletionHandler
 
readLine(ByteBuffer, String) - Static method in class org.tio.core.utils.ByteBufferUtils
 
readLine(ByteBuffer, String, Integer) - Static method in class org.tio.core.utils.ByteBufferUtils
 
readLock() - Method in class org.tio.utils.lock.ObjWithLock
获取读锁
ReadLockHandler<T> - Interface in org.tio.utils.lock
 
readShort(ByteBuffer) - Static method in class org.tio.core.utils.ByteBufferUtils
读取short
readString(ByteBuffer, int, String) - Static method in class org.tio.core.utils.ByteBufferUtils
 
readString(ByteBuffer, String, char, Integer) - Static method in class org.tio.core.utils.ByteBufferUtils
 
readString(File) - Static method in class org.tio.utils.hutool.FileUtil
 
readUB1(ByteBuffer) - Static method in class org.tio.core.utils.ByteBufferUtils
 
readUB2(ByteBuffer) - Static method in class org.tio.core.utils.ByteBufferUtils
 
readUB2WithBigEdian(ByteBuffer) - Static method in class org.tio.core.utils.ByteBufferUtils
 
readUB4(ByteBuffer) - Static method in class org.tio.core.utils.ByteBufferUtils
 
readUB4WithBigEdian(ByteBuffer) - Static method in class org.tio.core.utils.ByteBufferUtils
 
readUTF8String(File) - Static method in class org.tio.utils.hutool.FileUtil
 
ReadWriteLockHandler - Interface in org.tio.utils.lock
 
reason - Variable in class org.tio.websocket.client.event.CloseEvent
 
receivedBytes - Variable in class org.tio.core.stat.ChannelStat
本连接已接收的字节数
receivedBytes - Variable in class org.tio.core.stat.GroupStat
接收到的消息字节数
receivedPackets - Variable in class org.tio.core.stat.ChannelStat
本连接已接收的packet数
receivedPackets - Variable in class org.tio.core.stat.GroupStat
接收到的消息包
receivedTcps - Variable in class org.tio.core.stat.ChannelStat
本连接已接收了多少次TCP数据包
receivedTcps - Variable in class org.tio.core.stat.GroupStat
本IP已接收了多少次TCP数据包
reconnConf - Variable in class org.tio.client.ClientTioConfig
 
ReconnConf - Class in org.tio.client
 
ReconnConf() - Constructor for class org.tio.client.ReconnConf
 
ReconnConf(long) - Constructor for class org.tio.client.ReconnConf
 
ReconnConf(long, int) - Constructor for class org.tio.client.ReconnConf
 
reconnect(ClientChannelContext, Integer) - Method in class org.tio.client.TioClient
 
ReconnRunnable - Class in org.tio.client
 
ReconnRunnable(ClientChannelContext, TioClient, Executor) - Constructor for class org.tio.client.ReconnRunnable
 
redirect(HttpRequest, String) - Static method in class org.tio.http.server.util.Resps
重定向
redirect(HttpRequest, String, HttpResponseStatus) - Static method in class org.tio.http.server.util.Resps
 
redirectForever(HttpRequest, String) - Static method in class org.tio.http.server.util.Resps
永久重定向
redirectWithPage(HttpRequest, String) - Static method in class org.tio.http.server.util.Resps
用页面重定向
RedisCache - Class in org.tio.utils.cache.redis
 
RedisExpireUpdateTask - Class in org.tio.utils.cache.redis
定时更新redis的过期时间
Referer - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
ReflectKit - Class in org.tio.websocket.client.kit
 
ReflectKit() - Constructor for class org.tio.websocket.client.kit.ReflectKit
 
Refresh - Static variable in class org.tio.http.common.HeaderName
 
Refresh - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
表示浏览器应该在多少时间之后刷新文档,以秒计。除了刷新当前文档之外,你还可以通过setHeader("Refresh", "5; URL=http://host/path")让浏览器读取指定的页面。 注意这种功能通常是通过设置HTML页面HEAD区的<META HTTP-EQUIV="Refresh" CONTENT="5;URL=http://host/path">实现,这是因为,自动刷新或重定向对于那些不能使用CGI或Servlet的HTML编写者十分重要。但是,对于Servlet来说,直接设置Refresh头更加方便。 注意Refresh的意义是"N秒之后刷新本页面或访问指定页面",而不是"每隔N秒刷新本页面或访问指定页面"。因此,连续刷新要求每次都发送一个Refresh头,而发送204状态代码则可以阻止浏览器继续刷新,不管是使用Refresh头还是<META HTTP-EQUIV="Refresh" ...>。 注意Refresh头不属于HTTP 1.1正式规范的一部分,而是一个扩展,但Netscape和IE都支持它。
register(String, Long, Long) - Static method in class org.tio.utils.cache.caffeine.CaffeineCache
timeToLiveSeconds和timeToIdleSeconds不允许同时为null
register(String, Long, Long, RemovalListener<String, Serializable>) - Static method in class org.tio.utils.cache.caffeine.CaffeineCache
 
register(RedissonClient, String, Long, Long) - Static method in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
register(String, Long, Long) - Static method in class org.tio.utils.cache.guava.GuavaCache
timeToLiveSeconds和timeToIdleSeconds不允许同时为null
register(String, Long, Long, RemovalListener<String, Serializable>) - Static method in class org.tio.utils.cache.guava.GuavaCache
 
register(RedissonClient, String, Long, Long) - Static method in class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
register(RedissonClient, String, Long, Long) - Static method in class org.tio.utils.cache.redis.RedisCache
timeToLiveSeconds和timeToIdleSeconds不允许同时为null
rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class org.tio.utils.thread.pool.TioCallerRunsPolicy
 
remark - Variable in class org.tio.core.ChannelContext.CloseMeta
 
remove(ChannelContext) - Method in class org.tio.core.maintain.ClientNodes
Removes映射
remove(String) - Method in class org.tio.core.maintain.IpBlacklist
从黑名单中删除
remove(ChannelContext) - Static method in class org.tio.core.maintain.MaintainUtils
彻底删除,不再维护
remove(TioConfig, String) - Static method in class org.tio.core.Tio.IpBlacklist
把ip从黑名单中删除
remove(String) - Static method in class org.tio.core.Tio.IpBlacklist
删除全局黑名单
remove(ChannelContext, String) - Static method in class org.tio.core.Tio
 
remove(ChannelContext, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
和close方法对应,只不过不再进行重连等维护性的操作
remove(ChannelContext, Throwable, String) - Static method in class org.tio.core.Tio
和close方法对应,只不过不再进行重连等维护性的操作
remove(ChannelContext, Throwable, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
和close方法对应,只不过不再进行重连等维护性的操作
remove(TioConfig, String, Integer, Throwable, String) - Static method in class org.tio.core.Tio
和close方法对应,只不过不再进行重连等维护性的操作
remove(TioConfig, String, Integer, Throwable, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
删除clientip和clientPort为指定值的连接
remove(ServerTioConfig, String, String) - Static method in class org.tio.core.Tio
删除clientip为指定值的所有连接
remove(ServerTioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
删除clientip为指定值的所有连接
remove(String) - Method in class org.tio.utils.cache.caffeine.CaffeineCache
 
remove(String) - Method in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
remove(String) - Method in class org.tio.utils.cache.guava.GuavaCache
 
remove(String) - Method in class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
remove(String) - Method in interface org.tio.utils.cache.ICache
删除一个key
remove(String) - Method in class org.tio.utils.cache.j2cache.J2Cache
 
remove(String) - Method in class org.tio.utils.cache.redis.RedisCache
 
remove(K) - Method in class org.tio.utils.hutool.SimpleCache
移除缓存
remove(T) - Method in class org.tio.utils.lock.ListWithLock
 
remove(K) - Method in class org.tio.utils.lock.MapWithLock
 
remove(T) - Method in class org.tio.utils.lock.SetWithLock
 
remove(String) - Method in class org.tio.utils.prop.MapWithLockPropSupport
同:removeAttribute(String key)
removeAttribute(String) - Method in class org.tio.http.common.HttpPacket
 
removeAttribute(String, HttpConfig) - Method in class org.tio.http.common.session.HttpSession
 
removeAttribute(String) - Method in interface org.tio.utils.prop.IPropSupport
删除属性
removeAttribute(String) - Method in class org.tio.utils.prop.MapWithLockPropSupport
 
removeCache(File) - Method in class org.tio.http.server.handler.FileChangeListener
 
removeDuration(Long) - Method in class org.tio.core.maintain.IpStats
删除监控时间段
removeGroup(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭某群所有连接
removeGroup(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某群所有连接
removeHeader(String, String) - Method in class org.tio.http.common.HttpRequest
 
removeIp(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭某群所有连接
removeIp(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某群所有连接
removeMapping(String) - Method in class org.tio.http.server.session.DomainMappingSessionCookieDecorator
 
removeMonitor(Long) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
删除监控时间段
removeMonitor(Long) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
删除监控时间段
removeSet(TioConfig, SetWithLock<ChannelContext>, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
移除集合
removeToken(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭token的所有连接
removeToken(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某token的所有连接
removeUser(TioConfig, String, String) - Static method in class org.tio.core.Tio
关闭用户的所有连接
removeUser(TioConfig, String, String, ChannelContext.CloseCode) - Static method in class org.tio.core.Tio
关闭某用户的所有连接
render(String, HttpRequest) - Method in interface org.tio.http.common.view.View
 
repeat(char, int) - Static method in class org.tio.utils.hutool.StrUtil
重复某个字符
replaceAll(String, String, String) - Static method in class org.tio.utils.hutool.ReUtil
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
replaceAll(String, Pattern, String) - Static method in class org.tio.utils.hutool.ReUtil
正则替换指定值
通过正则查找到字符串,然后把匹配到的字符串加入到replacementTemplate中,$1表示分组1的字符串
REQUEST - Static variable in class org.tio.flash.policy.server.FlashPolicyPacket
 
REQUEST_KEY - Static variable in class org.tio.http.server.HttpServerAioHandler
 
REQUEST_STR - Static variable in class org.tio.flash.policy.server.FlashPolicyServerAioHandler
 
requestLine - Variable in class org.tio.http.common.HttpRequest
 
RequestLine - Class in org.tio.http.common
 
RequestLine() - Constructor for class org.tio.http.common.RequestLine
 
RequestPath - Annotation Type in org.tio.http.server.annotation
 
ResCompressor - Interface in org.tio.webpack.compress
 
ResCompressorFactory - Class in org.tio.webpack.compress
 
ResCompressorFactory() - Constructor for class org.tio.webpack.compress.ResCompressorFactory
 
reset() - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
 
reset() - Method in class org.tio.utils.hutool.FastByteBuffer
 
ResourceUtil - Class in org.tio.utils.hutool
资源工具类
ResourceUtil() - Constructor for class org.tio.utils.hutool.ResourceUtil
 
Resp - Class in org.tio.utils.resp
 
resp404(HttpRequest, RequestLine) - Method in interface org.tio.http.common.handler.HttpRequestHandler
响应404
resp404(HttpRequest, RequestLine) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
resp404(HttpRequest, RequestLine) - Method in class org.tio.http.server.handler.DispatcheHttpRequestHandler
 
resp404(HttpRequest, RequestLine, HttpConfig) - Static method in class org.tio.http.server.util.Resps
 
resp404(HttpRequest) - Static method in class org.tio.http.server.util.Resps
 
resp500(HttpRequest, RequestLine, Throwable) - Method in interface org.tio.http.common.handler.HttpRequestHandler
响应500
resp500(HttpRequest, RequestLine, Throwable) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
resp500(HttpRequest, RequestLine, Throwable) - Method in class org.tio.http.server.handler.DispatcheHttpRequestHandler
 
resp500(HttpRequest, RequestLine, HttpConfig, Throwable) - Static method in class org.tio.http.server.util.Resps
 
resp500(HttpRequest, Throwable) - Static method in class org.tio.http.server.util.Resps
 
RESPONSE - Static variable in class org.tio.flash.policy.server.FlashPolicyPacket
 
response(HttpRequest, SessionRateVo) - Method in interface org.tio.http.common.session.limiter.SessionRateLimiter
当被限流后,返回给用户的HttpResponse 如果返回null,则会断开连接
RESPONSE_BYTES - Static variable in class org.tio.flash.policy.server.FlashPolicyServerAioHandler
 
responseLine - Variable in enum org.tio.http.common.HttpResponseStatus
 
ResponseLine - Class in org.tio.http.common
 
ResponseLine(String, String, Integer, String) - Constructor for class org.tio.http.common.ResponseLine
 
responseLineBinary - Variable in enum org.tio.http.common.HttpResponseStatus
 
RespResult - Enum in org.tio.utils.resp
 
Resps - Class in org.tio.http.server.util
 
RespVo - Class in org.tio.utils.resp
 
ReUtil - Class in org.tio.utils.hutool
 
ReUtil() - Constructor for class org.tio.utils.hutool.ReUtil
 
RIGHT_BRACKET - Static variable in interface org.tio.utils.SysConst
右括号
Root - Class in org.tio.webpack.model
 
Root() - Constructor for class org.tio.webpack.model.Root
 
routes - Variable in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
Routes - Class in org.tio.http.server.mvc
 
Routes(String[]) - Constructor for class org.tio.http.server.mvc.Routes
 
Routes(String) - Constructor for class org.tio.http.server.mvc.Routes
 
Routes(String[], ControllerFactory) - Constructor for class org.tio.http.server.mvc.Routes
 
Routes(String, ControllerFactory) - Constructor for class org.tio.http.server.mvc.Routes
 
Routes(Class<?>[]) - Constructor for class org.tio.http.server.mvc.Routes
 
Routes(Class<?>) - Constructor for class org.tio.http.server.mvc.Routes
 
Routes(Class<?>[], ControllerFactory) - Constructor for class org.tio.http.server.mvc.Routes
 
Routes(Class<?>, ControllerFactory) - Constructor for class org.tio.http.server.mvc.Routes
 
run() - Method in class org.tio.core.udp.task.UdpHandlerRunnable
 
run() - Method in class org.tio.core.udp.task.UdpSendRunnable
 
run() - Method in class org.tio.flash.policy.server.FlashPolicyServerStarter.CheckRunnable
 
run(JobExecutionContext) - Method in class org.tio.utils.quartz.AbstractJobWithLog
在这里写上业务逻辑
run() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
 
runCount - Variable in class org.tio.utils.quartz.AbstractJobWithLog
 
runningLock - Variable in class org.tio.utils.thread.pool.AbstractSynRunnable
 
runTask() - Method in class org.tio.client.ReconnRunnable
 
runTask() - Method in class org.tio.core.task.CloseRunnable
 
runTask() - Method in class org.tio.core.task.DecodeRunnable
 
runTask() - Method in class org.tio.core.task.HandlerRunnable
 
runTask() - Method in class org.tio.core.task.SendRunnable
 
runTask() - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
 
runWriteOrWaitRead(String, Object, ReadWriteLockHandler) - Static method in class org.tio.utils.lock.LockUtils
用读写锁操作
1、能拿到写锁的线程会执行readWriteLockHandler.write()
2、没拿到写锁的线程,会等待获取读锁,注:获取到读锁的线程,什么也不会执行
3、当一段代码只允许被一个线程执行时,才用本函数,不要理解成同步等待了

注意:对于一些需要判断null等其它条件才执行的操作,在write()方法中建议再检查一次,这个跟double check的原理是一样的
runWriteOrWaitRead(String, Object, ReadWriteLockHandler, Long) - Static method in class org.tio.utils.lock.LockUtils
运行write或者等待读锁
1、能拿到写锁的线程会执行readWriteLockHandler.write()
2、没拿到写锁的线程,会等待获取读锁,注:获取到读锁的线程,什么也不会执行
3、当一段代码只允许被一个线程执行时,才用本函数,不要理解成同步等待了

注意:对于一些需要判断null等其它条件才执行的操作,在write()方法中建议再检查一次,这个跟double check的原理是一样的

S

scanPackage(String, ClassScanHandler) - Static method in class org.tio.utils.hutool.ClassUtil
扫描包路径下所有的class文件 代码摘自网上(https://gitee.com/liuyueyi/quicksilver/blob/master/silver-file/src/main/java/com.hust.hui.quicksilver.file/PkgUtil.java),但作了不少改造
searchByRegex(String, String) - Static method in class org.tio.http.common.Cookie
 
Sec_WebSocket_Accept - Static variable in class org.tio.http.common.HeaderName
 
Sec_WebSocket_Accept - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
Sec_WebSocket_Extensions - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Sec_WebSocket_Key - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Sec_WebSocket_Version - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
SECOND_1 - Static variable in class org.tio.utils.time.Time
一秒
SEMI_COL - Static variable in interface org.tio.utils.SysConst
;
send(ChannelContext, Packet) - Static method in class org.tio.core.Tio
发送消息到指定ChannelContext
send(TioConfig, String, int, Packet) - Static method in class org.tio.core.Tio
发送到指定的ip和port
send(byte[]) - Method in class org.tio.core.udp.UdpClient
 
send(String) - Method in class org.tio.core.udp.UdpClient
 
send(String, String) - Method in class org.tio.core.udp.UdpClient
 
send(byte[], Node) - Method in class org.tio.core.udp.UdpServer
 
send(String, Node) - Method in class org.tio.core.udp.UdpServer
 
send(String, String, Node) - Method in class org.tio.core.udp.UdpServer
 
send(byte[]) - Method in interface org.tio.websocket.client.WebSocket
Send message to server
send(ByteBuffer) - Method in interface org.tio.websocket.client.WebSocket
Send message to server
send(String) - Method in interface org.tio.websocket.client.WebSocket
Send message to server
send(WsPacket) - Method in interface org.tio.websocket.client.WebSocket
Send packet to server
send(String) - Method in class org.tio.websocket.client.WebSocketImpl
 
send(WsPacket) - Method in class org.tio.websocket.client.WebSocketImpl
 
sendByteBuffer(ByteBuffer, Object) - Method in class org.tio.core.task.SendRunnable
 
sendPacket(Packet) - Method in class org.tio.core.task.SendRunnable
 
sendRunnable - Variable in class org.tio.core.ChannelContext
 
SendRunnable - Class in org.tio.core.task
 
SendRunnable(ChannelContext, Executor) - Constructor for class org.tio.core.task.SendRunnable
 
sendToAll(TioConfig, Packet) - Static method in class org.tio.core.Tio
 
sendToAll(TioConfig, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到所有连接
sendToBsId(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息给指定业务ID
sendToGroup(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息到组
sendToGroup(TioConfig, String, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到组
sendToId(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息给指定ChannelContext id
sendToIp(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发送到指定ip对应的集合
sendToIp(TioConfig, String, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发送到指定ip对应的集合
sendToSet(TioConfig, SetWithLock<ChannelContext>, Packet, ChannelContextFilter) - Static method in class org.tio.core.Tio
发消息到指定集合
sendToToken(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息到指定token
sendToUser(TioConfig, String, Packet) - Static method in class org.tio.core.Tio
发消息给指定用户
sentBytes - Variable in class org.tio.core.stat.ChannelStat
本连接已发送的字节数
sentBytes - Variable in class org.tio.core.stat.GroupStat
发送了的字节数
sentPackets - Variable in class org.tio.core.stat.ChannelStat
本连接已发送的packet数
sentPackets - Variable in class org.tio.core.stat.GroupStat
发送了的消息包数
Server - Static variable in class org.tio.http.common.HeaderName
 
Server() - Constructor for class org.tio.http.common.HeaderValue.Server
 
Server - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
服务器名字。Servlet一般不设置这个值,而是由Web服务器自己设置。
SERVER_INFO - Static variable in interface org.tio.http.common.HttpConst
 
ServerAioHandler - Interface in org.tio.server.intf
 
ServerAioListener - Interface in org.tio.server.intf
 
ServerChannelContext - Class in org.tio.server
 
ServerChannelContext(TioConfig, AsynchronousSocketChannel) - Constructor for class org.tio.server.ServerChannelContext
 
ServerChannelContext(TioConfig) - Constructor for class org.tio.server.ServerChannelContext
创建一个虚拟ChannelContext,主要用来模拟一些操作,真实场景中用得少
ServerChannelContext(TioConfig, String) - Constructor for class org.tio.server.ServerChannelContext
创建一个虚拟ChannelContext,主要用来模拟一些操作,譬如压力测试,真实场景中用得少
ServerGroupStat - Class in org.tio.server
 
ServerGroupStat() - Constructor for class org.tio.server.ServerGroupStat
 
serverTioConfig - Static variable in class org.tio.flash.policy.server.FlashPolicyServerStarter
 
ServerTioConfig - Class in org.tio.server
 
ServerTioConfig(ServerAioHandler, ServerAioListener) - Constructor for class org.tio.server.ServerTioConfig
 
ServerTioConfig(String, ServerAioHandler, ServerAioListener) - Constructor for class org.tio.server.ServerTioConfig
 
ServerTioConfig(ServerAioHandler, ServerAioListener, SynThreadPoolExecutor, ThreadPoolExecutor) - Constructor for class org.tio.server.ServerTioConfig
 
ServerTioConfig(String, ServerAioHandler, ServerAioListener, SynThreadPoolExecutor, ThreadPoolExecutor) - Constructor for class org.tio.server.ServerTioConfig
 
SESSION_CACHE_NAME - Static variable in class org.tio.http.common.HttpConfig
存放HttpSession对象的cacheName
SESSION_COOKIE_NAME - Static variable in class org.tio.http.common.HttpConfig
存放sessionId的cookie value
SESSION_KEY - Static variable in interface org.tio.websocket.common.WsConst
 
SessionCookieDecorator - Interface in org.tio.http.server.session
 
sessionId(HttpConfig, HttpRequest) - Method in class org.tio.http.common.session.id.impl.SnowflakeSessionIdGenerator
 
sessionId(HttpConfig, HttpRequest) - Method in class org.tio.http.common.session.id.impl.UUIDSessionIdGenerator
 
sessionId(HttpConfig, HttpRequest) - Method in interface org.tio.http.common.session.id.ISessionIdGenerator
 
sessionIds - Variable in class org.tio.http.server.stat.ip.path.IpAccessStat
这个ip下的所有sessionid
sessionRateLimiter - Variable in class org.tio.http.common.HttpConfig
 
SessionRateLimiter - Interface in org.tio.http.common.session.limiter
session限流接口
SessionRateVo - Class in org.tio.http.common.session.limiter
 
SessionRateVo(String) - Constructor for class org.tio.http.common.session.limiter.SessionRateVo
 
set(Object) - Method in class org.tio.core.ChannelContext
Deprecated.
不建议各位同学使用这个方法,建议使用set("name1", object1)
set(String, Object) - Method in class org.tio.utils.prop.MapWithLockPropSupport
同:setAttribute(String key, Object value)
SET_COOKIE - Static variable in class org.tio.http.common.HeaderName
 
Set_Cookie - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
setAccessCount(AtomicInteger) - Method in class org.tio.http.common.session.limiter.SessionRateVo
 
setAccessible(Method) - Static method in class org.tio.utils.hutool.ClassUtil
设置方法为可访问
setAllowDomains(String[]) - Method in class org.tio.http.common.HttpConfig
 
setAllWarnCount(AtomicInteger) - Method in class org.tio.monitor.RateLimiterWrap
 
setAppendRequestHeaderString(boolean) - Method in class org.tio.http.common.HttpConfig
 
setAsynchronousSocketChannel(AsynchronousSocketChannel) - Method in class org.tio.client.ConnectionCompletionVo
 
setAsynchronousSocketChannel(AsynchronousSocketChannel) - Method in class org.tio.core.ChannelContext
 
setAttribute(Object) - Method in class org.tio.core.ChannelContext
Deprecated.
不建议各位同学使用这个方法,建议使用set("name1", object1)
setAttribute(String, Serializable) - Method in class org.tio.http.common.HttpPacket
设置属性
setAttribute(String, Serializable, HttpConfig) - Method in class org.tio.http.common.session.HttpSession
设置会话属性
setAttribute(String, Object) - Method in interface org.tio.utils.prop.IPropSupport
设置属性
setAttribute(String, Object) - Method in class org.tio.utils.prop.MapWithLockPropSupport
 
setBetweenMs(long) - Method in class org.tio.utils.hutool.BetweenFormater
设置 时长毫秒数
setBindIp(String) - Method in class org.tio.client.ClientChannelContext
 
setBindIp(String) - Method in class org.tio.client.ConnectionCompletionVo
 
setBindIp(String) - Method in class org.tio.http.common.HttpConfig
 
setBindPort(Integer) - Method in class org.tio.client.ClientChannelContext
 
setBindPort(Integer) - Method in class org.tio.client.ConnectionCompletionVo
 
setBlockSend(boolean) - Method in class org.tio.core.intf.Packet
 
setBody(byte[]) - Method in class org.tio.http.common.HttpPacket
 
setBody(byte[]) - Method in class org.tio.websocket.common.WsPacket
 
setBodyFormat(HttpConst.RequestBodyFormat) - Method in class org.tio.http.common.HttpRequest
 
setBodys(byte[][]) - Method in class org.tio.websocket.common.WsPacket
 
setBodyString(String) - Method in class org.tio.http.common.HttpRequest
 
setBsId(String) - Method in class org.tio.core.ChannelContext
 
setByteBuffer(ByteBuffer) - Method in class org.tio.core.ssl.SslVo
 
setByteCount(int) - Method in class org.tio.core.intf.Packet
 
setByteOrder(ByteOrder) - Method in class org.tio.core.TioConfig
 
setBytes(byte[]) - Method in class org.tio.core.intf.EncodedPacket
 
setBytes(byte[]) - Method in class org.tio.http.common.Cookie
 
setCacheName(String) - Method in class org.tio.utils.cache.AbsCache
 
setCacheName(String) - Method in class org.tio.utils.cache.CacheChangedVo
 
setCacheName(String) - Method in class org.tio.utils.cache.redis.ExpireVo
 
setCanceled(boolean) - Method in class org.tio.utils.thread.pool.AbstractSynRunnable
 
setChannelContext(ClientChannelContext) - Method in class org.tio.client.ConnectionCompletionVo
 
setChannelContext(ChannelContext) - Method in class org.tio.http.common.HttpRequest
 
setChannelContextComparator(Comparator<ChannelContext>) - Method in class org.tio.core.maintain.Groups
 
setCharset(String) - Method in class org.tio.core.udp.UdpConf
 
setCharset(String) - Method in class org.tio.http.common.HttpConfig
 
setCharset(String) - Method in class org.tio.http.common.HttpRequest
 
setCharset(String) - Method in class org.tio.http.common.HttpResponse
 
setCheckHost(boolean) - Method in class org.tio.http.common.HttpConfig
 
setCheckLastVersion(boolean) - Method in class org.tio.server.TioServer
 
setClientAioHandler(ClientAioHandler) - Method in class org.tio.client.ClientTioConfig
 
setClientAioListener(ClientAioListener) - Method in class org.tio.client.ClientTioConfig
 
setClientId(String) - Method in class org.tio.utils.cache.CacheChangedVo
 
setClientNode(Node) - Method in class org.tio.core.ChannelContext
 
setClientTioConfig(ClientTioConfig) - Method in class org.tio.client.TioClient
 
setCloseCode(ChannelContext.CloseCode) - Method in class org.tio.core.ChannelContext
 
setClosed(boolean) - Method in class org.tio.core.ChannelContext
 
setClosed(boolean) - Method in class org.tio.http.common.HttpRequest
 
setCloseListener(ISessionClosedListener) - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
setCloseListener(ISessionClosedListener) - Method in class org.tio.core.ssl.facade.SSLFacade
 
setCode(Integer) - Method in class org.tio.utils.resp.Resp
 
setCode(Integer) - Method in class org.tio.utils.resp.RespVo
 
setCode(int) - Method in class org.tio.utils.ui.layui.table.LayuiPage
 
setCompatibilityAssignment(boolean) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
setCompatible1_0(boolean) - Method in class org.tio.http.common.HttpConfig
 
setCompress(Compress) - Method in class org.tio.webpack.model.Root
 
setCompressedBytes(byte[]) - Method in class org.tio.webpack.cache.CacheVo
 
setConfiguration(Configuration) - Method in class org.tio.http.common.view.freemarker.FreemarkerConfig
 
setConnection(String) - Method in class org.tio.http.common.HttpRequest
 
setConnectionCompletionHandler(ConnectionCompletionHandler) - Method in class org.tio.client.ClientTioConfig
 
setConsole(Console) - Method in class org.tio.webpack.model.Root
 
setContentDisposition(String) - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
setContentLength(int) - Method in class org.tio.http.common.HttpRequest
 
setContentType(String) - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
setCookieMap(Map<String, Cookie>) - Method in class org.tio.http.common.HttpRequest
 
setCookies(List<Cookie>) - Method in class org.tio.http.common.HttpRequest
 
setCookies(List<Cookie>) - Method in class org.tio.http.common.HttpResponse
 
setCount(long) - Method in class org.tio.utils.ui.layui.table.LayuiPage
 
setCountDownLatch(CountDownLatch) - Method in class org.tio.client.ConnectionCompletionVo
 
setCountDownLatch(CountDownLatch) - Method in class org.tio.core.intf.Packet.Meta
 
setCreateTime(long) - Method in class org.tio.http.common.HttpRequest
 
setCreateTime(long) - Method in class org.tio.http.common.session.HttpSession
 
setCss(boolean) - Method in class org.tio.webpack.model.Compress
 
setCurrUseridGetter(CurrUseridGetter) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
 
setData(byte[]) - Method in class org.tio.core.udp.UdpPacket
 
setData(byte[]) - Method in class org.tio.http.common.UploadFile
 
setData(Object) - Method in class org.tio.utils.resp.Resp
 
setData(Object) - Method in class org.tio.utils.resp.RespVo
 
setData(Collection<Object>) - Method in class org.tio.utils.ui.layui.table.LayuiPage
 
setData(String, byte[]) - Static method in class org.tio.utils.zk.Zk
 
setData(String, String) - Static method in class org.tio.utils.zk.Zk
 
setDatacenterid(Integer) - Static method in class org.tio.utils.Uuid
 
setDebug(boolean) - Method in class org.tio.webpack.model.Root
 
setDebugEnabled(boolean) - Static method in class org.tio.core.ssl.facade.SSLLog
 
setDev(boolean) - Method in class org.tio.webpack.model.Root
 
setDomain(String) - Method in class org.tio.http.common.Cookie
 
setDomain(String) - Method in class org.tio.http.server.session.DomainSessionCookieDecorator
 
setDuration(long) - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
setDuration(long) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
setDuration(long) - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
setDuration(long) - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
setDurationType(Long) - Method in class org.tio.core.stat.IpStat
 
setDurationType(Long) - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
setDurationType(Long) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
setDurationType(Long) - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
setDurationType(Long) - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
setError(boolean) - Method in class org.tio.webpack.model.Console
 
setExpires(String) - Method in class org.tio.http.common.Cookie
 
setField(Object, String, Object) - Static method in class org.tio.websocket.client.kit.ReflectKit
 
setFile(File) - Method in class org.tio.http.common.HttpResource
 
setFilename(String) - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
setFirstAccessTime(long) - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
setFirstAccessTime(long) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
setFirstAccessTime(long) - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
setFirstAccessTime(long) - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
setForward(boolean) - Method in class org.tio.http.common.HttpRequest
 
setFreemarkerConfig(FreemarkerConfig) - Method in class org.tio.http.common.HttpConfig
 
setFromCluster(boolean) - Method in class org.tio.core.intf.Packet
 
setGroupListener(GroupListener) - Method in class org.tio.core.TioConfig
 
setHandShake(boolean) - Method in class org.tio.websocket.common.WsPacket
 
setHandshakeCompleted(boolean) - Method in class org.tio.core.ssl.SslFacadeContext
 
setHandshakeCompletedListener(IHandshakeCompletedListener) - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
setHandshakeCompletedListener(IHandshakeCompletedListener) - Method in class org.tio.core.ssl.facade.SSLFacade
 
setHandshaked(boolean) - Method in class org.tio.websocket.common.WsSessionContext
 
setHandshakeRequest(HttpRequest) - Method in class org.tio.websocket.common.WsSessionContext
 
setHandshakeResponse(HttpResponse) - Method in class org.tio.websocket.common.WsSessionContext
 
setHasGzipped(boolean) - Method in class org.tio.http.common.HttpResponse
 
setHeaders(Map<String, String>) - Method in class org.tio.http.common.HttpRequest
设置好header后,会把cookie等头部信息也设置好
setHeaderString(String) - Method in class org.tio.http.common.HttpPacket
 
setHeartbeatTimeout(Long) - Method in class org.tio.core.ChannelContext
 
setHeartbeatTimeout(long) - Method in class org.tio.core.TioConfig
 
setHtml(boolean) - Method in class org.tio.webpack.model.Compress
 
setHttpConfig(HttpConfig) - Method in class org.tio.http.common.HttpRequest
 
setHttpConfig(HttpConfig) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
setHttpConfig(HttpConfig) - Method in class org.tio.http.server.HttpServerAioHandler
 
setHttpConfig(WsServerConfig) - Method in class org.tio.websocket.server.WsServerAioHandler
 
setHttpOnly(boolean) - Method in class org.tio.http.common.Cookie
 
setHttpRequestHandler(HttpRequestHandler) - Method in class org.tio.http.common.HttpConfig
 
setHttpRequestHandler(HttpRequestHandler) - Method in class org.tio.http.server.HttpServerStarter
 
setHttpRequestPacket(HttpRequest) - Method in class org.tio.http.common.HttpResponse
 
setHttpServerInterceptor(HttpServerInterceptor) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
setHttpSession(HttpSession) - Method in class org.tio.http.common.HttpRequest
 
setHttpSessionListener(HttpSessionListener) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
setId(Long) - Method in class org.tio.core.intf.Packet
 
setId(String) - Method in class org.tio.http.common.session.HttpSession
 
setInfo(boolean) - Method in class org.tio.webpack.model.Console
 
setInitBytes(byte[]) - Method in class org.tio.webpack.cache.CacheVo
 
setInitPath(String) - Method in class org.tio.http.common.RequestLine
 
setInputStream(InputStream) - Method in class org.tio.http.common.HttpResource
 
setInterval(long) - Method in class org.tio.client.ReconnConf
 
setIp(String) - Method in class org.tio.core.Node
 
setIp(String) - Method in class org.tio.core.stat.IpStat
 
setIp(String) - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
setIp(String) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
setIp(String) - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
setIp(String) - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
setIpPathAccessStatMap(MapWithLock<String, IpPathAccessStat>) - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
setIpPathAccessStats(IpPathAccessStats) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
setIpStatListener(IpStatListener) - Method in class org.tio.core.TioConfig
 
setIsAjax(Boolean) - Method in class org.tio.http.common.HttpRequest
 
setIsSentSuccess(Boolean) - Method in class org.tio.core.intf.Packet.Meta
 
setIsSupportGzip(Boolean) - Method in class org.tio.http.common.HttpRequest
 
setJs(boolean) - Method in class org.tio.webpack.model.Compress
 
setJsonpParamName(String) - Method in class org.tio.http.common.HttpConfig
 
setKey(String) - Method in class org.tio.http.common.KeyValue
 
setKey(String) - Method in class org.tio.utils.cache.CacheChangedVo
 
setKey(String) - Method in class org.tio.utils.cache.redis.ExpireVo
 
setKeyManagerFactory(KeyManagerFactory) - Method in class org.tio.core.ssl.SslConfig
 
setLastAccessTime(long) - Method in class org.tio.http.common.session.limiter.SessionRateVo
 
setLastAccessTime(long) - Method in class org.tio.http.server.stat.ip.path.IpAccessStat
 
setLastAccessTime(long) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
setLastAccessTime(long) - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
setLastAccessTime(long) - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
setLastModified(HeaderValue) - Method in class org.tio.http.common.HttpResponse
 
setLastModified(long) - Method in class org.tio.http.server.handler.FileCache
 
setLastParts(List<byte[]>) - Method in class org.tio.websocket.common.WsSessionContext
 
setLastWarnTime(long) - Method in class org.tio.monitor.RateLimiterWrap
 
setLatestTimeOfReceivedByte(long) - Method in class org.tio.core.stat.ChannelStat
 
setLatestTimeOfSentByte(long) - Method in class org.tio.core.stat.ChannelStat
 
setLatestTimeOfSentPacket(long) - Method in class org.tio.core.stat.ChannelStat
 
setLevel(BetweenFormater.Level) - Method in class org.tio.utils.hutool.BetweenFormater
设置格式化级别
setList(List<T>) - Method in class org.tio.utils.page.Page
 
setLog(boolean) - Method in class org.tio.webpack.model.Console
 
setMap(Map<String, String>) - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
setMaxAge(Long) - Method in class org.tio.http.common.Cookie
 
setMaxAllWarnCount(int) - Method in class org.tio.monitor.RateLimiterWrap
 
setMaxForwardCount(int) - Method in class org.tio.http.common.HttpConfig
 
setMaxLengthOfMultiBody(int) - Method in class org.tio.http.common.HttpConfig
 
setMaxLengthOfPostBody(int) - Method in class org.tio.http.common.HttpConfig
 
setMaxLiveTimeOfStaticRes(int) - Method in class org.tio.http.common.HttpConfig
 
setMaxWarnCount(int) - Method in class org.tio.monitor.RateLimiterWrap
 
setMeta(Packet.Meta) - Method in class org.tio.core.intf.Packet
 
setMethod(Method) - Method in class org.tio.http.common.RequestLine
 
setMethod(Method) - Method in class org.tio.http.server.mvc.VariablePathVo
 
setMinifyHtml(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setModelGenerator(ModelGenerator) - Method in class org.tio.http.common.view.freemarker.FreemarkerConfig
 
setMonitorFileChange(boolean) - Method in class org.tio.http.common.HttpConfig
 
setMsg(String) - Method in class org.tio.utils.resp.Resp
 
setMsg(String) - Method in class org.tio.utils.resp.RespVo
 
setMsg(String) - Method in class org.tio.utils.ui.layui.table.LayuiPage
 
setName(String) - Method in class org.tio.core.TioConfig
 
setName(String) - Method in class org.tio.http.common.Cookie
 
setName(String) - Method in class org.tio.http.common.HttpConfig
 
setName(String) - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
setName(String) - Method in class org.tio.http.common.UploadFile
 
setName(String) - Method in class org.tio.utils.thread.pool.SynThreadPoolExecutor
Sets the name.
setNeedForward(boolean) - Method in class org.tio.http.common.HttpRequest
 
setNeedRemove(boolean) - Method in class org.tio.core.ChannelContext.CloseMeta
 
setNewReceivedByteBuffer(ByteBuffer) - Method in class org.tio.core.task.DecodeRunnable
 
setObj(T) - Method in class org.tio.utils.lock.ObjWithLock
 
setOnClose(Consumer<CloseEvent>) - Method in class org.tio.websocket.client.config.WsClientConfig
 
setOnError(Consumer<ErrorEvent>) - Method in class org.tio.websocket.client.config.WsClientConfig
 
setOnMessage(Consumer<MessageEvent>) - Method in class org.tio.websocket.client.config.WsClientConfig
 
setOnOpen(Consumer<OpenEvent>) - Method in class org.tio.websocket.client.config.WsClientConfig
 
setOnThrows(Consumer<Throwable>) - Method in class org.tio.websocket.client.config.WsClientConfig
 
setPacketHandlerMode(PacketHandlerMode) - Method in class org.tio.core.TioConfig
 
setPacketListener(PacketListener) - Method in class org.tio.core.intf.Packet
 
setPacketNeededLength(Integer) - Method in class org.tio.core.ChannelContext
 
setPage404(String) - Method in class org.tio.http.common.HttpConfig
 
setPage500(String) - Method in class org.tio.http.common.HttpConfig
 
setPageInClasspath(boolean) - Method in class org.tio.http.common.HttpConfig
 
setPageNumber(Integer) - Method in class org.tio.utils.page.Page
 
setPageRoot(String) - Method in class org.tio.http.common.HttpConfig
 
setPageSize(Integer) - Method in class org.tio.utils.page.Page
 
setParams(Map<String, Object[]>) - Method in class org.tio.http.common.HttpRequest
 
setPath(String) - Method in class org.tio.http.common.Cookie
 
setPath(String) - Method in class org.tio.http.common.HttpResource
 
setPath(String) - Method in class org.tio.http.common.RequestLine
譬如http://www.163.com/user/get?value=tan&id=789,那些此值就是/user/get
setPath(String) - Method in class org.tio.http.common.session.limiter.SessionRateVo
 
setPath(String) - Method in class org.tio.http.server.mvc.PathUnitVo
对于/user/{userid}来说,此值是userid
setPath(String) - Method in class org.tio.http.server.mvc.VariablePathVo
原path,形如/user/{userid}
setPath(String) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStat
 
setPath(String) - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
setPath(String) - Method in class org.tio.webpack.cache.CacheVo
 
setPathUnits(PathUnitVo[]) - Method in class org.tio.http.server.mvc.VariablePathVo
对于/user/{userid},就是["user", "userid"]
setPort(int) - Method in class org.tio.core.Node
 
setPreEncodedByteBuffer(ByteBuffer) - Method in class org.tio.core.intf.Packet
 
setPreserveLineBreaks(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setPreventCaching(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setProtocol(String) - Method in class org.tio.http.common.RequestLine
 
setProxied(boolean) - Method in class org.tio.http.common.HttpConfig
 
setProxyClientNode(Node) - Method in class org.tio.core.ChannelContext
 
setQueryString(String) - Method in class org.tio.http.common.RequestLine
譬如http://www.163.com/user/get?value=tan&id=789,那些此值就是name=tan&id=789
setRateLimiter(RateLimiter) - Method in class org.tio.monitor.RateLimiterWrap
 
setReadBufferSize(Integer) - Method in class org.tio.core.ChannelContext
 
setReadBufferSize(int) - Method in class org.tio.core.TioConfig
 
setReadBufferSize(int) - Method in class org.tio.core.udp.UdpServerConf
 
setReconnConf(ReconnConf) - Method in class org.tio.client.ClientTioConfig
 
setReconnCount(AtomicInteger) - Method in class org.tio.client.ClientChannelContext
 
setReconnect(boolean) - Method in class org.tio.client.ConnectionCompletionVo
 
setReconnect(boolean) - Method in class org.tio.core.ChannelContext
 
setReconnRunnable(ReconnRunnable) - Method in class org.tio.client.ClientChannelContext
 
setRemark(String) - Method in class org.tio.core.ChannelContext.CloseMeta
 
setRemote(Node) - Method in class org.tio.core.udp.UdpPacket
 
setRemote(Node) - Method in class org.tio.http.common.HttpRequest
 
setRemoveComments(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRemoved(boolean) - Method in class org.tio.core.ChannelContext
 
setRemoveFormAttributes(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRemoveHttpProtocol(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRemoveHttpsProtocol(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRemoveInputAttributes(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRemoveIntertagSpaces(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRemoveJavaScriptProtocol(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRemoveLinkAttributes(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRemoveMutliSpaces(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRemoveQuotes(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRemoveScriptAttributes(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRemoveStyleAttributes(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setRequestLine(RequestLine) - Method in class org.tio.http.common.HttpRequest
 
setRespForBlackIp(HttpResponse) - Method in class org.tio.http.common.HttpConfig
 
setRespId(Long) - Method in class org.tio.core.intf.Packet
 
setResponse(HttpResponse) - Method in class org.tio.http.server.handler.FileCache
 
setResponseLineBinary(byte[]) - Method in enum org.tio.http.common.HttpResponseStatus
 
setRetryCount(int) - Method in class org.tio.client.ReconnConf
连续重连次数,当连续重连这么多次都失败时,不再重连。0和负数则一直重连
setSecure(boolean) - Method in class org.tio.http.common.Cookie
 
setServerAioListener(ServerAioListener) - Method in class org.tio.server.ServerTioConfig
 
setServerInfo(String) - Method in class org.tio.http.common.HttpConfig
 
setServerNode(Node) - Method in class org.tio.client.ConnectionCompletionVo
 
setServerNode(Node) - Method in class org.tio.core.ChannelContext
 
setServerNode(Node) - Method in class org.tio.core.udp.UdpConf
 
setServerTioConfig(ServerTioConfig) - Method in class org.tio.server.TioServer
 
setSessionCacheName(String) - Method in class org.tio.http.common.HttpConfig
 
setSessionCookieDecorator(SessionCookieDecorator) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
setSessionCookieName(String) - Method in class org.tio.http.common.HttpConfig
 
setSessionIdGenerator(ISessionIdGenerator) - Method in class org.tio.http.common.HttpConfig
 
setSessionRateLimiter(SessionRateLimiter) - Method in class org.tio.http.common.HttpConfig
 
setSessionStore(ICache) - Method in class org.tio.http.common.HttpConfig
 
setShortConnection(boolean) - Method in class org.tio.core.TioConfig
 
setSimpleBooleanAttributes(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setSimpleDoctype(boolean) - Method in class org.tio.webpack.compress.html.HtmlOptions
 
setSize(int) - Method in class org.tio.http.common.UploadFile
 
setSkipIpStat(boolean) - Method in class org.tio.http.common.HttpResponse
 
setSkipTokenStat(boolean) - Method in class org.tio.http.common.HttpResponse
 
setSsl(Byte) - Method in class org.tio.core.Node
 
setSslConfig(SslConfig) - Method in class org.tio.core.TioConfig
 
setSslEncrypted(boolean) - Method in class org.tio.core.intf.Packet
 
setSslFacadeContext(SslFacadeContext) - Method in class org.tio.core.ChannelContext
 
setSSLListener(ISSLListener) - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
setSSLListener(ISSLListener) - Method in class org.tio.core.ssl.facade.SSLFacade
 
setStart(Date) - Method in class org.tio.core.stat.IpStat
 
setStaticRes(boolean) - Method in class org.tio.http.common.HttpResponse
 
setStaticResCache(CaffeineCache) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
setStatPathFilter(StatPathFilter) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
 
setStatPathFilter(StatPathFilter) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
 
setStatus(HttpResponseStatus) - Method in class org.tio.http.common.HttpResponse
 
setStopped(boolean) - Method in class org.tio.core.TioConfig
 
setSuffixes(String[]) - Method in class org.tio.http.common.view.freemarker.FreemarkerConfig
 
setSynSeq(Integer) - Method in class org.tio.core.intf.Packet
 
setThreadName(String) - Method in class org.tio.utils.thread.pool.DefaultThreadFactory
Sets the thread name.
setThrowable(Throwable) - Method in class org.tio.core.ChannelContext.CloseMeta
 
setThrowableHandler(ThrowableHandler) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
setTime(long) - Method in class org.tio.core.udp.UdpPacket
 
setTimeClosed(long) - Method in class org.tio.core.stat.ChannelStat
 
setTimeFirstConnected(Long) - Method in class org.tio.core.stat.ChannelStat
 
setTimeInReconnQueue(long) - Method in class org.tio.core.stat.ChannelStat
 
setTimeout(int) - Method in class org.tio.core.udp.UdpConf
 
setTimeToIdleSeconds(Long) - Method in class org.tio.utils.cache.AbsCache
 
setTimeToIdleSeconds(long) - Method in class org.tio.utils.cache.redis.ExpireVo
 
setTimeToLiveSeconds(Long) - Method in class org.tio.utils.cache.AbsCache
 
setTioClient(TioClient) - Method in class org.tio.client.ConnectionCompletionVo
 
setTioConfig(TioConfig) - Method in class org.tio.core.ChannelContext
 
setTioUuid(TioUuid) - Method in class org.tio.core.TioConfig
 
setToken(String) - Method in class org.tio.core.ChannelContext
 
setToken(String) - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
setToken(String) - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
setToken(String) - Method in class org.tio.websocket.common.WsSessionContext
 
setTokenPathAccessStatMap(MapWithLock<String, TokenPathAccessStat>) - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
setTokenPathAccessStats(TokenPathAccessStats) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
 
setTotalPage(Integer) - Method in class org.tio.utils.page.Page
 
setTotalRow(Integer) - Method in class org.tio.utils.page.Page
 
setTrustManagerFactory(TrustManagerFactory) - Method in class org.tio.core.ssl.SslConfig
 
setType(CacheChangeType) - Method in class org.tio.utils.cache.CacheChangedVo
 
setUdpHandler(UdpHandler) - Method in class org.tio.core.udp.UdpServerConf
 
setUid(String) - Method in class org.tio.http.server.stat.token.TokenAccessStat
 
setUid(String) - Method in class org.tio.http.server.stat.token.TokenPathAccessStat
 
setUseQueueDecode(boolean) - Method in class org.tio.core.TioConfig
是否用队列解码(系统初始化时确定该值,中途不要变更此值,否则在切换的时候可能导致消息丢失
setUseQueueSend(boolean) - Method in class org.tio.core.TioConfig
是否用队列发送,可以随时切换
setUserid(String) - Method in class org.tio.core.ChannelContext
 
setUseSession(boolean) - Method in class org.tio.http.common.HttpConfig
 
setValue(Byte) - Method in enum org.tio.core.ChannelContext.CloseCode
 
setValue(String) - Method in class org.tio.http.common.Cookie
 
setValue(String) - Method in class org.tio.http.common.KeyValue
 
setVar(boolean) - Method in class org.tio.http.server.mvc.PathUnitVo
 
setVersion(String) - Method in class org.tio.http.common.RequestLine
 
setWaitingStop(boolean) - Method in class org.tio.server.TioServer
 
setWarnClearInterval(int) - Method in class org.tio.monitor.RateLimiterWrap
 
setWarnCount(AtomicInteger) - Method in class org.tio.monitor.RateLimiterWrap
 
setWelcomeFile(String) - Method in class org.tio.http.common.HttpConfig
 
SetWithLock<T> - Class in org.tio.utils.lock
 
SetWithLock(Set<T>) - Constructor for class org.tio.utils.lock.SetWithLock
 
SetWithLock(Set<T>, ReentrantReadWriteLock) - Constructor for class org.tio.utils.lock.SetWithLock
 
setWorkid(Integer) - Static method in class org.tio.utils.Uuid
 
setWsBodyLength(long) - Method in class org.tio.websocket.common.WsPacket
 
setWsBodyText(String) - Method in class org.tio.websocket.common.WsPacket
 
setWsEof(boolean) - Method in class org.tio.websocket.common.WsPacket
 
setWsHasMask(boolean) - Method in class org.tio.websocket.common.WsPacket
 
setWsMask(byte[]) - Method in class org.tio.websocket.common.WsPacket
 
setWsOpcode(Opcode) - Method in class org.tio.websocket.common.WsPacket
 
SHA1(byte[]) - Static method in class org.tio.websocket.common.util.SHA1Util
 
SHA1(String) - Static method in class org.tio.websocket.common.util.SHA1Util
 
SHA1(String, Charset) - Static method in class org.tio.websocket.common.util.SHA1Util
 
SHA1Util - Class in org.tio.websocket.common.util
 
SHA1Util() - Constructor for class org.tio.websocket.common.util.SHA1Util
 
share(ServerTioConfig) - Method in class org.tio.server.ServerTioConfig
 
ShortMessageTemplateExceptionHandler - Class in org.tio.utils.freemarker
ShortMessageTemplateExceptionHandler
ShortMessageTemplateExceptionHandler() - Constructor for class org.tio.utils.freemarker.ShortMessageTemplateExceptionHandler
 
sign(String, String, String) - Static method in class org.tio.utils.crypto.Md5
签名字符串
sign(String, String, String) - Static method in class org.tio.websocket.common.util.Md5
签名字符串
SimpleCache<K,V> - Class in org.tio.utils.hutool
简单缓存,无超时实现,使用WeakHashMap实现缓存自动清理
SimpleCache() - Constructor for class org.tio.utils.hutool.SimpleCache
 
size(Long) - Method in class org.tio.core.maintain.IpStats
 
size(Long) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
 
size(Long) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
 
size() - Method in class org.tio.utils.cache.caffeine.CaffeineCache
 
size() - Method in class org.tio.utils.cache.guava.GuavaCache
 
size() - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
 
size() - Method in class org.tio.utils.hutool.FastByteBuffer
 
size() - Method in class org.tio.utils.lock.ListWithLock
 
size() - Method in class org.tio.utils.lock.MapWithLock
 
size() - Method in class org.tio.utils.lock.SetWithLock
 
size() - Method in interface org.tio.utils.queue.FullWaitQueue
 
size() - Method in class org.tio.utils.queue.TioFullWaitQueue
 
SLASH - Static variable in interface org.tio.utils.SysConst
斜扛
slice(ByteBuffer) - Static method in class org.tio.core.ssl.facade.BufferUtils
 
Snowflake - Class in org.tio.utils.hutool
Twitter的Snowflake 算法
分布式系统中,有一些需要使用全局唯一ID的场景,有些时候我们希望能使用一种简单一些的ID,并且希望ID能够按照时间有序生成。
snowflake的结构如下(每部分用-分开):
Snowflake(long, long) - Constructor for class org.tio.utils.hutool.Snowflake
构造
SnowflakeSessionIdGenerator - Class in org.tio.http.common.session.id.impl
 
SnowflakeSessionIdGenerator(int, int) - Constructor for class org.tio.http.common.session.id.impl.SnowflakeSessionIdGenerator
 
SPACE - Static variable in interface org.tio.utils.SysConst
一个空格
SPACE_ - Static variable in interface org.tio.utils.SysConst
 
split(ByteBuffer, int) - Static method in class org.tio.core.utils.ByteBufferUtils
 
split(String, String) - Static method in class org.tio.utils.hutool.StrUtil
 
split(byte[], int) - Static method in class org.tio.websocket.client.kit.ByteKit
 
SPLIT_FOR_CACHENAME - Static variable in class org.tio.utils.cache.redis.RedisCache
 
SslConfig - Class in org.tio.core.ssl
 
sslConfig - Variable in class org.tio.core.TioConfig
 
SSLFacade - Class in org.tio.core.ssl.facade
一个
SSLFacade(ChannelContext, SSLContext, boolean, boolean, ITaskHandler) - Constructor for class org.tio.core.ssl.facade.SSLFacade
 
sslFacadeContext - Variable in class org.tio.core.ChannelContext
 
SslFacadeContext - Class in org.tio.core.ssl
 
SslFacadeContext(ChannelContext) - Constructor for class org.tio.core.ssl.SslFacadeContext
 
SslHandshakeCompletedListener - Class in org.tio.core.ssl
 
SslHandshakeCompletedListener(ChannelContext) - Constructor for class org.tio.core.ssl.SslHandshakeCompletedListener
 
SslListener - Class in org.tio.core.ssl
 
SslListener(ChannelContext) - Constructor for class org.tio.core.ssl.SslListener
 
SSLLog - Class in org.tio.core.ssl.facade
 
SSLLog() - Constructor for class org.tio.core.ssl.facade.SSLLog
 
SslSessionClosedListener - Class in org.tio.core.ssl
 
SslSessionClosedListener(ChannelContext) - Constructor for class org.tio.core.ssl.SslSessionClosedListener
 
SslUtils - Class in org.tio.core.ssl
 
SslVo - Class in org.tio.core.ssl
 
SslVo(ByteBuffer, Object) - Constructor for class org.tio.core.ssl.SslVo
 
SslVo() - Constructor for class org.tio.core.ssl.SslVo
 
stackTrace() - Static method in class org.tio.utils.thread.ThreadUtils
 
start() - Method in class org.tio.core.udp.UdpClient
 
start() - Method in class org.tio.core.udp.UdpServer
 
start(String, Integer, SynThreadPoolExecutor, ThreadPoolExecutor) - Static method in class org.tio.flash.policy.server.FlashPolicyServerStarter
 
start(String, Integer) - Static method in class org.tio.flash.policy.server.FlashPolicyServerStarter
 
start() - Method in class org.tio.http.server.HttpServerStarter
 
start(boolean) - Method in class org.tio.http.server.HttpServerStarter
 
start(String, int) - Method in class org.tio.server.TioServer
 
start() - Static method in class org.tio.utils.cache.redis.RedisExpireUpdateTask
 
start() - Static method in class org.tio.utils.quartz.QuartzUtils
配置文件为"/config/tio-quartz.properties"
start(String) - Static method in class org.tio.utils.quartz.QuartzUtils
 
start() - Static method in class org.tio.utils.zk.Zk
Start the client.
start() - Method in class org.tio.websocket.server.WsServerStarter
 
startTime - Variable in class org.tio.core.TioConfig
启动时间
startWith(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串开头
如果给定的字符串和开头字符串都为null则返回true,否则任意一个值为null返回false
startWith(CharSequence, char) - Static method in class org.tio.utils.hutool.StrUtil
字符串是否以给定字符开始
startWith(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串开头
startWithIgnoreCase(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
是否以指定字符串开头,忽略大小写
stat - Variable in class org.tio.core.ChannelContext
 
statOn - Variable in class org.tio.core.TioConfig
 
StatPathFilter - Interface in org.tio.http.server.stat
 
status - Variable in enum org.tio.http.common.HttpResponseStatus
 
status - Variable in class org.tio.http.common.ResponseLine
 
stop() - Method in class org.tio.client.TioClient
 
stop() - Method in class org.tio.core.udp.task.UdpHandlerRunnable
 
stop() - Method in class org.tio.core.udp.task.UdpSendRunnable
 
stop() - Method in class org.tio.core.udp.UdpServer
 
stop() - Method in class org.tio.http.server.HttpServerStarter
 
stop() - Method in class org.tio.server.TioServer
 
str(Object, String) - Static method in class org.tio.utils.hutool.StrUtil
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
str(Object, Charset) - Static method in class org.tio.utils.hutool.StrUtil
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
str(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
CharSequence 转为字符串,null安全
STR_AMP - Static variable in interface org.tio.utils.SysConst
&
STR_COL - Static variable in interface org.tio.utils.SysConst
:
STR_EQ - Static variable in interface org.tio.utils.SysConst
=
StrCache - Class in org.tio.http.common
本类主要用于可枚举的String,不要滥用
StrCache() - Constructor for class org.tio.http.common.StrCache
 
streamToString(InputStream) - Static method in class org.tio.utils.IoUtils
 
string(HttpRequest, String, String) - Static method in class org.tio.http.server.util.Resps
创建字符串输出
string(HttpRequest, String, String, String) - Static method in class org.tio.http.server.util.Resps
创建字符串输出
StrUtil - Class in org.tio.utils.hutool
 
StrUtil() - Constructor for class org.tio.utils.hutool.StrUtil
 
sub(CharSequence, int, int) - Static method in class org.tio.utils.hutool.StrUtil
改进JDK subString
index从0开始计算,最后一个字符为-1
如果from和to位置一样,返回 ""
如果from或to为负数,则按照length从后向前数位置,如果绝对值大于字符串长度,则from归到0,to归到length
如果经过修正的index中from大于to,则互换from和to example:
abcdefgh 2 3 =》 c
abcdefgh 2 -3 =》 cde
subAfter(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
截取分隔字符串之后的字符串,不包括分隔字符串
如果给定的字符串为空串(null或""),返回原字符串
如果分隔字符串为空串(null或""),则返回空串,如果分隔字符串未找到,返回空串 栗子:
subBefore(CharSequence, CharSequence, boolean) - Static method in class org.tio.utils.hutool.StrUtil
截取分隔字符串之前的字符串,不包括分隔字符串
如果给定的字符串为空串(null或"")或者分隔字符串为null,返回原字符串
如果分隔字符串为空串"",则返回空串,如果分隔字符串未找到,返回原字符串 栗子:
subBetween(CharSequence, CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
截取指定字符串中间部分,不包括标识字符串
栗子:
subBetween(CharSequence, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
截取指定字符串中间部分,不包括标识字符串
栗子:
submit(Runnable, R) - Method in class org.tio.utils.thread.pool.SynThreadPoolExecutor
 
subPre(CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
切割指定位置之前部分的字符串
subPreGbk(CharSequence, int, CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
截取部分字符串,这里一个汉字的长度认为是2
subSuf(CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
切割指定位置之后部分的字符串
subSufByLength(CharSequence, int) - Static method in class org.tio.utils.hutool.StrUtil
切割指定长度的后部分的字符串
subWithLength(String, int, int) - Static method in class org.tio.utils.hutool.StrUtil
截取字符串,从指定位置开始,截取指定长度的字符串
author weibaohui
SynPacketAction - Enum in org.tio.core
同步消息 action
SynThreadPoolExecutor - Class in org.tio.utils.thread.pool
 
SynThreadPoolExecutor(int, int, long, BlockingQueue<Runnable>, ThreadFactory, String) - Constructor for class org.tio.utils.thread.pool.SynThreadPoolExecutor
 
SynThreadPoolExecutor(int, int, long, BlockingQueue<Runnable>, ThreadFactory, String, RejectedExecutionHandler) - Constructor for class org.tio.utils.thread.pool.SynThreadPoolExecutor
 
SysConst - Interface in org.tio.utils
 
SystemTimer - Class in org.tio.utils
 
SystemTimer() - Constructor for class org.tio.utils.SystemTimer
 
SystemTimer.TimerListener - Interface in org.tio.utils
 

T

Tasks - Class in org.tio.core.ssl.facade
 
Tasks(Worker, Handshaker) - Constructor for class org.tio.core.ssl.facade.Tasks
 
TcpConst - Interface in org.tio.core
 
TEMP_DIR - Static variable in class org.tio.core.maintain.MaintainUtils
 
tempDir(ChannelContext, boolean) - Static method in class org.tio.core.maintain.MaintainUtils
 
TemplateView - Interface in org.tio.http.common.view
 
tempReceivedFile(ChannelContext) - Static method in class org.tio.core.maintain.MaintainUtils
 
tempWriteFile(ChannelContext) - Static method in class org.tio.core.maintain.MaintainUtils
 
terminate() - Method in interface org.tio.core.ssl.facade.ISSLFacade
 
terminate() - Method in class org.tio.core.ssl.facade.SSLFacade
 
TEXT_HTML_HTML - Static variable in class org.tio.http.common.HeaderValue.Content_Type
 
text_plain - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Content_Type
普通文本,一般会是json或是xml
TEXT_PLAIN_JSON - Static variable in class org.tio.http.common.HeaderValue.Content_Type
 
TEXT_PLAIN_TXT - Static variable in class org.tio.http.common.HeaderValue.Content_Type
 
Threads - Class in org.tio.utils
 
ThreadUtils - Class in org.tio.utils.thread
 
ThreadUtils() - Constructor for class org.tio.utils.thread.ThreadUtils
 
throwable - Variable in class org.tio.core.ChannelContext.CloseMeta
 
ThrowableHandler - Interface in org.tio.http.server.intf
 
Time - Class in org.tio.utils.time
 
Time() - Constructor for class org.tio.utils.time.Time
 
timeClosed - Variable in class org.tio.core.stat.ChannelStat
连接关闭的时间
timeCost - Variable in class org.tio.http.server.stat.ip.path.IpAccessStat
这个ip访问给服务器带来的时间消耗,单位:毫秒
timeCost - Variable in class org.tio.http.server.stat.ip.path.IpPathAccessStat
这个ip访问这个路径给服务器带来的时间消耗,单位:毫秒
timeCost - Variable in class org.tio.http.server.stat.token.TokenAccessStat
这个token访问给服务器带来的时间消耗,单位:毫秒
timeCost - Variable in class org.tio.http.server.stat.token.TokenPathAccessStat
这个token访问这个路径给服务器带来的时间消耗,单位:毫秒
timeCreated - Variable in class org.tio.core.stat.ChannelStat
ChannelContext对象创建的时间
timeFirstConnected - Variable in class org.tio.core.stat.ChannelStat
第一次连接成功的时间
timeInReconnQueue - Variable in class org.tio.core.stat.ChannelStat
进入重连队列时间
TIMEOUT_10_MAX_20 - Static variable in class org.tio.http.common.HeaderValue.Keep_Alive
 
Tio - Class in org.tio.core
The Class Tio.
TIO - Static variable in class org.tio.http.common.HeaderValue.Server
 
Tio.IpBlacklist - Class in org.tio.core
 
TIO_CORE_VERSION - Static variable in interface org.tio.utils.SysConst
 
tio_from_cache - Static variable in class org.tio.http.common.HeaderName
 
Tio_From_Cache() - Constructor for class org.tio.http.common.HeaderValue.Tio_From_Cache
 
tio_from_cache - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
是否是从缓存中获取的数据,tio-httpserver特有的头部信息
TIO_HTTP_SESSIONID - Static variable in class org.tio.http.common.HttpConfig
用于覆盖session cookie的参数名,客户端可以用这个传递sessionid
TIO_URL_GITEE - Static variable in interface org.tio.utils.SysConst
 
TIO_URL_GITHUB - Static variable in interface org.tio.utils.SysConst
 
TIO_URL_SITE - Static variable in interface org.tio.utils.SysConst
 
tio_webpack_used_cache - Static variable in class org.tio.http.common.HeaderName
 
Tio_Webpack_Used_Cache() - Constructor for class org.tio.http.common.HeaderValue.Tio_Webpack_Used_Cache
 
tio_webpack_used_cache - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
TioCallerRunsPolicy - Class in org.tio.utils.thread.pool
 
TioCallerRunsPolicy() - Constructor for class org.tio.utils.thread.pool.TioCallerRunsPolicy
 
TioClient - Class in org.tio.client
 
TioClient(ClientTioConfig) - Constructor for class org.tio.client.TioClient
 
tioConfig - Variable in class org.tio.core.ChannelContext
 
TioConfig - Class in org.tio.core
 
TioConfig() - Constructor for class org.tio.core.TioConfig
 
TioConfig(SynThreadPoolExecutor, ThreadPoolExecutor) - Constructor for class org.tio.core.TioConfig
 
TioConfigKey - Interface in org.tio.http.common
 
TioCssCompressor - Class in org.tio.webpack.compress.css
 
TioDecodeException - Exception in org.tio.core.exception
 
TioDecodeException() - Constructor for exception org.tio.core.exception.TioDecodeException
 
TioDecodeException(String) - Constructor for exception org.tio.core.exception.TioDecodeException
 
TioDecodeException(String, Throwable) - Constructor for exception org.tio.core.exception.TioDecodeException
 
TioDecodeException(String, Throwable, boolean, boolean) - Constructor for exception org.tio.core.exception.TioDecodeException
 
TioDecodeException(Throwable) - Constructor for exception org.tio.core.exception.TioDecodeException
 
tioExecutor - Variable in class org.tio.core.TioConfig
 
TioFullWaitQueue<T> - Class in org.tio.utils.queue
暂时用ConcurrentLinkedQueue代替
TioFullWaitQueue(Integer, boolean) - Constructor for class org.tio.utils.queue.TioFullWaitQueue
 
TioHtmlCompressor - Class in org.tio.webpack.compress.html
 
TioHtmlCompressor() - Constructor for class org.tio.webpack.compress.html.TioHtmlCompressor
 
TioJsCompressor - Class in org.tio.webpack.compress.js
An example of how to call the Closure Compiler programmatically, this is LICENSED AS GPL-3.0.
TioJsCompressor() - Constructor for class org.tio.webpack.compress.js.TioJsCompressor
 
TioKit - Class in org.tio.websocket.client.kit
 
TioKit() - Constructor for class org.tio.websocket.client.kit.TioKit
 
tioServer - Static variable in class org.tio.flash.policy.server.FlashPolicyServerStarter
 
TioServer - Class in org.tio.server
 
TioServer(ServerTioConfig) - Constructor for class org.tio.server.TioServer
 
TioUtils - Class in org.tio.core.utils
 
TioUtils() - Constructor for class org.tio.core.utils.TioUtils
 
TioUuid - Interface in org.tio.core.intf
 
toArray() - Method in class org.tio.utils.hutool.FastByteBuffer
返回快速缓冲中的数据
toArray(int, int) - Method in class org.tio.utils.hutool.FastByteBuffer
返回快速缓冲中的数据
toBean(String, Class<T>) - Static method in class org.tio.utils.json.Json
 
toByteArray() - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
转为Byte数组
toByteArray(InputStream) - Static method in class org.tio.utils.IoUtils
 
toFormatedJson(Object) - Static method in class org.tio.utils.json.Json
 
toJson(Object) - Static method in class org.tio.utils.json.Json
 
toJson(Object, SerializeFilter) - Static method in class org.tio.utils.json.Json
 
toJsonAboutNull(Object) - Static method in class org.tio.utils.json.Json
可以返回null的key值
TokenAccessStat - Class in org.tio.http.server.stat.token
token访问统计
TokenAccessStat(Long, String, String, String) - Constructor for class org.tio.http.server.stat.token.TokenAccessStat
 
TokenGetter - Interface in org.tio.http.server.stat.token
 
TokenPathAccessStat - Class in org.tio.http.server.stat.token
token访问路径统计
TokenPathAccessStat(Long, String, String, String, String) - Constructor for class org.tio.http.server.stat.token.TokenPathAccessStat
 
TokenPathAccessStatListener - Interface in org.tio.http.server.stat.token
 
TokenPathAccessStatRemovalListener - Class in org.tio.http.server.stat.token
 
TokenPathAccessStatRemovalListener(TioConfig, TokenPathAccessStatListener) - Constructor for class org.tio.http.server.stat.token.TokenPathAccessStatRemovalListener
 
TokenPathAccessStats - Class in org.tio.http.server.stat.token
 
TokenPathAccessStats(StatPathFilter, TokenGetter, CurrUseridGetter, TioConfig, TokenPathAccessStatListener, Long[]) - Constructor for class org.tio.http.server.stat.token.TokenPathAccessStats
 
TokenPathAccessStats(StatPathFilter, CurrUseridGetter, TioConfig, TokenPathAccessStatListener, Long[]) - Constructor for class org.tio.http.server.stat.token.TokenPathAccessStats
 
Tokens - Class in org.tio.core.maintain
一对多 (token <--> ChannelContext)
Tokens() - Constructor for class org.tio.core.maintain.Tokens
 
tokens - Variable in class org.tio.core.TioConfig
 
toList(String, Class<T>) - Static method in class org.tio.utils.json.Json
 
toPackages(Class<?>[]) - Static method in class org.tio.http.server.mvc.Routes
 
topic - Static variable in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
toString() - Method in class org.tio.client.ClientTioConfig
 
toString() - Method in class org.tio.core.ChannelContext
 
toString() - Method in class org.tio.core.Node
 
toString() - Method in class org.tio.core.ssl.SslVo
 
toString() - Method in class org.tio.core.task.DecodeRunnable
 
toString() - Method in class org.tio.core.task.HandlerRunnable
 
toString() - Method in class org.tio.core.task.SendRunnable
 
toString() - Method in class org.tio.http.common.Cookie
 
toString() - Method in class org.tio.http.common.HeaderName
 
toString() - Method in class org.tio.http.common.HeaderValue
 
toString() - Method in class org.tio.http.common.HttpRequest
 
toString() - Method in class org.tio.http.common.HttpResponse
 
toString() - Method in class org.tio.http.common.RequestLine
 
toString() - Method in class org.tio.server.ServerTioConfig
 
toString(Object) - Static method in class org.tio.utils.hutool.ArrayUtil
 
toString() - Method in class org.tio.utils.hutool.BetweenFormater
 
toString() - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
 
toString(String) - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
转为字符串
toString(Charset) - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
转为字符串
toString() - Method in class org.tio.utils.page.Page
 
toUrlEncodedString(String) - Method in class org.tio.http.common.RequestLine
用来编码用的 "GET /json?tan=谭耀武 HTTP/1.1" -->"GET /json?tan=%E8%B0%AD%E8%80%80%E6%AD%A6 HTTP/1.1"
transform(String, InputStream, OutputStream) - Method in class org.tio.webpack.compress.js.YuiJsCompressor
 
trim(String) - Static method in class org.tio.utils.hutool.StrUtil
去除字符串两边空白符,传入null也返回null
trimEnd(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
除去字符串尾部的空白,如果字符串是null,则返回null
trimStart(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
除去字符串头部的空白,如果字符串是null,则返回null
TRUE - Static variable in class org.tio.http.common.HeaderValue.Tio_From_Cache
 
TRUE - Static variable in class org.tio.http.common.HeaderValue
 
try304(HttpRequest, long) - Static method in class org.tio.http.server.util.Resps
尝试返回304,这个会new一个HttpResponse返回
tryAcquire() - Method in class org.tio.monitor.RateLimiterWrap
 
ttl(String) - Method in class org.tio.utils.cache.caffeine.CaffeineCache
 
ttl(String) - Method in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
ttl(String) - Method in class org.tio.utils.cache.guava.GuavaCache
 
ttl(String) - Method in class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
ttl(String) - Method in interface org.tio.utils.cache.ICache
对象还会存活多久。
ttl(String) - Method in class org.tio.utils.cache.j2cache.J2Cache
 
ttl(String) - Method in class org.tio.utils.cache.redis.RedisCache
 
txt(HttpRequest, String) - Static method in class org.tio.http.server.util.Resps
Content-Type: text/plain;charset=utf-8
txt(HttpRequest, String, String) - Static method in class org.tio.http.server.util.Resps
Content-Type: text/plain;charset=utf-8

U

UAUtils - Class in org.tio.utils
User-Agent工具类
UAUtils() - Constructor for class org.tio.utils.UAUtils
 
UdpClient - Class in org.tio.core.udp
 
UdpClient(UdpClientConf) - Constructor for class org.tio.core.udp.UdpClient
 
UdpClientConf - Class in org.tio.core.udp
 
UdpClientConf(String, int, int) - Constructor for class org.tio.core.udp.UdpClientConf
 
UdpConf - Class in org.tio.core.udp
 
UdpConf(int) - Constructor for class org.tio.core.udp.UdpConf
 
UdpHandler - Interface in org.tio.core.udp.intf
 
UdpHandlerRunnable - Class in org.tio.core.udp.task
 
UdpHandlerRunnable(UdpHandler, LinkedBlockingQueue<UdpPacket>, DatagramSocket) - Constructor for class org.tio.core.udp.task.UdpHandlerRunnable
 
UdpPacket - Class in org.tio.core.udp
 
UdpPacket() - Constructor for class org.tio.core.udp.UdpPacket
 
UdpPacket(byte[], Node) - Constructor for class org.tio.core.udp.UdpPacket
 
UdpSendRunnable - Class in org.tio.core.udp.task
 
UdpSendRunnable(LinkedBlockingQueue<DatagramPacket>, UdpConf, DatagramSocket) - Constructor for class org.tio.core.udp.task.UdpSendRunnable
 
UdpServer - Class in org.tio.core.udp
 
UdpServer(UdpServerConf) - Constructor for class org.tio.core.udp.UdpServer
 
UdpServerConf - Class in org.tio.core.udp
 
UdpServerConf(int, UdpHandler, int) - Constructor for class org.tio.core.udp.UdpServerConf
 
unbind(ChannelContext) - Method in class org.tio.core.maintain.BsIds
 
unbind(ChannelContext) - Method in class org.tio.core.maintain.Groups
与所有组解除绑定
unbind(ChannelContext, boolean) - Method in class org.tio.core.maintain.Groups
 
unbind(String, ChannelContext) - Method in class org.tio.core.maintain.Groups
与指定组解除绑定
unbind(String, ChannelContext, boolean) - Method in class org.tio.core.maintain.Groups
与指定组解除绑定
unbind(String, ChannelContext, boolean, boolean) - Method in class org.tio.core.maintain.Groups
 
unbind(ChannelContext) - Method in class org.tio.core.maintain.Ids
 
unbind(ChannelContext) - Method in class org.tio.core.maintain.Ips
与指定ip解除绑定
unbind(ChannelContext) - Method in class org.tio.core.maintain.Tokens
解除channelContext绑定的token
unbind(TioConfig, String) - Method in class org.tio.core.maintain.Tokens
解除tioConfig范围内所有ChannelContext的 token绑定
unbind(ChannelContext) - Method in class org.tio.core.maintain.Users
解除channelContext绑定的userid
unbind(TioConfig, String) - Method in class org.tio.core.maintain.Users
解除tioConfig范围内所有ChannelContext的 userid绑定
unbindBsId(ChannelContext) - Static method in class org.tio.core.Tio
解绑业务id
unbindGroup(ChannelContext) - Static method in class org.tio.core.Tio
与所有组解除解绑关系
unbindGroup(String, ChannelContext) - Static method in class org.tio.core.Tio
与指定组解除绑定关系
unbindGroup(TioConfig, String, String) - Static method in class org.tio.core.Tio
将某用户从组中解除绑定
unbindToken(ChannelContext) - Static method in class org.tio.core.Tio
解除channelContext绑定的token
unbindToken(TioConfig, String) - Static method in class org.tio.core.Tio
解除token
unbindUser(ChannelContext) - Static method in class org.tio.core.Tio
解除channelContext绑定的userid
unbindUser(TioConfig, String) - Static method in class org.tio.core.Tio
解除userid的绑定。一般用于多地登录,踢掉前面登录的场景
UNKNOWN_ADDRESS_IP - Static variable in class org.tio.core.ChannelContext
 
UNKNOWN_ADDRESS_PORT_SEQ - Static variable in class org.tio.core.ChannelContext
 
unWrap(Class<?>) - Static method in enum org.tio.utils.hutool.BasicType
包装类转为原始类,非包装类返回原类
update(HttpConfig) - Method in class org.tio.http.common.session.HttpSession
 
updateSessionId(HttpRequest, HttpSession, HttpResponse) - Method in class org.tio.http.server.handler.DefaultHttpRequestHandler
更新sessionId
updateWebSocketProtocol(HttpRequest, ChannelContext) - Static method in class org.tio.websocket.server.WsServerAioHandler
本方法改编自baseio: https://gitee.com/generallycloud/baseio
感谢开源作者的付出
Upgrade - Static variable in class org.tio.http.common.HeaderName
 
Upgrade - Static variable in class org.tio.http.common.HeaderValue.Connection
 
Upgrade() - Constructor for class org.tio.http.common.HeaderValue.Upgrade
 
Upgrade - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Upgrade - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Connection
 
Upgrade - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
Upgrade - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderValue.Connection
 
upload(String, String, CreateMode) - Static method in class org.tio.utils.zk.Zk
 
UploadFile - Class in org.tio.http.common
 
UploadFile() - Constructor for class org.tio.http.common.UploadFile
 
upperFirst(CharSequence) - Static method in class org.tio.utils.hutool.StrUtil
大写首字母
例如:str = name, return Name
UriKit - Class in org.tio.websocket.client.kit
 
UriKit() - Constructor for class org.tio.websocket.client.kit.UriKit
 
URL - Static variable in class org.tio.utils.hutool.PatternPool
URL
use(String) - Static method in class org.tio.utils.jfinal.P
Using the properties file.
use(String, String) - Static method in class org.tio.utils.jfinal.P
Using the properties file.
use(File) - Static method in class org.tio.utils.jfinal.P
Using the properties file bye File object.
use(File, String) - Static method in class org.tio.utils.jfinal.P
Using the properties file bye File object.
useless(String) - Static method in class org.tio.utils.jfinal.P
 
useQueueDecode - Variable in class org.tio.core.TioConfig
是否用队列解码(系统初始化时确定该值,中途不要变更此值,否则在切换的时候可能导致消息丢失)
useQueueSend - Variable in class org.tio.core.TioConfig
是否用队列发送
User_Agent - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
userid - Variable in class org.tio.core.ChannelContext
 
Users - Class in org.tio.core.maintain
一对多 (userid <--> ChannelContext)
Users() - Constructor for class org.tio.core.maintain.Users
 
users - Variable in class org.tio.core.TioConfig
 
useSsl() - Method in class org.tio.client.ClientTioConfig
使用ssl访问
useSsl(String, String, String) - Method in class org.tio.server.ServerTioConfig
 
useSsl(InputStream, InputStream, String) - Method in class org.tio.server.ServerTioConfig
 
utf8Str(Object) - Static method in class org.tio.utils.hutool.StrUtil
将对象转为字符串
1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
uuid() - Method in class org.tio.core.DefaultTioUuid
 
uuid() - Method in interface org.tio.core.intf.TioUuid
 
uuid() - Method in class org.tio.http.common.HttpUuid
 
UUID - Static variable in class org.tio.utils.hutool.PatternPool
UUID
Uuid - Class in org.tio.utils
 
Uuid() - Constructor for class org.tio.utils.Uuid
 
uuid() - Method in class org.tio.websocket.common.WsTioUuid
 
UUID_SIMPLE - Static variable in class org.tio.utils.hutool.PatternPool
不带横线的UUID
UUIDSessionIdGenerator - Class in org.tio.http.common.session.id.impl
 

V

V1_0 - Static variable in interface org.tio.http.common.HttpConst.HttpVersion
 
V1_1 - Static variable in interface org.tio.http.common.HttpConst.HttpVersion
 
V_1 - Static variable in class org.tio.http.common.HeaderValue.Tio_Webpack_Used_Cache
 
Validator - Class in org.tio.utils.hutool
 
Validator() - Constructor for class org.tio.utils.hutool.Validator
 
value - Variable in class org.tio.http.common.HeaderValue
 
value - Variable in class org.tio.websocket.client.kit.ObjKit.Box
 
valueOf(String) - Static method in enum org.tio.core.ChannelContext.CloseCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.core.PacketHandlerMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.core.PacketSendMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.core.ssl.facade.BufferType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.core.SynPacketAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.http.common.HttpConst.RequestBodyFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.http.common.HttpMultiBodyDecoder.Step
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.http.common.HttpRequestDecoder.Step
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.http.common.HttpResponseStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.http.common.Method
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.http.common.MimeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.utils.cache.CacheChangeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.utils.hutool.BasicType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.utils.hutool.BeanInfoCache
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.utils.hutool.BetweenFormater.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.utils.hutool.DateUnit
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.utils.resp.RespResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.websocket.client.httpclient.HttpResponseDecoder.Step
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.tio.websocket.common.Opcode
Returns the enum constant of this type with the specified name.
valueOf(byte) - Static method in enum org.tio.websocket.common.Opcode
 
valueOf(String) - Static method in enum org.tio.websocket.common.WsServerDecoder.Step
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.tio.core.ChannelContext.CloseCode
Returns an array containing the constants of this enum type, in the order they are declared.
values(Long) - Method in class org.tio.core.maintain.IpStats
 
values() - Static method in enum org.tio.core.PacketHandlerMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.core.PacketSendMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.core.ssl.facade.BufferType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.core.SynPacketAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.http.common.HttpConst.RequestBodyFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.http.common.HttpMultiBodyDecoder.Step
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.http.common.HttpRequestDecoder.Step
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.http.common.HttpResponseStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.http.common.Method
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.http.common.MimeType
Returns an array containing the constants of this enum type, in the order they are declared.
values(Long) - Method in class org.tio.http.server.stat.ip.path.IpPathAccessStats
 
values(Long) - Method in class org.tio.http.server.stat.token.TokenPathAccessStats
 
values() - Static method in enum org.tio.utils.cache.CacheChangeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.utils.hutool.BasicType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.utils.hutool.BeanInfoCache
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.utils.hutool.BetweenFormater.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.utils.hutool.DateUnit
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.utils.resp.RespResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.websocket.client.httpclient.HttpResponseDecoder.Step
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.websocket.common.Opcode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.tio.websocket.common.WsServerDecoder.Step
Returns an array containing the constants of this enum type, in the order they are declared.
VARIABLE_PATH_MAP - Variable in class org.tio.http.server.mvc.Routes
含有路径变量的请求
key: 子路径的个数(pathUnitCount),譬如/user/{userid}就是2
value: VariablePathVo
VARIABLEPATH_METHODSTR_MAP - Variable in class org.tio.http.server.mvc.Routes
含有路径变量的请求
只是用于打印日志
key: 配置的路径/user/{userid}
value: method string
VariablePathVo - Class in org.tio.http.server.mvc
 
VariablePathVo() - Constructor for class org.tio.http.server.mvc.VariablePathVo
 
VariablePathVo(String, Method, PathUnitVo[]) - Constructor for class org.tio.http.server.mvc.VariablePathVo
 
verify(String, String, String, String) - Static method in class org.tio.utils.crypto.Md5
签名字符串
verify(String, String, String, String) - Static method in class org.tio.websocket.common.util.Md5
签名字符串
version - Variable in class org.tio.http.common.RequestLine
 
version - Variable in class org.tio.http.common.ResponseLine
 
View - Interface in org.tio.http.common.view
 

W

waitingResps - Variable in class org.tio.core.TioConfig
 
wasClean - Variable in class org.tio.websocket.client.event.CloseEvent
 
WebSocket - Static variable in class org.tio.http.common.HeaderValue.Upgrade
 
WebSocket - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderValue.Upgrade
 
WebSocket - Interface in org.tio.websocket.client
 
WebSocketImpl - Class in org.tio.websocket.client
 
wrap(Class<?>) - Static method in enum org.tio.utils.hutool.BasicType
原始类转为包装类,非原始类返回原类
wrapperPrimitiveMap - Static variable in enum org.tio.utils.hutool.BasicType
包装类型为Key,原始类型为Value,例如: Integer.class =》 int.class.
write(byte[], int, int) - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
 
write(int) - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
 
write(JSONSerializer, Object, Object, Type, int) - Method in class org.tio.utils.jfinal.JfinalRecordSerializer
 
write() - Method in interface org.tio.utils.lock.ReadWriteLockHandler
 
writeBytes(byte[], File) - Static method in class org.tio.utils.hutool.FileUtil
 
writeCompletionHandler - Variable in class org.tio.core.ChannelContext
 
WriteCompletionHandler - Class in org.tio.core
 
WriteCompletionHandler(ChannelContext) - Constructor for class org.tio.core.WriteCompletionHandler
 
WriteCompletionHandler.WriteCompletionVo - Class in org.tio.core
 
WriteCompletionVo(ByteBuffer, Object) - Constructor for class org.tio.core.WriteCompletionHandler.WriteCompletionVo
 
writeLock() - Method in class org.tio.utils.lock.ObjWithLock
获取写锁
WriteLockHandler<T> - Interface in org.tio.utils.lock
 
writeString(String, String, String) - Static method in class org.tio.utils.hutool.FileUtil
 
writeTo(OutputStream) - Method in class org.tio.utils.hutool.FastByteArrayOutputStream
写出
writeUB2(ByteBuffer, int) - Static method in class org.tio.core.utils.ByteBufferUtils
 
writeUB2WithBigEdian(ByteBuffer, int) - Static method in class org.tio.core.utils.ByteBufferUtils
 
writeUB4(ByteBuffer, long) - Static method in class org.tio.core.utils.ByteBufferUtils
 
writeUB4WithBigEdian(ByteBuffer, long) - Static method in class org.tio.core.utils.ByteBufferUtils
 
WsClient - Class in org.tio.websocket.client
 
WsClientAioHander - Class in org.tio.websocket.client
 
WsClientAioHander() - Constructor for class org.tio.websocket.client.WsClientAioHander
 
WsClientAioListener - Class in org.tio.websocket.client
 
WsClientAioListener() - Constructor for class org.tio.websocket.client.WsClientAioListener
 
WsClientConfig - Class in org.tio.websocket.client.config
 
WsClientConfig() - Constructor for class org.tio.websocket.client.config.WsClientConfig
 
WsClientConfig(String) - Constructor for class org.tio.websocket.client.config.WsClientConfig
 
WsClientConfig(Consumer<MessageEvent>) - Constructor for class org.tio.websocket.client.config.WsClientConfig
 
WsClientConfig(Consumer<MessageEvent>, Consumer<ErrorEvent>) - Constructor for class org.tio.websocket.client.config.WsClientConfig
 
WsClientConfig(Consumer<MessageEvent>, Consumer<ErrorEvent>, Consumer<CloseEvent>) - Constructor for class org.tio.websocket.client.config.WsClientConfig
 
WsClientConfig(Consumer<MessageEvent>, Consumer<ErrorEvent>, Consumer<CloseEvent>, Consumer<Throwable>) - Constructor for class org.tio.websocket.client.config.WsClientConfig
 
WsClientConfig(Consumer<OpenEvent>, Consumer<MessageEvent>, Consumer<CloseEvent>, Consumer<ErrorEvent>, Consumer<Throwable>) - Constructor for class org.tio.websocket.client.config.WsClientConfig
 
WsClientDecoder - Class in org.tio.websocket.common
 
WsClientDecoder() - Constructor for class org.tio.websocket.common.WsClientDecoder
 
WsClientEncoder - Class in org.tio.websocket.common
 
WsClientEncoder() - Constructor for class org.tio.websocket.common.WsClientEncoder
 
WsConst - Interface in org.tio.websocket.common
 
WsEvent - Interface in org.tio.websocket.client.event
 
WsPacket - Class in org.tio.websocket.common
 
WsPacket() - Constructor for class org.tio.websocket.common.WsPacket
 
WsPacket(byte[]) - Constructor for class org.tio.websocket.common.WsPacket
 
WsRequest - Class in org.tio.websocket.common
 
WsRequest() - Constructor for class org.tio.websocket.common.WsRequest
 
WsResponse - Class in org.tio.websocket.common
 
WsResponse() - Constructor for class org.tio.websocket.common.WsResponse
 
WsServerAioHandler - Class in org.tio.websocket.server
 
WsServerAioHandler(WsServerConfig, IWsMsgHandler) - Constructor for class org.tio.websocket.server.WsServerAioHandler
 
WsServerAioListener - Class in org.tio.websocket.server
 
WsServerAioListener() - Constructor for class org.tio.websocket.server.WsServerAioListener
 
WsServerConfig - Class in org.tio.websocket.server
 
WsServerConfig(Integer, boolean) - Constructor for class org.tio.websocket.server.WsServerConfig
 
WsServerConfig(Integer) - Constructor for class org.tio.websocket.server.WsServerConfig
 
WsServerDecoder - Class in org.tio.websocket.common
 
WsServerDecoder() - Constructor for class org.tio.websocket.common.WsServerDecoder
 
WsServerDecoder.Step - Enum in org.tio.websocket.common
 
WsServerEncoder - Class in org.tio.websocket.common
参考了baseio: https://gitee.com/generallycloud/baseio com.generallycloud.nio.codec.http11.WebSocketProtocolEncoder
WsServerEncoder() - Constructor for class org.tio.websocket.common.WsServerEncoder
 
WsServerStarter - Class in org.tio.websocket.server
 
WsServerStarter(int, IWsMsgHandler) - Constructor for class org.tio.websocket.server.WsServerStarter
 
WsServerStarter(int, IWsMsgHandler, SynThreadPoolExecutor, ThreadPoolExecutor) - Constructor for class org.tio.websocket.server.WsServerStarter
 
WsServerStarter(WsServerConfig, IWsMsgHandler) - Constructor for class org.tio.websocket.server.WsServerStarter
 
WsServerStarter(WsServerConfig, IWsMsgHandler, SynThreadPoolExecutor, ThreadPoolExecutor) - Constructor for class org.tio.websocket.server.WsServerStarter
 
WsServerStarter(WsServerConfig, IWsMsgHandler, TioUuid, SynThreadPoolExecutor, ThreadPoolExecutor) - Constructor for class org.tio.websocket.server.WsServerStarter
 
WsSessionContext - Class in org.tio.websocket.common
 
WsSessionContext() - Constructor for class org.tio.websocket.common.WsSessionContext
 
WsTioUuid - Class in org.tio.websocket.common
 
WsTioUuid() - Constructor for class org.tio.websocket.common.WsTioUuid
 
WsTioUuid(long, long) - Constructor for class org.tio.websocket.common.WsTioUuid
 

X

X_Requested_With - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
值为XMLHttpRequest则为Ajax

Y

YuiJsCompressor - Class in org.tio.webpack.compress.js
 
yyyy - Static variable in class org.tio.utils.date.DateFmt
 
yyyy_MM_dd_HHmmss - Static variable in class org.tio.utils.date.DateFmt
 
yyyy_MM_dd_HHmmssSSS - Static variable in class org.tio.utils.date.DateFmt
 
yyyyMM - Static variable in class org.tio.utils.date.DateFmt
 
yyyyMMdd - Static variable in class org.tio.utils.date.DateFmt
 
yyyyMMddHH - Static variable in class org.tio.utils.date.DateFmt
 
yyyyMMddHHmm - Static variable in class org.tio.utils.date.DateFmt
 
yyyyMMddHHmmss - Static variable in class org.tio.utils.date.DateFmt
 
yyyyMMddHHmmssSSS - Static variable in class org.tio.utils.date.DateFmt
 

Z

ZIP_CODE - Static variable in class org.tio.utils.hutool.PatternPool
邮编
ZipUtil - Class in org.tio.utils.hutool
Zip工具类
ZipUtil() - Constructor for class org.tio.utils.hutool.ZipUtil
 
Zk - Class in org.tio.utils.zk
 
Zk() - Constructor for class org.tio.utils.zk.Zk
 
zkclient - Static variable in class org.tio.utils.zk.Zk
 

_

_get(Long, ChannelContext, boolean, boolean) - Method in class org.tio.core.maintain.IpStats
 
_get(String) - Method in class org.tio.utils.cache.AbsCache
 
_get(String) - Method in class org.tio.utils.cache.caffeine.CaffeineCache
 
_get(String) - Method in class org.tio.utils.cache.caffeineredis.CaffeineRedisCache
 
_get(String) - Method in class org.tio.utils.cache.guava.GuavaCache
 
_get(String) - Method in class org.tio.utils.cache.guavaredis.GuavaRedisCache
 
_get(String) - Method in class org.tio.utils.cache.j2cache.J2Cache
 
_get(String) - Method in class org.tio.utils.cache.redis.RedisCache
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ 
Skip navigation links

Copyright © 2021. All rights reserved.