- 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
-
构造
- 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
-
- getAllConnectedsChannelContexts(ClientTioConfig) - Static method in class org.tio.core.Tio
-
- 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
-
- 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
-
- getChannelContextByClientNode(TioConfig, String, Integer) - Static method in class org.tio.core.Tio
-
- getChannelContextById(TioConfig, String) - Static method in class org.tio.core.Tio
-
- getChannelContextComparator() - Method in class org.tio.core.maintain.Groups
-
- getChannelContextsByGroup(TioConfig, String) - Static method in class org.tio.core.Tio
-
- getChannelContextsByToken(TioConfig, String) - Static method in class org.tio.core.Tio
-
- getChannelContextsByUserid(TioConfig, String) - Static method in class org.tio.core.Tio
-
- 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
-
- getPropertyDescriptorMap(Class<?>, boolean) - Static method in class org.tio.utils.hutool.BeanUtil
-
- 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压缩处理
- 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
-
- 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
-
- 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的原理是一样的
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-