您的浏览器已禁用 JavaScript。
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
A
Accept_Encoding
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Accept_Language
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Access_Control_Allow_Credentials
- 类 中的静态变量org.tio.http.common.
HeaderName
Access_Control_Allow_Credentials
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
Access_Control_Allow_Headers
- 类 中的静态变量org.tio.http.common.
HeaderName
Access_Control_Allow_Headers()
- 类 的构造器org.tio.http.common.
HeaderValue.Access_Control_Allow_Headers
Access_Control_Allow_Headers
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
Access_Control_Allow_Methods
- 类 中的静态变量org.tio.http.common.
HeaderName
Access_Control_Allow_Methods()
- 类 的构造器org.tio.http.common.
HeaderValue.Access_Control_Allow_Methods
Access_Control_Allow_Methods
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
Access_Control_Allow_Origin
- 类 中的静态变量org.tio.http.common.
HeaderName
Access_Control_Allow_Origin()
- 类 的构造器org.tio.http.common.
HeaderValue.Access_Control_Allow_Origin
Access_Control_Allow_Origin
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
Access_Control_Max_Age
- 类 中的静态变量org.tio.http.common.
HeaderName
Access_Control_Max_Age()
- 类 的构造器org.tio.http.common.
HeaderValue.Access_Control_Max_Age
Access_Control_Max_Age
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
addCookie(Cookie)
- 类 中的方法org.tio.http.common.
HttpResponse
addHeader(String, String)
- 类 中的方法org.tio.http.common.
HttpRequest
addHeader(HeaderName, HeaderValue)
- 类 中的方法org.tio.http.common.
HttpResponse
addHeaders(Map<String, String>)
- 类 中的方法org.tio.http.common.
HttpRequest
addHeaders(Map<HeaderName, HeaderValue>)
- 类 中的方法org.tio.http.common.
HttpResponse
addParam(String, Object)
- 类 中的方法org.tio.http.common.
HttpRequest
APPLICATION_ACAD_DWG
- 类 中的静态变量org.tio.http.common.
HeaderValue.Content_Type
application_x_www_form_urlencoded
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderValue.Content_Type
普通的key-value
B
body
- 类 中的变量org.tio.http.common.
HttpPacket
buildCookie(Map<String, String>, HttpConfig)
- 类 中的静态方法org.tio.http.common.
Cookie
通过 Map 构建一个 Cookie 对象
bytes
- 类 中的变量org.tio.http.common.
HeaderName
bytes
- 类 中的变量org.tio.http.common.
HeaderValue
C
CACHE_CONTROL
- 类 中的静态变量org.tio.http.common.
HeaderName
Cache_Control
- 类 中的静态变量org.tio.http.common.
HeaderName
Cache_Control()
- 类 的构造器org.tio.http.common.
HeaderValue.Cache_Control
Cache_Control
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Cache_Control
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
channelContext
- 类 中的变量org.tio.http.common.
HttpRequest
CHARSET
- 接口 中的静态变量org.tio.http.common.
HttpConst
默认的字符集
checkHost
- 类 中的变量org.tio.http.common.
HttpConfig
clearStaticResCache()
- 接口 中的方法org.tio.http.common.handler.
HttpRequestHandler
清空静态资源缓存,如果没有缓存,可以不处理
cloneResponse(HttpRequest, HttpResponse)
- 类 中的静态方法org.tio.http.common.
HttpResponse
close
- 类 中的静态变量org.tio.http.common.
HeaderValue.Connection
close
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderValue.Connection
close
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderValue.Connection
close()
- 类 中的方法org.tio.http.common.
HttpRequest
关闭连接
close(String)
- 类 中的方法org.tio.http.common.
HttpRequest
关闭连接
compatible1_0
- 类 中的变量org.tio.http.common.
HttpConfig
是否兼容1.0 true:兼容 false:不兼容 默认兼容
Connection
- 类 中的静态变量org.tio.http.common.
HeaderName
Connection()
- 类 的构造器org.tio.http.common.
HeaderValue.Connection
Connection
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Connection
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
Content_Disposition
- 类 中的静态变量org.tio.http.common.
HeaderName
Content_Disposition
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
Content-Disposition: attachment;filename=FileName.txt 文件下载
Content_Disposition
- 接口 中的静态变量org.tio.http.common.
HttpMultiBodyDecoder.MultiBodyHeaderKey
Content_Encoding
- 类 中的静态变量org.tio.http.common.
HeaderName
Content_Encoding()
- 类 的构造器org.tio.http.common.
HeaderValue.Content_Encoding
Content_Encoding
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
文档的编码(Encode)方法。
Content_Length
- 类 中的静态变量org.tio.http.common.
HeaderName
Content_Length
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Content_Length
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
CONTENT_TYPE
- 类 中的静态变量org.tio.http.common.
HeaderName
Content_Type
- 类 中的静态变量org.tio.http.common.
HeaderName
Content_Type()
- 类 的构造器org.tio.http.common.
HeaderValue.Content_Type
Content_Type
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Content_Type
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
表示后面的文档属于什么MIME类型。
Content_Type
- 接口 中的静态变量org.tio.http.common.
HttpMultiBodyDecoder.MultiBodyHeaderKey
Cookie
-
org.tio.http.common
中的类
部分代码参考了: https://github.com/helyho/Voovan
Cookie(String, String, String, Long)
- 类 的构造器org.tio.http.common.
Cookie
创建一个 Cookie
Cookie
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
D
Date
- 类 中的静态变量org.tio.http.common.
HeaderName
Date
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
当前的GMT时间。
decode(HttpRequest, RequestLine, byte[], String, ChannelContext, HttpConfig)
- 类 中的静态方法org.tio.http.common.
HttpMultiBodyDecoder
decode(ByteBuffer, int, int, int, ChannelContext, HttpConfig)
- 类 中的静态方法org.tio.http.common.
HttpRequestDecoder
decode(ByteBuffer, int, int, int, ChannelContext)
- 类 中的方法org.tio.http.server.
HttpTioServerHandler
decode(ByteBuffer, ChannelContext)
- 类 中的静态方法org.tio.websocket.common.
WsServerDecoder
decode(ByteBuffer, int, int, int, ChannelContext)
- 类 中的方法org.tio.websocket.server.
WsTioServerHandler
decodeParams(Map<String, Object[]>, String, Charset)
- 类 中的静态方法org.tio.http.common.
HttpRequestDecoder
DEFAULT_TYPE
- 类 中的静态变量org.tio.http.common.
HeaderValue.Content_Type
description
- 枚举 中的变量org.tio.http.common.
HttpResponseStatus
E
encode(HttpResponse, TioConfig, ChannelContext)
- 类 中的静态方法org.tio.http.common.
HttpResponseEncoder
encode(Packet, TioConfig, ChannelContext)
- 类 中的方法org.tio.http.server.
HttpTioServerHandler
encode(WsResponse)
- 类 中的静态方法org.tio.websocket.common.
WsServerEncoder
encode(Packet, TioConfig, ChannelContext)
- 类 中的方法org.tio.websocket.server.
WsTioServerHandler
encodeSubProtocol(Packet, TioConfig, ChannelContext)
- 接口 中的方法org.tio.websocket.server.handler.
IWsSubProtocolsMsgHandler
解析子编码
EnumerableValue()
- 类 的构造器org.tio.http.common.
HeaderValue.EnumerableValue
equals(Object)
- 类 中的方法org.tio.http.common.
HeaderName
equals(Object)
- 类 中的方法org.tio.http.common.
HeaderValue
Expires
- 类 中的静态变量org.tio.http.common.
HeaderName
Expires
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
应该在什么时候认为文档已经过期,从而不再缓存它?
F
FALSE
- 类 中的静态变量org.tio.http.common.
HeaderValue.Tio_From_Cache
forward(String)
- 类 中的方法org.tio.http.common.
HttpRequest
from(String)
- 类 中的静态方法org.tio.http.common.
HeaderName
from(String)
- 类 中的静态方法org.tio.http.common.
HeaderValue.EnumerableValue
from(String)
- 类 中的静态方法org.tio.http.common.
HeaderValue
from(String, String)
- 类 中的静态方法org.tio.http.common.
HeaderValue
from(String)
- 枚举 中的静态方法org.tio.http.common.
Method
fromBytes(byte[])
- 类 中的静态方法org.tio.websocket.common.
WsRequest
fromBytes(byte[])
- 类 中的静态方法org.tio.websocket.common.
WsResponse
fromExtension(String)
- 枚举 中的静态方法org.tio.http.common.
MimeType
Gets the first matching mime-type for the given extension
fromText(String, Charset)
- 类 中的静态方法org.tio.websocket.common.
WsRequest
fromText(String, Charset)
- 类 中的静态方法org.tio.websocket.common.
WsResponse
fromType(String)
- 枚举 中的静态方法org.tio.http.common.
MimeType
Gets the first matching mime-type for the given type
G
getAttribute(String)
- 类 中的方法org.tio.http.common.
HttpPacket
获取属性
getAttribute(String, Serializable)
- 类 中的方法org.tio.http.common.
HttpPacket
getBindIp()
- 类 中的方法org.tio.http.common.
HttpConfig
getBindPort()
- 类 中的方法org.tio.http.common.
HttpConfig
getBody()
- 类 中的方法org.tio.http.common.
HttpPacket
getBody()
- 类 中的方法org.tio.websocket.common.
WsPacket
getBodyFormat()
- 类 中的方法org.tio.http.common.
HttpRequest
getBodys()
- 类 中的方法org.tio.websocket.common.
WsPacket
getBodyString()
- 类 中的方法org.tio.http.common.
HttpRequest
getByte(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getByte(String, byte)
- 类 中的方法org.tio.http.common.
HttpRequest
getBytes()
- 类 中的方法org.tio.http.common.
Cookie
getChannelContext()
- 类 中的方法org.tio.http.common.
HttpRequest
getCharset()
- 类 中的方法org.tio.http.common.
HttpConfig
getCharset()
- 类 中的方法org.tio.http.common.
HttpRequest
getCharset()
- 类 中的方法org.tio.http.common.
HttpResponse
getClientIp()
- 类 中的方法org.tio.http.common.
HttpRequest
获取真实的客户端ip
getCode()
- 枚举 中的方法org.tio.websocket.common.
Opcode
getConnection()
- 类 中的方法org.tio.http.common.
HttpRequest
getContentDisposition()
- 类 中的方法org.tio.http.common.
HttpMultiBodyDecoder.Header
getContentLength()
- 类 中的方法org.tio.http.common.
HttpRequest
getContentType()
- 类 中的方法org.tio.http.common.
HttpMultiBodyDecoder.Header
getContentType()
- 类 中的方法org.tio.http.common.
HttpResponse
获取"Content-Type"头部内容
getContextPath()
- 类 中的方法org.tio.http.common.
HttpConfig
getCookie(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getCookieMap()
- 类 中的方法org.tio.http.common.
HttpRequest
getCookies()
- 类 中的方法org.tio.http.common.
HttpRequest
getCookies()
- 类 中的方法org.tio.http.common.
HttpResponse
getCreateTime()
- 类 中的方法org.tio.http.common.
HttpRequest
getData()
- 类 中的方法org.tio.http.common.
UploadFile
getDescription()
- 枚举 中的方法org.tio.http.common.
HttpResponseStatus
getDomain()
- 类 中的方法org.tio.http.common.
Cookie
getDomain()
- 类 中的方法org.tio.http.common.
HttpRequest
根据host字段,获取去除端口的纯域名部分的值,形如:www.t-io.org, t-io.org等值
getDouble(String, double)
- 类 中的方法org.tio.http.common.
HttpRequest
getDouble(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getEqualMap(String)
- 类 中的静态方法org.tio.http.common.
Cookie
getExpires()
- 类 中的方法org.tio.http.common.
Cookie
getExtension()
- 枚举 中的方法org.tio.http.common.
MimeType
Get the extension for this type. e.g.
getFile()
- 类 中的方法org.tio.http.common.
HttpResource
getFilename()
- 类 中的方法org.tio.http.common.
HttpMultiBodyDecoder.Header
getFloat(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getFloat(String, float)
- 类 中的方法org.tio.http.common.
HttpRequest
getHandshakeRequest()
- 类 中的方法org.tio.websocket.common.
WsSessionContext
getHandshakeResponse()
- 类 中的方法org.tio.websocket.common.
WsSessionContext
getHeader(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getHeader(HeaderName)
- 类 中的方法org.tio.http.common.
HttpResponse
getHeaderBinary()
- 枚举 中的方法org.tio.http.common.
HttpResponseStatus
getHeaderByteCount()
- 类 中的方法org.tio.http.common.
HttpResponse
getHeaders()
- 类 中的方法org.tio.http.common.
HttpRequest
getHeaders()
- 类 中的方法org.tio.http.common.
HttpResponse
警告:通过本方法获得Map
对象后,请勿调用put(key, value)。
getHeaderString()
- 类 中的方法org.tio.http.common.
HttpPacket
getHeaderText()
- 枚举 中的方法org.tio.http.common.
HttpResponseStatus
getHost()
- 类 中的方法org.tio.http.common.
HttpRequest
获取请求头中的host字段,形如:www.t-io.org:8080, www.t-io.org等值
getHttpConfig(HttpRequest)
- 接口 中的方法org.tio.http.common.handler.
HttpRequestHandler
获取 HttpConfig
getHttpConfig()
- 类 中的方法org.tio.http.common.
HttpRequest
getHttpConfig()
- 类 中的方法org.tio.http.server.
HttpServerStarter
getHttpConfig()
- 类 中的方法org.tio.http.server.
HttpTioServerHandler
getHttpConfig()
- 类 中的方法org.tio.websocket.server.
WsTioServerHandler
getHttpRequest()
- 类 中的方法org.tio.http.common.
HttpResponse
getHttpRequestHandler()
- 类 中的方法org.tio.http.common.
HttpConfig
getHttpRequestHandler()
- 类 中的方法org.tio.http.server.
HttpServerStarter
getHttpStatus(int)
- 枚举 中的静态方法org.tio.http.common.
HttpResponseStatus
getHttpTioServerHandler()
- 类 中的方法org.tio.http.server.
HttpServerStarter
getHttpTioServerListener()
- 类 中的方法org.tio.http.server.
HttpServerStarter
getId()
- 类 中的方法org.tio.http.common.
HttpRequest
getInitPath()
- 类 中的方法org.tio.http.common.
RequestLine
getInputStream()
- 类 中的方法org.tio.http.common.
HttpResource
getInt(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getInt(String, int)
- 类 中的方法org.tio.http.common.
HttpRequest
获取 int 参数
getIsSupportGzip()
- 类 中的方法org.tio.http.common.
HttpRequest
getLastModified()
- 类 中的方法org.tio.http.common.
HttpResponse
getLastParts()
- 类 中的方法org.tio.websocket.common.
WsSessionContext
getLocalIp()
- 类 中的静态方法org.tio.http.common.utils.
IpUtils
获取本机 ip
getLong(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getLong(String, long)
- 类 中的方法org.tio.http.common.
HttpRequest
getMap()
- 类 中的方法org.tio.http.common.
HttpMultiBodyDecoder.Header
getMaxAge()
- 类 中的方法org.tio.http.common.
Cookie
getMaxForwardCount()
- 类 中的方法org.tio.http.common.
HttpConfig
getMaxLengthOfHeader()
- 类 中的方法org.tio.http.common.
HttpConfig
getMaxLengthOfHeaderLine()
- 类 中的方法org.tio.http.common.
HttpConfig
getMaxLengthOfMultiBody()
- 类 中的方法org.tio.http.common.
HttpConfig
getMaxLengthOfPostBody()
- 类 中的方法org.tio.http.common.
HttpConfig
getMaxLengthOfRequestLine()
- 类 中的方法org.tio.http.common.
HttpConfig
getMethod()
- 类 中的方法org.tio.http.common.
RequestLine
getName()
- 类 中的方法org.tio.http.common.
Cookie
getName()
- 类 中的方法org.tio.http.common.
HttpConfig
getName()
- 类 中的方法org.tio.http.common.
HttpMultiBodyDecoder.Header
getName()
- 类 中的方法org.tio.http.common.
UploadFile
getObject(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getParam()
- 类 中的方法org.tio.http.common.
HttpRequest
把类型为数组的参数值转换成Object,相当于是取了数组的第一个值,便于业务开发(因为大部分参数值其实只有一个)
getParam(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getParamArray(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getParams()
- 类 中的方法org.tio.http.common.
HttpRequest
getPath()
- 类 中的方法org.tio.http.common.
Cookie
getPath()
- 类 中的方法org.tio.http.common.
HttpResource
getPath()
- 类 中的方法org.tio.http.common.
RequestLine
譬如http://www.163.com/user/get?
getPathAndQuery()
- 类 中的方法org.tio.http.common.
RequestLine
/user/get?
getProtocol()
- 类 中的方法org.tio.http.common.
RequestLine
getQueryString()
- 类 中的方法org.tio.http.common.
RequestLine
譬如http://www.163.com/user/get?
getRealIp(HttpRequest)
- 类 中的静态方法org.tio.http.common.utils.
IpUtils
getRealIp(ChannelContext, HttpConfig, Map<String, String>)
- 类 中的静态方法org.tio.http.common.utils.
IpUtils
获取真实ip
getReferer()
- 类 中的方法org.tio.http.common.
HttpRequest
getRemote()
- 类 中的方法org.tio.http.common.
HttpRequest
getRequestLine()
- 类 中的方法org.tio.http.common.
HttpRequest
getRespForBlackIp()
- 类 中的方法org.tio.http.common.
HttpConfig
getResponseLineBinary()
- 枚举 中的方法org.tio.http.common.
HttpResponseStatus
getServerInfo()
- 类 中的方法org.tio.http.common.
HttpConfig
getShort(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getShort(String, short)
- 类 中的方法org.tio.http.common.
HttpRequest
getSize()
- 类 中的方法org.tio.http.common.
UploadFile
getStatus()
- 类 中的方法org.tio.http.common.
HttpResponse
getStatus()
- 枚举 中的方法org.tio.http.common.
HttpResponseStatus
getString(String)
- 类 中的方法org.tio.http.common.
HttpRequest
同getParam(String name)
getSubAttribute(String, String)
- 类 中的静态方法org.tio.http.common.utils.
HttpParseUtils
obtain sub attribute
getSupportedSubProtocols()
- 接口 中的方法org.tio.websocket.server.handler.
IWsSubProtocolsMsgHandler
获取支持的子协议
getTioServer()
- 类 中的方法org.tio.http.server.
HttpServerStarter
getTioServer()
- 类 中的方法org.tio.websocket.server.
WsServerStarter
getTioServerConfig()
- 类 中的方法org.tio.http.server.
HttpServerStarter
getTioServerConfig()
- 类 中的方法org.tio.websocket.server.
WsServerStarter
getToken()
- 类 中的方法org.tio.websocket.common.
WsSessionContext
getType()
- 枚举 中的方法org.tio.http.common.
MimeType
Get a String representation of this type. e.g.
getUploadFile(String)
- 类 中的方法org.tio.http.common.
HttpRequest
getUserAgent()
- 类 中的方法org.tio.http.common.
HttpRequest
获取请求头中的User-Agent字段
getValue()
- 类 中的方法org.tio.http.common.
Cookie
getVersion()
- 类 中的方法org.tio.http.common.
RequestLine
getWsBodyLength()
- 类 中的方法org.tio.websocket.common.
WsPacket
getWsBodyText()
- 类 中的方法org.tio.websocket.common.
WsPacket
getWsMask()
- 类 中的方法org.tio.websocket.common.
WsPacket
getWsMsgHandler()
- 类 中的方法org.tio.websocket.server.
WsServerStarter
getWsOpcode()
- 类 中的方法org.tio.websocket.common.
WsPacket
getWsServerConfig()
- 类 中的方法org.tio.websocket.server.
WsServerStarter
getWsTioServerHandler()
- 类 中的方法org.tio.websocket.server.
WsServerStarter
getWsTioServerListener()
- 类 中的方法org.tio.websocket.server.
WsServerStarter
gzip
- 类 中的静态变量org.tio.http.common.
HeaderValue.Content_Encoding
gzip
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderValue.Accept
gzip(HttpRequest, HttpResponse)
- 类 中的静态方法org.tio.http.common.utils.
HttpGzipUtils
gzip
gzip(HttpResponse)
- 类 中的静态方法org.tio.http.common.utils.
HttpGzipUtils
gzip
H
handler(HttpRequest)
- 接口 中的方法org.tio.http.common.handler.
HttpRequestHandler
处理请求
handler(Packet, ChannelContext)
- 类 中的方法org.tio.http.server.
HttpTioServerHandler
handler(Packet, ChannelContext)
- 类 中的方法org.tio.websocket.server.
WsTioServerHandler
handshake(HttpRequest, HttpResponse, ChannelContext)
- 接口 中的方法org.tio.websocket.server.handler.
IWsMsgHandler
对httpResponse参数进行补充并返回,如果返回null表示不想和对方建立连接,框架会断开连接,如果返回非null,框架会把这个对象发送给对方 注:请不要在这个方法中向对方发送任何消息,因为这个时候握手还没完成,发消息会导致协议交互失败。
hashCode()
- 类 中的方法org.tio.http.common.
HeaderName
hashCode()
- 类 中的方法org.tio.http.common.
HeaderValue
Header()
- 类 的构造器org.tio.http.common.
HttpMultiBodyDecoder.Header
HEADER_DATE_LENGTH_1
- 类 中的静态变量org.tio.http.common.
HttpResponseEncoder
HEADER_FIXED_LENGTH
- 类 中的静态变量org.tio.http.common.
HttpResponseEncoder
HEADER_SERVER_LENGTH
- 类 中的静态变量org.tio.http.common.
HttpResponseEncoder
HeaderName
-
org.tio.http.common
中的类
headers
- 类 中的变量org.tio.http.common.
HttpRequest
headerText
- 枚举 中的变量org.tio.http.common.
HttpResponseStatus
HeaderValue
-
org.tio.http.common
中的类
HeaderValue.Access_Control_Allow_Headers
-
org.tio.http.common
中的类
HeaderValue.Access_Control_Allow_Methods
-
org.tio.http.common
中的类
HeaderValue.Access_Control_Allow_Origin
-
org.tio.http.common
中的类
HeaderValue.Access_Control_Max_Age
-
org.tio.http.common
中的类
HeaderValue.Cache_Control
-
org.tio.http.common
中的类
HeaderValue.Connection
-
org.tio.http.common
中的类
HeaderValue.Content_Encoding
-
org.tio.http.common
中的类
HeaderValue.Content_Type
-
org.tio.http.common
中的类
HeaderValue.EnumerableValue
-
org.tio.http.common
中的类
HeaderValue.Keep_Alive
-
org.tio.http.common
中的类
HeaderValue.Server
-
org.tio.http.common
中的类
HeaderValue.Tio_From_Cache
-
org.tio.http.common
中的类
HeaderValue.Tio_Webpack_Used_Cache
-
org.tio.http.common
中的类
HeaderValue.Upgrade
-
org.tio.http.common
中的类
Host
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
HTTP_REQ_HANDLER
- 接口 中的静态变量org.tio.http.common.
TioConfigKey
HttpConfig
-
org.tio.http.common
中的类
HttpConfig(int)
- 类 的构造器org.tio.http.common.
HttpConfig
HttpConfig(int, String)
- 类 的构造器org.tio.http.common.
HttpConfig
HttpConfig
httpConfig
- 类 中的变量org.tio.http.common.
HttpRequest
httpConfig
- 类 中的变量org.tio.http.server.
HttpTioServerHandler
HttpConst
-
org.tio.http.common
中的接口
HttpConst.HttpVersion
-
org.tio.http.common
中的接口
HttpConst.RequestBodyFormat
-
org.tio.http.common
中的枚举
请求体的格式
HttpConst.RequestHeaderKey
-
org.tio.http.common
中的接口
Accept-Language : zh-CN,zh;q=0.8 Sec-WebSocket-Version : 13 Sec-WebSocket-Extensions : permessage-deflate; client_max_window_bits Upgrade : websocket Host : t-io.org:9321 Accept-Encoding : gzip, deflate, sdch User-Agent : Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Origin : http://www.t-io.org:9292 Sec-WebSocket-Key : kmCL2C7q9vtNSMyHpft7lw== Connection : Upgrade Cache-Control : no-cache Pragma : no-cache
HttpConst.RequestHeaderValue
-
org.tio.http.common
中的接口
HttpConst.RequestHeaderValue.Accept
-
org.tio.http.common
中的接口
HttpConst.RequestHeaderValue.Connection
-
org.tio.http.common
中的接口
HttpConst.RequestHeaderValue.Content_Type
-
org.tio.http.common
中的接口
HttpConst.ResponseHeaderKey
-
org.tio.http.common
中的接口
HttpConst.ResponseHeaderValue
-
org.tio.http.common
中的接口
HttpConst.ResponseHeaderValue.Connection
-
org.tio.http.common
中的接口
HttpConst.ResponseHeaderValue.Upgrade
-
org.tio.http.common
中的接口
HttpGzipUtils
-
org.tio.http.common.utils
中的类
HttpMultiBodyDecoder
-
org.tio.http.common
中的类
HttpMultiBodyDecoder()
- 类 的构造器org.tio.http.common.
HttpMultiBodyDecoder
HttpMultiBodyDecoder.Header
-
org.tio.http.common
中的类
HttpMultiBodyDecoder.MultiBodyHeaderKey
-
org.tio.http.common
中的接口
【 Content-Disposition: form-data; name="uploadFile"; filename="" Content-Type: application/octet-stream 】 【 Content-Disposition: form-data; name="end" 】
HttpMultiBodyDecoder.Step
-
org.tio.http.common
中的枚举
HttpPacket
-
org.tio.http.common
中的类
HttpPacket()
- 类 的构造器org.tio.http.common.
HttpPacket
HttpParseUtils
-
org.tio.http.common.utils
中的类
HttpRequest
-
org.tio.http.common
中的类
HttpRequest(Node)
- 类 的构造器org.tio.http.common.
HttpRequest
HttpRequest()
- 类 的构造器org.tio.http.common.
HttpRequest
HttpRequestDecoder
-
org.tio.http.common
中的类
http server中使用
HttpRequestDecoder()
- 类 的构造器org.tio.http.common.
HttpRequestDecoder
HttpRequestHandler
-
org.tio.http.common.handler
中的接口
http请求处理者
HttpResource
-
org.tio.http.common
中的类
HttpResource(String, InputStream, File)
- 类 的构造器org.tio.http.common.
HttpResource
HttpResource()
- 类 的构造器org.tio.http.common.
HttpResource
HttpResponse
-
org.tio.http.common
中的类
HttpResponse()
- 类 的构造器org.tio.http.common.
HttpResponse
HttpResponse(HttpRequest)
- 类 的构造器org.tio.http.common.
HttpResponse
HttpResponse(Map<HeaderName, HeaderValue>, byte[])
- 类 的构造器org.tio.http.common.
HttpResponse
HttpResponseEncoder
-
org.tio.http.common
中的类
http server中使用
HttpResponseStatus
-
org.tio.http.common
中的枚举
本类直接摘自baseio: https://gitee.com/generallycloud/baseio
谢谢作者整理
HttpServerStarter
-
org.tio.http.server
中的类
HttpServerStarter(HttpConfig, HttpRequestHandler)
- 类 的构造器org.tio.http.server.
HttpServerStarter
HttpServerStarter(HttpConfig, HttpRequestHandler, SynThreadPoolExecutor, ExecutorService)
- 类 的构造器org.tio.http.server.
HttpServerStarter
HttpTioServerHandler
-
org.tio.http.server
中的类
HttpTioServerHandler(HttpConfig, HttpRequestHandler)
- 类 的构造器org.tio.http.server.
HttpTioServerHandler
HttpTioServerListener
-
org.tio.http.server
中的类
HTTP TioServerListener
HttpTioServerListener()
- 类 的构造器org.tio.http.server.
HttpTioServerListener
I
If_Modified_Since
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
initPath
- 类 中的变量org.tio.http.common.
RequestLine
IpUtils
-
org.tio.http.common.utils
中的类
IpUtils()
- 类 的构造器org.tio.http.common.utils.
IpUtils
isAppendRequestHeaderString()
- 类 中的方法org.tio.http.common.
HttpConfig
isClosed()
- 类 中的方法org.tio.http.common.
HttpRequest
isForward()
- 类 中的方法org.tio.http.common.
HttpRequest
isHandShake()
- 类 中的方法org.tio.websocket.common.
WsPacket
是否是握手包
isHandshaked()
- 类 中的方法org.tio.websocket.common.
WsSessionContext
isHasGzipped()
- 类 中的方法org.tio.http.common.
HttpResponse
isHttpOnly()
- 类 中的方法org.tio.http.common.
Cookie
isIp(String)
- 类 中的静态方法org.tio.http.common.utils.
IpUtils
isNeedForward()
- 类 中的方法org.tio.http.common.
HttpRequest
isPageInClasspath()
- 类 中的方法org.tio.http.common.
HttpConfig
isProxied()
- 类 中的方法org.tio.http.common.
HttpConfig
isSecure()
- 类 中的方法org.tio.http.common.
Cookie
isSkipIpStat()
- 类 中的方法org.tio.http.common.
HttpResponse
isSkipTokenStat()
- 类 中的方法org.tio.http.common.
HttpResponse
isStaticRes()
- 类 中的方法org.tio.http.common.
HttpResponse
isWsEof()
- 类 中的方法org.tio.websocket.common.
WsPacket
isWsHasMask()
- 类 中的方法org.tio.websocket.common.
WsPacket
IWsMsgHandler
-
org.tio.websocket.server.handler
中的接口
IWsSubProtocolsMsgHandler
-
org.tio.websocket.server.handler
中的接口
websocket 子协议处理器
K
Keep_Alive
- 类 中的静态变量org.tio.http.common.
HeaderName
keep_alive
- 类 中的静态变量org.tio.http.common.
HeaderValue.Connection
Keep_Alive()
- 类 的构造器org.tio.http.common.
HeaderValue.Keep_Alive
keep_alive
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderValue.Connection
Keep_Alive
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
keep_alive
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderValue.Connection
L
Last_Modified
- 类 中的静态变量org.tio.http.common.
HeaderName
Last_Modified
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
文档的最后改动时间。
LOCATION
- 类 中的静态变量org.tio.http.common.
HeaderName
Location
- 类 中的静态变量org.tio.http.common.
HeaderName
Location
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
表示客户应当到哪里去提取文档。
logstr()
- 类 中的方法org.tio.http.common.
HttpRequest
logstr()
- 类 中的方法org.tio.http.common.
HttpResponse
logstr()
- 类 中的方法org.tio.websocket.common.
WsPacket
M
MAX_AGE_60
- 类 中的静态变量org.tio.http.common.
HeaderValue.Cache_Control
MAX_BODY_LENGTH
- 类 中的静态变量org.tio.websocket.common.
WsPacket
最多接受的1024 * 512(半M)数据
MAX_FORWARD_COUNT
- 类 中的静态变量org.tio.http.common.
HttpConfig
最大重定向次数
MAX_LENGTH_OF_BOUNDARY
- 类 中的静态变量org.tio.http.common.
HttpConfig
文件上传时,boundary值的最大长度
MAX_LENGTH_OF_HEADER
- 类 中的静态变量org.tio.http.common.
HttpConfig
头部,最多有多少字节,默认:20K
MAX_LENGTH_OF_HEADER_LINE
- 类 中的静态变量org.tio.http.common.
HttpConfig
头部,每行最大的字节数,默认:8K
MAX_LENGTH_OF_MULTI_BODY
- 类 中的静态变量org.tio.http.common.
HttpConfig
文件上传时,体的最大长度(默认值2M)
MAX_LENGTH_OF_MULTI_HEADER
- 类 中的静态变量org.tio.http.common.
HttpConfig
文件上传时,头部的最大长度
MAX_LENGTH_OF_POST_BODY
- 类 中的静态变量org.tio.http.common.
HttpConfig
POST体的最大长度默认值(2M)
MAX_LENGTH_OF_REQUEST_LINE
- 类 中的静态变量org.tio.http.common.
HttpConfig
请求行的最大长度,默认:8K
maxForwardCount
- 类 中的变量org.tio.http.common.
HttpConfig
maxLengthOfHeader
- 类 中的变量org.tio.http.common.
HttpConfig
头部,最多有多少字节
maxLengthOfHeaderLine
- 类 中的变量org.tio.http.common.
HttpConfig
头部,每行最大的字节数
maxLengthOfRequestLine
- 类 中的变量org.tio.http.common.
HttpConfig
请求行的最大长度
Method
-
org.tio.http.common
中的枚举
method
- 类 中的变量org.tio.http.common.
RequestLine
MimeType
-
org.tio.http.common
中的枚举
本类大部分摘自github的一个项目(当时找过后,忘记记录地址,后面工到后补充进来),部分为tio作者补充,感谢作者的贡献
MINIMUM_HEADER_LENGTH
- 类 中的静态变量org.tio.websocket.common.
WsPacket
multipart_form_data
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderValue.Content_Type
文件上传
N
name
- 类 中的变量org.tio.http.common.
HeaderName
NULL_RESPONSE
- 类 中的静态变量org.tio.http.common.
HttpResponse
O
onAfterConnected(ChannelContext, boolean, boolean)
- 类 中的方法org.tio.websocket.server.
WsTioServerListener
onAfterHandshaked(HttpRequest, HttpResponse, ChannelContext)
- 接口 中的方法org.tio.websocket.server.handler.
IWsMsgHandler
握手成功后触发该方法
onAfterSent(ChannelContext, Packet, boolean)
- 类 中的方法org.tio.http.server.
HttpTioServerListener
onBytes(WsRequest, byte[], ChannelContext)
- 接口 中的方法org.tio.websocket.server.handler.
IWsMsgHandler
当收到Opcode.BINARY消息时,执行该方法。
onClose(WsRequest, byte[], ChannelContext)
- 接口 中的方法org.tio.websocket.server.handler.
IWsMsgHandler
当收到Opcode.CLOSE时,执行该方法,业务层在该方法中一般不需要写什么逻辑,空着就好
onText(WsRequest, String, ChannelContext)
- 接口 中的方法org.tio.websocket.server.handler.
IWsMsgHandler
当收到Opcode.TEXT消息时,执行该方法。
Opcode
-
org.tio.websocket.common
中的枚举
org.tio.http.common
- 程序包 org.tio.http.common
org.tio.http.common.handler
- 程序包 org.tio.http.common.handler
org.tio.http.common.utils
- 程序包 org.tio.http.common.utils
org.tio.http.server
- 程序包 org.tio.http.server
org.tio.websocket.common
- 程序包 org.tio.websocket.common
org.tio.websocket.server
- 程序包 org.tio.websocket.server
org.tio.websocket.server.handler
- 程序包 org.tio.websocket.server.handler
Origin
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
P
parseBody(HttpMultiBodyDecoder.Header, HttpRequest, ByteBuffer, String, String, ChannelContext, HttpConfig)
- 类 中的静态方法org.tio.http.common.
HttpMultiBodyDecoder
parseBodyFormat(HttpRequest, Map<String, String>)
- 类 中的静态方法org.tio.http.common.
HttpRequestDecoder
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 Content-Type : application/x-www-form-urlencoded; charset=UTF-8
parseCookie(HttpConfig)
- 类 中的方法org.tio.http.common.
HttpRequest
parseHeader(List<String>, HttpMultiBodyDecoder.Header, ChannelContext)
- 类 中的静态方法org.tio.http.common.
HttpMultiBodyDecoder
【 Content-Disposition: form-data; name="uploadFile"; filename="" Content-Type: application/octet-stream 】 【 Content-Disposition: form-data; name="end" 】
parseHeaderLine(ByteBuffer, Map<String, String>, int, HttpConfig)
- 类 中的静态方法org.tio.http.common.
HttpRequestDecoder
解析请求头的每一行
parseRequestLine(ByteBuffer, HttpConfig)
- 类 中的静态方法org.tio.http.common.
HttpRequestDecoder
parse request line(the first line)
path
- 类 中的变量org.tio.http.common.
RequestLine
Pragma
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
protocol
- 类 中的变量org.tio.http.common.
RequestLine
Q
queryString
- 类 中的变量org.tio.http.common.
RequestLine
R
Referer
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Refresh
- 类 中的静态变量org.tio.http.common.
HeaderName
Refresh
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
表示浏览器应该在多少时间之后刷新文档,以秒计。
removeAttribute(String)
- 类 中的方法org.tio.http.common.
HttpPacket
removeHeader(String, String)
- 类 中的方法org.tio.http.common.
HttpRequest
REQUEST_KEY
- 类 中的静态变量org.tio.http.server.
HttpTioServerHandler
requestLine
- 类 中的变量org.tio.http.common.
HttpRequest
RequestLine
-
org.tio.http.common
中的类
RequestLine()
- 类 的构造器org.tio.http.common.
RequestLine
resp404(HttpRequest, RequestLine)
- 接口 中的方法org.tio.http.common.handler.
HttpRequestHandler
响应404
resp500(HttpRequest, RequestLine, Throwable)
- 接口 中的方法org.tio.http.common.handler.
HttpRequestHandler
响应500
responseLine
- 枚举 中的变量org.tio.http.common.
HttpResponseStatus
responseLineBinary
- 枚举 中的变量org.tio.http.common.
HttpResponseStatus
S
searchByRegex(String, Pattern)
- 类 中的静态方法org.tio.http.common.
Cookie
Sec_WebSocket_Accept
- 类 中的静态变量org.tio.http.common.
HeaderName
Sec_WebSocket_Accept
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
Sec_WebSocket_Extensions
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Sec_WebSocket_Key
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Sec_Websocket_Protocol
- 类 中的静态变量org.tio.http.common.
HeaderName
Sec_Websocket_Protocol
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Sec_WebSocket_Version
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Server
- 类 中的静态变量org.tio.http.common.
HeaderName
Server()
- 类 的构造器org.tio.http.common.
HeaderValue.Server
Server
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
服务器名字。
SERVER_INFO
- 类 中的静态变量org.tio.http.common.
HeaderValue.Server
SERVER_INFO
- 接口 中的静态变量org.tio.http.common.
HttpConst
服务信息
SET_COOKIE
- 类 中的静态变量org.tio.http.common.
HeaderName
Set_Cookie
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
setAppendRequestHeaderString(boolean)
- 类 中的方法org.tio.http.common.
HttpConfig
setAttribute(String, Serializable)
- 类 中的方法org.tio.http.common.
HttpPacket
设置属性
setBindIp(String)
- 类 中的方法org.tio.http.common.
HttpConfig
setBody(byte[])
- 类 中的方法org.tio.http.common.
HttpPacket
setBody(byte[])
- 类 中的方法org.tio.websocket.common.
WsPacket
setBodyFormat(HttpConst.RequestBodyFormat)
- 类 中的方法org.tio.http.common.
HttpRequest
setBodys(byte[][])
- 类 中的方法org.tio.websocket.common.
WsPacket
setBodyString(String)
- 类 中的方法org.tio.http.common.
HttpRequest
setBytes(byte[])
- 类 中的方法org.tio.http.common.
Cookie
setChannelContext(ChannelContext)
- 类 中的方法org.tio.http.common.
HttpRequest
setCharset(Charset)
- 类 中的方法org.tio.http.common.
HttpConfig
setCharset(Charset)
- 类 中的方法org.tio.http.common.
HttpRequest
setCharset(Charset)
- 类 中的方法org.tio.http.common.
HttpResponse
setCheckHost(boolean)
- 类 中的方法org.tio.http.common.
HttpConfig
setClosed(boolean)
- 类 中的方法org.tio.http.common.
HttpRequest
setCompatible1_0(boolean)
- 类 中的方法org.tio.http.common.
HttpConfig
setConnection(String)
- 类 中的方法org.tio.http.common.
HttpRequest
setContentDisposition(String)
- 类 中的方法org.tio.http.common.
HttpMultiBodyDecoder.Header
setContentLength(int)
- 类 中的方法org.tio.http.common.
HttpRequest
setContentType(String)
- 类 中的方法org.tio.http.common.
HttpMultiBodyDecoder.Header
setCookieMap(Map<String, Cookie>)
- 类 中的方法org.tio.http.common.
HttpRequest
setCookies(List<Cookie>)
- 类 中的方法org.tio.http.common.
HttpRequest
setCookies(List<Cookie>)
- 类 中的方法org.tio.http.common.
HttpResponse
setCreateTime(long)
- 类 中的方法org.tio.http.common.
HttpRequest
setData(byte[])
- 类 中的方法org.tio.http.common.
UploadFile
setDomain(String)
- 类 中的方法org.tio.http.common.
Cookie
setExpires(String)
- 类 中的方法org.tio.http.common.
Cookie
setFile(File)
- 类 中的方法org.tio.http.common.
HttpResource
setFilename(String)
- 类 中的方法org.tio.http.common.
HttpMultiBodyDecoder.Header
setForward(boolean)
- 类 中的方法org.tio.http.common.
HttpRequest
setHandShake(boolean)
- 类 中的方法org.tio.websocket.common.
WsPacket
setHandshaked(boolean)
- 类 中的方法org.tio.websocket.common.
WsSessionContext
setHandshakeRequest(HttpRequest)
- 类 中的方法org.tio.websocket.common.
WsSessionContext
setHandshakeResponse(HttpResponse)
- 类 中的方法org.tio.websocket.common.
WsSessionContext
setHasGzipped(boolean)
- 类 中的方法org.tio.http.common.
HttpResponse
setHeaders(Map<String, String>)
- 类 中的方法org.tio.http.common.
HttpRequest
设置好header后,会把cookie等头部信息也设置好
setHeaderString(String)
- 类 中的方法org.tio.http.common.
HttpPacket
setHttpConfig(HttpConfig)
- 类 中的方法org.tio.http.common.
HttpRequest
setHttpOnly(boolean)
- 类 中的方法org.tio.http.common.
Cookie
setHttpRequestHandler(HttpRequestHandler)
- 类 中的方法org.tio.http.common.
HttpConfig
setHttpRequestHandler(HttpRequestHandler)
- 类 中的方法org.tio.http.server.
HttpServerStarter
setHttpRequestPacket(HttpRequest)
- 类 中的方法org.tio.http.common.
HttpResponse
setInitPath(String)
- 类 中的方法org.tio.http.common.
RequestLine
setInputStream(InputStream)
- 类 中的方法org.tio.http.common.
HttpResource
setLastModified(HeaderValue)
- 类 中的方法org.tio.http.common.
HttpResponse
setLastParts(List<byte[]>)
- 类 中的方法org.tio.websocket.common.
WsSessionContext
setMap(Map<String, String>)
- 类 中的方法org.tio.http.common.
HttpMultiBodyDecoder.Header
setMaxAge(Long)
- 类 中的方法org.tio.http.common.
Cookie
setMaxForwardCount(int)
- 类 中的方法org.tio.http.common.
HttpConfig
setMaxLengthOfHeader(int)
- 类 中的方法org.tio.http.common.
HttpConfig
setMaxLengthOfHeaderLine(int)
- 类 中的方法org.tio.http.common.
HttpConfig
setMaxLengthOfMultiBody(int)
- 类 中的方法org.tio.http.common.
HttpConfig
setMaxLengthOfPostBody(int)
- 类 中的方法org.tio.http.common.
HttpConfig
setMaxLengthOfRequestLine(int)
- 类 中的方法org.tio.http.common.
HttpConfig
setMethod(Method)
- 类 中的方法org.tio.http.common.
RequestLine
setName(String)
- 类 中的方法org.tio.http.common.
Cookie
setName(String)
- 类 中的方法org.tio.http.common.
HttpConfig
setName(String)
- 类 中的方法org.tio.http.common.
HttpMultiBodyDecoder.Header
setName(String)
- 类 中的方法org.tio.http.common.
UploadFile
setNeedForward(boolean)
- 类 中的方法org.tio.http.common.
HttpRequest
setPageInClasspath(boolean)
- 类 中的方法org.tio.http.common.
HttpConfig
setParams(Map<String, Object[]>)
- 类 中的方法org.tio.http.common.
HttpRequest
setPath(String)
- 类 中的方法org.tio.http.common.
Cookie
setPath(String)
- 类 中的方法org.tio.http.common.
HttpResource
setPath(String)
- 类 中的方法org.tio.http.common.
RequestLine
譬如http://www.163.com/user/get?
setProtocol(String)
- 类 中的方法org.tio.http.common.
RequestLine
setProxied(boolean)
- 类 中的方法org.tio.http.common.
HttpConfig
setQueryString(String)
- 类 中的方法org.tio.http.common.
RequestLine
譬如http://www.163.com/user/get?
setRemote(Node)
- 类 中的方法org.tio.http.common.
HttpRequest
setRequestLine(RequestLine)
- 类 中的方法org.tio.http.common.
HttpRequest
setRespForBlackIp(HttpResponse)
- 类 中的方法org.tio.http.common.
HttpConfig
setSecure(boolean)
- 类 中的方法org.tio.http.common.
Cookie
setServerInfo(String)
- 类 中的方法org.tio.http.common.
HttpConfig
setSize(int)
- 类 中的方法org.tio.http.common.
UploadFile
setSkipIpStat(boolean)
- 类 中的方法org.tio.http.common.
HttpResponse
setSkipTokenStat(boolean)
- 类 中的方法org.tio.http.common.
HttpResponse
setStaticRes(boolean)
- 类 中的方法org.tio.http.common.
HttpResponse
setStatus(HttpResponseStatus)
- 类 中的方法org.tio.http.common.
HttpResponse
setToken(String)
- 类 中的方法org.tio.websocket.common.
WsSessionContext
setValue(String)
- 类 中的方法org.tio.http.common.
Cookie
setVersion(String)
- 类 中的方法org.tio.http.common.
RequestLine
setWsBodyLength(long)
- 类 中的方法org.tio.websocket.common.
WsPacket
setWsBodyText(String)
- 类 中的方法org.tio.websocket.common.
WsPacket
setWsEof(boolean)
- 类 中的方法org.tio.websocket.common.
WsPacket
setWsHasMask(boolean)
- 类 中的方法org.tio.websocket.common.
WsPacket
setWsMask(byte[])
- 类 中的方法org.tio.websocket.common.
WsPacket
setWsOpcode(Opcode)
- 类 中的方法org.tio.websocket.common.
WsPacket
start()
- 类 中的方法org.tio.http.server.
HttpServerStarter
start()
- 类 中的方法org.tio.websocket.server.
WsServerStarter
status
- 枚举 中的变量org.tio.http.common.
HttpResponseStatus
stop()
- 类 中的方法org.tio.http.server.
HttpServerStarter
T
TEXT_HTML_HTML
- 类 中的静态变量org.tio.http.common.
HeaderValue.Content_Type
text_plain
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderValue.Content_Type
普通文本,一般会是json或是xml
TEXT_PLAIN_JSON
- 类 中的静态变量org.tio.http.common.
HeaderValue.Content_Type
TEXT_PLAIN_TXT
- 类 中的静态变量org.tio.http.common.
HeaderValue.Content_Type
TIMEOUT_10_MAX_20
- 类 中的静态变量org.tio.http.common.
HeaderValue.Keep_Alive
Tio_From_Cache()
- 类 的构造器org.tio.http.common.
HeaderValue.Tio_From_Cache
Tio_Webpack_Used_Cache()
- 类 的构造器org.tio.http.common.
HeaderValue.Tio_Webpack_Used_Cache
TioConfigKey
-
org.tio.http.common
中的接口
toString()
- 类 中的方法org.tio.http.common.
Cookie
toString()
- 类 中的方法org.tio.http.common.
HeaderName
toString()
- 类 中的方法org.tio.http.common.
HeaderValue
toString()
- 类 中的方法org.tio.http.common.
HttpRequest
toString()
- 类 中的方法org.tio.http.common.
HttpResponse
toString()
- 类 中的方法org.tio.http.common.
RequestLine
toUrlEncodedString(String)
- 类 中的方法org.tio.http.common.
RequestLine
用来编码用的 "GET /json?
TRUE
- 类 中的静态变量org.tio.http.common.
HeaderValue.Tio_From_Cache
U
updateWebSocketProtocol(HttpRequest)
- 类 中的方法org.tio.websocket.server.
WsTioServerHandler
本方法改编自baseio:
baseio
感谢开源作者的付出
Upgrade
- 类 中的静态变量org.tio.http.common.
HeaderName
Upgrade
- 类 中的静态变量org.tio.http.common.
HeaderValue.Connection
Upgrade()
- 类 的构造器org.tio.http.common.
HeaderValue.Upgrade
Upgrade
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
Upgrade
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderValue.Connection
Upgrade
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderKey
Upgrade
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderValue.Connection
UploadFile
-
org.tio.http.common
中的类
UploadFile()
- 类 的构造器org.tio.http.common.
UploadFile
User_Agent
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
V
V1_0
- 接口 中的静态变量org.tio.http.common.
HttpConst.HttpVersion
V1_1
- 接口 中的静态变量org.tio.http.common.
HttpConst.HttpVersion
V_1
- 类 中的静态变量org.tio.http.common.
HeaderValue.Tio_Webpack_Used_Cache
value
- 类 中的变量org.tio.http.common.
HeaderValue
valueOf(String)
- 枚举 中的静态方法org.tio.http.common.
HttpConst.RequestBodyFormat
返回带有指定名称的该类型的枚举常量。
valueOf(String)
- 枚举 中的静态方法org.tio.http.common.
HttpMultiBodyDecoder.Step
返回带有指定名称的该类型的枚举常量。
valueOf(String)
- 枚举 中的静态方法org.tio.http.common.
HttpResponseStatus
返回带有指定名称的该类型的枚举常量。
valueOf(String)
- 枚举 中的静态方法org.tio.http.common.
Method
返回带有指定名称的该类型的枚举常量。
valueOf(String)
- 枚举 中的静态方法org.tio.http.common.
MimeType
返回带有指定名称的该类型的枚举常量。
valueOf(String)
- 枚举 中的静态方法org.tio.websocket.common.
Opcode
返回带有指定名称的该类型的枚举常量。
valueOf(byte)
- 枚举 中的静态方法org.tio.websocket.common.
Opcode
values()
- 枚举 中的静态方法org.tio.http.common.
HttpConst.RequestBodyFormat
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values()
- 枚举 中的静态方法org.tio.http.common.
HttpMultiBodyDecoder.Step
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values()
- 枚举 中的静态方法org.tio.http.common.
HttpResponseStatus
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values()
- 枚举 中的静态方法org.tio.http.common.
Method
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values()
- 枚举 中的静态方法org.tio.http.common.
MimeType
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values()
- 枚举 中的静态方法org.tio.websocket.common.
Opcode
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
version
- 类 中的变量org.tio.http.common.
RequestLine
W
WebSocket
- 类 中的静态变量org.tio.http.common.
HeaderValue.Upgrade
WebSocket
- 接口 中的静态变量org.tio.http.common.
HttpConst.ResponseHeaderValue.Upgrade
WS_SESSION_CONTEXT_KEY
- 类 中的静态变量org.tio.websocket.common.
WsSessionContext
WsPacket
-
org.tio.websocket.common
中的类
WsPacket()
- 类 的构造器org.tio.websocket.common.
WsPacket
WsPacket(byte[])
- 类 的构造器org.tio.websocket.common.
WsPacket
WsRequest
-
org.tio.websocket.common
中的类
WsRequest()
- 类 的构造器org.tio.websocket.common.
WsRequest
WsResponse
-
org.tio.websocket.common
中的类
WsResponse()
- 类 的构造器org.tio.websocket.common.
WsResponse
WsServerDecoder
-
org.tio.websocket.common
中的类
WsServerEncoder
-
org.tio.websocket.common
中的类
参考了baseio: https://gitee.com/generallycloud/baseio com.generallycloud.nio.codec.http11.WebSocketProtocolEncoder
WsServerStarter
-
org.tio.websocket.server
中的类
WsServerStarter(int, IWsMsgHandler)
- 类 的构造器org.tio.websocket.server.
WsServerStarter
WsServerStarter(int, IWsMsgHandler, SynThreadPoolExecutor, ThreadPoolExecutor)
- 类 的构造器org.tio.websocket.server.
WsServerStarter
WsServerStarter(HttpConfig, IWsMsgHandler)
- 类 的构造器org.tio.websocket.server.
WsServerStarter
WsServerStarter(HttpConfig, IWsMsgHandler, SynThreadPoolExecutor, ThreadPoolExecutor)
- 类 的构造器org.tio.websocket.server.
WsServerStarter
WsServerStarter(HttpConfig, IWsMsgHandler, TioUuid, SynThreadPoolExecutor, ThreadPoolExecutor)
- 类 的构造器org.tio.websocket.server.
WsServerStarter
WsSessionContext
-
org.tio.websocket.common
中的类
WsSessionContext()
- 类 的构造器org.tio.websocket.common.
WsSessionContext
WsTioServerHandler
-
org.tio.websocket.server
中的类
WsTioServerHandler(HttpConfig, IWsMsgHandler)
- 类 的构造器org.tio.websocket.server.
WsTioServerHandler
WsTioServerListener
-
org.tio.websocket.server
中的类
WsTioServerListener()
- 类 的构造器org.tio.websocket.server.
WsTioServerListener
X
X_Requested_With
- 接口 中的静态变量org.tio.http.common.
HttpConst.RequestHeaderKey
值为XMLHttpRequest则为Ajax
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
Copyright © 2023. All rights reserved.