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

A

Accept_Encoding - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Accept_Language - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Access_Control_Allow_Credentials - Static variable in class org.tio.http.common.HeaderName
 
Access_Control_Allow_Credentials - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
Access_Control_Allow_Headers - Static variable in class org.tio.http.common.HeaderName
 
Access_Control_Allow_Headers - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
Access_Control_Allow_Methods - Static variable in class org.tio.http.common.HeaderName
 
Access_Control_Allow_Methods - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
Access_Control_Allow_Origin - Static variable in class org.tio.http.common.HeaderName
 
Access_Control_Allow_Origin - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
跨域配置相应头
Access_Control_Max_Age - Static variable in class org.tio.http.common.HeaderName
 
Access_Control_Max_Age - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
addCookie(Cookie) - Method in class org.tio.http.common.HttpResponse
 
addHeader(String, String) - Method in class org.tio.http.common.HttpRequest
 
addHeader(HeaderName, HeaderValue) - Method in class org.tio.http.common.HttpResponse
 
addHeaders(Map<String, String>) - Method in class org.tio.http.common.HttpRequest
 
addHeaders(Map<HeaderName, HeaderValue>) - Method in class org.tio.http.common.HttpResponse
 
addParam(String, Object) - Method in class org.tio.http.common.HttpRequest
 
APPLICATION_JSON - Static variable in class org.tio.http.common.HeaderValue.Content_Type
 
application_x_www_form_urlencoded - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Content_Type
普通的key-value
apply(HttpRequest) - Method in interface org.tio.http.common.handler.HttpRequestFunction
处理请求

B

body - Variable in class org.tio.http.common.HttpPacket
 
buildCookie(Map<String, String>, HttpConfig) - Static method in class org.tio.http.common.Cookie
通过 Map 构建一个 Cookie 对象
bytes - Variable in class org.tio.http.common.HeaderName
 
bytes - Variable in class org.tio.http.common.HeaderValue
 

C

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
 
capabilities(McpServerCapabilities) - Method in class org.tio.http.mcp.server.McpServer
Sets the server capabilities that will be advertised to clients during connection initialization.
channelContext - Variable in class org.tio.http.common.HttpRequest
 
CHARSET - Static variable in interface org.tio.http.common.HttpConst
默认的字符集
checkHost - Variable in class org.tio.http.common.HttpConfig
 
chunked - Static variable in class org.tio.http.common.HeaderValue.Transfer_Encoding
 
chunked - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderValue.Encoding
 
clearStaticResCache() - Method in interface org.tio.http.common.handler.HttpRequestHandler
清空静态资源缓存,如果没有缓存,可以不处理
cloneResponse(HttpRequest, HttpResponse) - Static method in class org.tio.http.common.HttpResponse
 
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.http.mcp.server.McpServerSession
关闭
close() - Method in class org.tio.http.sse.SseEmitter
主动关闭
comment(String) - Method in class org.tio.http.sse.SseEvent
添加 SSE "comment" 行.
compatible1_0 - Variable in class org.tio.http.common.HttpConfig
是否兼容1.0 true:兼容 false:不兼容 默认兼容
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
 
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_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() - 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类型。
Content_Type - Static variable in interface org.tio.http.common.HttpMultiBodyDecoder.MultiBodyHeaderKey
 
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
 

D

data(Object) - Method in class org.tio.http.sse.SseEvent
添加 SSE "data" 行.
Date - Static variable in class org.tio.http.common.HeaderName
 
Date - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
当前的GMT时间。
decode(HttpRequest, RequestLine, byte[], String, ChannelContext, HttpConfig) - Static method in class org.tio.http.common.HttpMultiBodyDecoder
 
decode(ByteBuffer, int, int, int, ChannelContext, HttpConfig) - Static method in class org.tio.http.common.HttpRequestDecoder
 
decode(ByteBuffer, int, int, int, ChannelContext) - Method in class org.tio.http.server.HttpTioServerHandler
 
decode(ByteBuffer, ChannelContext) - Static method in class org.tio.websocket.common.WsServerDecoder
 
decode(ByteBuffer, int, int, int, ChannelContext) - Method in class org.tio.websocket.server.WsTioServerHandler
 
decodeParams(Map<String, Object[]>, String, Charset) - Static method in class org.tio.http.common.HttpRequestDecoder
 
DEFAULT_MESSAGE_ENDPOINT - Static variable in class org.tio.http.mcp.server.McpServer
Default message endpoint path as specified by the MCP transport specification.
DEFAULT_SSE_ENDPOINT - Static variable in class org.tio.http.mcp.server.McpServer
Default SSE endpoint path as specified by the MCP transport specification.
DEFAULT_TYPE - Static variable in class org.tio.http.common.HeaderValue.Content_Type
 
description - Variable in enum org.tio.http.common.HttpResponseStatus
 

E

encode(HttpResponse) - Static method in class org.tio.http.common.HttpResponseEncoder
 
encode(Packet, TioConfig, ChannelContext) - Method in class org.tio.http.server.HttpTioServerHandler
 
encode(WsResponse) - Static method in class org.tio.websocket.common.WsServerEncoder
 
encode(Packet, TioConfig, ChannelContext) - Method in class org.tio.websocket.server.WsTioServerHandler
 
encodeSubProtocol(Packet, TioConfig, ChannelContext) - Method in interface org.tio.websocket.server.handler.IWsSubProtocolsMsgHandler
解析子编码
ENDPOINT_EVENT_TYPE - Static variable in class org.tio.http.mcp.server.McpServer
Event type for sending the message endpoint URI to clients.
equals(Object) - Method in class org.tio.http.common.HeaderName
 
equals(Object) - Method in class org.tio.http.common.HeaderValue
 
equals(Object) - Method in class org.tio.http.mcp.util.UriTemplate
 
Expires - Static variable in class org.tio.http.common.HeaderName
 
Expires - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
应该在什么时候认为文档已经过期,从而不再缓存它?

F

forward(String) - Method in class org.tio.http.common.HttpRequest
 
from(String) - Static method in class org.tio.http.common.HeaderName
 
from(String) - Static method in class org.tio.http.common.HeaderValue
 
from(String, Charset) - Static method in class org.tio.http.common.HeaderValue
 
from(String) - Static method in enum org.tio.http.common.Method
 
fromBytes(byte[]) - Static method in class org.tio.websocket.common.WsRequest
 
fromBytes(byte[]) - Static method in class org.tio.websocket.common.WsResponse
 
fromText(String, Charset) - Static method in class org.tio.websocket.common.WsRequest
 
fromText(String, Charset) - Static method in class org.tio.websocket.common.WsResponse
 

G

getAdditionalProperties() - Method in class org.tio.http.mcp.schema.McpJsonSchema
 
getAnnotations() - Method in interface org.tio.http.mcp.schema.McpAnnotated
 
getAnnotations() - Method in class org.tio.http.mcp.schema.McpResource
 
getAnnotations() - Method in class org.tio.http.mcp.schema.McpResourceTemplate
 
getArguments() - Method in class org.tio.http.mcp.schema.McpCallToolRequest
 
getArguments() - Method in class org.tio.http.mcp.schema.McpGetPromptRequest
 
getArguments() - Method in class org.tio.http.mcp.schema.McpPrompt
 
getAttribute(String) - Method in class org.tio.http.common.HttpPacket
获取属性
getAttribute(String, Serializable) - Method in class org.tio.http.common.HttpPacket
 
getAudience() - Method in class org.tio.http.mcp.schema.McpAnnotations
 
getAudience() - Method in class org.tio.http.mcp.schema.McpImageContent
 
getAudience() - Method in class org.tio.http.mcp.schema.McpTextContent
 
getBlob() - Method in class org.tio.http.mcp.schema.McpBlobResourceContents
 
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
 
getByte(String) - Method in class org.tio.http.common.HttpRequest
 
getByte(String, byte) - Method in class org.tio.http.common.HttpRequest
 
getBytes() - Method in class org.tio.http.common.Cookie
 
getCall() - Method in class org.tio.http.mcp.server.McpToolSpecification
 
getCapabilities() - Method in class org.tio.http.mcp.schema.McpInitializeRequest
 
getCapabilities() - Method in class org.tio.http.mcp.schema.McpInitializeResult
 
getChannelContext() - Method in class org.tio.http.common.HttpRequest
 
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
 
getClientInfo() - Method in class org.tio.http.mcp.schema.McpInitializeRequest
 
getClientIp() - Method in class org.tio.http.common.HttpRequest
获取真实的客户端ip
getCode() - Method in class org.tio.http.jsonrpc.JsonRpcError
 
getCode() - Method in enum org.tio.websocket.common.Opcode
 
getConnection() - Method in class org.tio.http.common.HttpRequest
 
getContent() - Method in class org.tio.http.mcp.schema.McpCallToolResult
 
getContent() - Method in class org.tio.http.mcp.schema.McpPromptMessage
 
getContentDisposition() - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
getContentLength() - Method in class org.tio.http.common.HttpRequest
 
getContents() - Method in class org.tio.http.mcp.schema.McpReadResourceResult
 
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
 
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
 
getCreateTime() - Method in class org.tio.http.common.HttpRequest
 
getData() - Method in class org.tio.http.common.UploadFile
 
getData() - Method in class org.tio.http.jsonrpc.JsonRpcError
 
getData() - Method in class org.tio.http.mcp.schema.McpImageContent
 
getDescription() - Method in enum org.tio.http.common.HttpResponseStatus
 
getDescription() - Method in class org.tio.http.mcp.schema.McpGetPromptResult
 
getDescription() - Method in class org.tio.http.mcp.schema.McpPrompt
 
getDescription() - Method in class org.tio.http.mcp.schema.McpPromptArgument
 
getDescription() - Method in class org.tio.http.mcp.schema.McpResource
 
getDescription() - Method in class org.tio.http.mcp.schema.McpResourceTemplate
 
getDescription() - Method in class org.tio.http.mcp.schema.McpTool
 
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等值
getDouble(String, double) - Method in class org.tio.http.common.HttpRequest
 
getDouble(String) - Method in class org.tio.http.common.HttpRequest
 
getEmitter(HttpRequest, HttpResponse) - Static method in class org.tio.http.sse.SseEmitter
获取 Chunked SseEmitter
getEqualMap(String) - Static method in class org.tio.http.common.Cookie
 
getError() - Method in class org.tio.http.jsonrpc.JsonRpcResponse
 
getError() - Method in class org.tio.http.mcp.schema.McpCallToolResult
 
getExperimental() - Method in class org.tio.http.mcp.schema.McpClientCapabilities
 
getExperimental() - Method in class org.tio.http.mcp.schema.McpServerCapabilities
 
getExpires() - Method in class org.tio.http.common.Cookie
 
getFilename() - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
getFloat(String) - Method in class org.tio.http.common.HttpRequest
 
getFloat(String, float) - Method in class org.tio.http.common.HttpRequest
 
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
 
getHost() - Method in class org.tio.http.common.HttpRequest
获取请求头中的host字段,形如:www.t-io.org:8080, www.t-io.org等值
getHttpConfig(HttpRequest) - Method in interface org.tio.http.common.handler.HttpRequestHandler
获取 HttpConfig
getHttpConfig() - Method in class org.tio.http.common.HttpRequest
 
getHttpConfig() - Method in class org.tio.http.server.HttpServerStarter
 
getHttpConfig() - Method in class org.tio.http.server.HttpTioServerHandler
 
getHttpConfig() - Method in class org.tio.websocket.server.WsTioServerHandler
 
getHttpRequest() - Method in class org.tio.http.common.HttpResponse
 
getHttpRequestHandler() - Method in class org.tio.http.server.HttpServerStarter
 
getHttpStatus(int) - Static method in enum org.tio.http.common.HttpResponseStatus
 
getHttpTioServerHandler() - Method in class org.tio.http.server.HttpServerStarter
 
getHttpTioServerListener() - Method in class org.tio.http.server.HttpServerStarter
 
getId() - Method in class org.tio.http.common.HttpRequest
 
getId() - Method in class org.tio.http.jsonrpc.JsonRpcRequest
 
getId() - Method in class org.tio.http.jsonrpc.JsonRpcResponse
 
getInitPath() - Method in class org.tio.http.common.RequestLine
 
getInputSchema() - Method in class org.tio.http.mcp.schema.McpTool
 
getInstructions() - Method in class org.tio.http.mcp.schema.McpInitializeResult
 
getInt(String) - Method in class org.tio.http.common.HttpRequest
 
getInt(String, int) - Method in class org.tio.http.common.HttpRequest
获取 int 参数
getIsSupportGzip() - Method in class org.tio.http.common.HttpRequest
 
getJsonrpc() - Method in interface org.tio.http.jsonrpc.JsonRpcMessage
公共字段 jsonrpc
getJsonrpc() - Method in class org.tio.http.jsonrpc.JsonRpcNotification
 
getJsonrpc() - Method in class org.tio.http.jsonrpc.JsonRpcRequest
 
getJsonrpc() - Method in class org.tio.http.jsonrpc.JsonRpcResponse
 
getLastModified() - Method in class org.tio.http.common.HttpResponse
 
getLastParts() - Method in class org.tio.websocket.common.WsSessionContext
 
getListChanged() - Method in class org.tio.http.mcp.schema.McpPromptCapabilities
 
getListChanged() - Method in class org.tio.http.mcp.schema.McpResourceCapabilities
 
getListChanged() - Method in class org.tio.http.mcp.schema.McpRootCapabilities
 
getListChanged() - Method in class org.tio.http.mcp.schema.McpToolCapabilities
 
getLocalIp() - Static method in class org.tio.http.common.utils.IpUtils
获取本机 ip
getLogging() - Method in class org.tio.http.mcp.schema.McpServerCapabilities
 
getLong(String) - Method in class org.tio.http.common.HttpRequest
 
getLong(String, long) - Method in class org.tio.http.common.HttpRequest
 
getMap() - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
getMaxAge() - Method in class org.tio.http.common.Cookie
 
getMaxForwardCount() - Method in class org.tio.http.common.HttpConfig
 
getMaxLengthOfHeader() - Method in class org.tio.http.common.HttpConfig
 
getMaxLengthOfHeaderLine() - 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
 
getMaxLengthOfRequestLine() - Method in class org.tio.http.common.HttpConfig
 
getMessage() - Method in class org.tio.http.jsonrpc.JsonRpcError
 
getMessageEndpoint() - Method in class org.tio.http.mcp.server.McpServer
 
getMessages() - Method in class org.tio.http.mcp.schema.McpGetPromptResult
 
getMethod() - Method in class org.tio.http.common.RequestLine
 
getMethod() - Method in class org.tio.http.jsonrpc.JsonRpcNotification
 
getMethod() - Method in class org.tio.http.jsonrpc.JsonRpcRequest
 
getMimeType() - Method in class org.tio.http.mcp.schema.McpBlobResourceContents
 
getMimeType() - Method in class org.tio.http.mcp.schema.McpImageContent
 
getMimeType() - Method in class org.tio.http.mcp.schema.McpResource
 
getMimeType() - Method in interface org.tio.http.mcp.schema.McpResourceContents
The MIME type of this resource.
getMimeType() - Method in class org.tio.http.mcp.schema.McpResourceTemplate
 
getMimeType() - Method in class org.tio.http.mcp.schema.McpTextResourceContents
 
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 class org.tio.http.mcp.schema.McpCallToolRequest
 
getName() - Method in class org.tio.http.mcp.schema.McpGetPromptRequest
 
getName() - Method in class org.tio.http.mcp.schema.McpImplementation
 
getName() - Method in class org.tio.http.mcp.schema.McpPrompt
 
getName() - Method in class org.tio.http.mcp.schema.McpPromptArgument
 
getName() - Method in class org.tio.http.mcp.schema.McpResource
 
getName() - Method in class org.tio.http.mcp.schema.McpResourceTemplate
 
getName() - Method in class org.tio.http.mcp.schema.McpRoot
 
getName() - Method in class org.tio.http.mcp.schema.McpTool
 
getNextCursor() - Method in class org.tio.http.mcp.schema.McpListResourcesResult
 
getNextCursor() - Method in class org.tio.http.mcp.schema.McpListResourceTemplatesResult
 
getNextCursor() - Method in class org.tio.http.mcp.schema.McpListToolsResult
 
getObject(String) - Method in class org.tio.http.common.HttpRequest
 
getOutputSchema() - Method in class org.tio.http.mcp.schema.McpTool
 
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
 
getParams() - Method in class org.tio.http.jsonrpc.JsonRpcNotification
 
getParams() - Method in class org.tio.http.jsonrpc.JsonRpcRequest
 
getPath() - Method in class org.tio.http.common.Cookie
 
getPath() - Method in class org.tio.http.common.RequestLine
譬如http://www.163.com/user/get?
getPathAndQuery() - Method in class org.tio.http.common.RequestLine
/user/get?
getPriority() - Method in class org.tio.http.mcp.schema.McpAnnotations
 
getPriority() - Method in class org.tio.http.mcp.schema.McpImageContent
 
getPriority() - Method in class org.tio.http.mcp.schema.McpTextContent
 
getPrompt() - Method in class org.tio.http.mcp.server.McpPromptSpecification
 
getPromptHandler() - Method in class org.tio.http.mcp.server.McpPromptSpecification
 
getPrompts() - Method in class org.tio.http.mcp.schema.McpServerCapabilities
 
getProperties() - Method in class org.tio.http.mcp.schema.McpJsonSchema
 
getProtocol() - Method in class org.tio.http.common.RequestLine
 
getProtocolVersion() - Method in class org.tio.http.mcp.schema.McpInitializeRequest
 
getProtocolVersion() - Method in class org.tio.http.mcp.schema.McpInitializeResult
 
getQueryString() - Method in class org.tio.http.common.RequestLine
譬如http://www.163.com/user/get?
getReadHandler() - Method in class org.tio.http.mcp.server.McpResourceSpecification
 
getReadHandler() - Method in class org.tio.http.mcp.server.McpResourceTemplateSpecification
 
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
getReferer() - Method in class org.tio.http.common.HttpRequest
 
getRemote() - Method in class org.tio.http.common.HttpRequest
 
getRequestLine() - Method in class org.tio.http.common.HttpRequest
 
getRequired() - Method in class org.tio.http.mcp.schema.McpJsonSchema
 
getRequired() - Method in class org.tio.http.mcp.schema.McpPromptArgument
 
getResource() - Method in class org.tio.http.mcp.server.McpResourceSpecification
 
getResource() - Method in class org.tio.http.mcp.server.McpResourceTemplateSpecification
 
getResources() - Method in class org.tio.http.mcp.schema.McpListResourcesResult
 
getResources() - Method in class org.tio.http.mcp.schema.McpServerCapabilities
 
getResourceTemplates() - Method in class org.tio.http.mcp.schema.McpListResourceTemplatesResult
 
getRespForBlackIp() - Method in class org.tio.http.common.HttpConfig
 
getResponseLineBinary() - Method in enum org.tio.http.common.HttpResponseStatus
 
getResult() - Method in class org.tio.http.jsonrpc.JsonRpcResponse
 
getReturnDirect() - Method in class org.tio.http.mcp.schema.McpTool
 
getRole() - Method in class org.tio.http.mcp.schema.McpPromptMessage
 
getRoots() - Method in class org.tio.http.mcp.schema.McpClientCapabilities
 
getRoots() - Method in class org.tio.http.mcp.schema.McpListRootsResult
 
getSampling() - Method in class org.tio.http.mcp.schema.McpClientCapabilities
 
getServerInfo() - Method in class org.tio.http.common.HttpConfig
 
getServerInfo() - Method in class org.tio.http.mcp.schema.McpInitializeResult
 
getShort(String) - Method in class org.tio.http.common.HttpRequest
 
getShort(String, short) - Method in class org.tio.http.common.HttpRequest
 
getSize() - Method in class org.tio.http.common.UploadFile
 
getSseEndpoint() - Method in class org.tio.http.mcp.server.McpServer
 
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)
getStructuredContent() - Method in class org.tio.http.mcp.schema.McpCallToolResult
 
getSubAttribute(String, String) - Static method in class org.tio.http.common.utils.HttpParseUtils
obtain sub attribute
getSubscribe() - Method in class org.tio.http.mcp.schema.McpResourceCapabilities
 
getSupportedSubProtocols() - Method in interface org.tio.websocket.server.handler.IWsSubProtocolsMsgHandler
获取支持的子协议
getTemplate() - Method in class org.tio.http.mcp.util.UriTemplate
 
getText() - Method in class org.tio.http.mcp.schema.McpTextContent
 
getText() - Method in class org.tio.http.mcp.schema.McpTextResourceContents
 
getTioServer() - Method in class org.tio.http.server.HttpServerStarter
 
getTioServer() - Method in class org.tio.websocket.server.WsServerStarter
 
getTioServerConfig() - Method in class org.tio.http.server.HttpServerStarter
 
getTioServerConfig() - Method in class org.tio.websocket.server.WsServerStarter
 
getToken() - Method in class org.tio.websocket.common.WsSessionContext
 
getTool() - Method in class org.tio.http.mcp.server.McpToolSpecification
 
getTools() - Method in class org.tio.http.mcp.schema.McpListToolsResult
 
getTools() - Method in class org.tio.http.mcp.schema.McpServerCapabilities
 
getType() - Method in class org.tio.http.mcp.schema.McpEmbeddedResource
 
getType() - Method in class org.tio.http.mcp.schema.McpImageContent
 
getType() - Method in class org.tio.http.mcp.schema.McpJsonSchema
 
getType() - Method in class org.tio.http.mcp.schema.McpTextContent
 
getUploadFile(String) - Method in class org.tio.http.common.HttpRequest
 
getUri() - Method in class org.tio.http.mcp.schema.McpBlobResourceContents
 
getUri() - Method in class org.tio.http.mcp.schema.McpReadResourceRequest
 
getUri() - Method in class org.tio.http.mcp.schema.McpResource
 
getUri() - Method in interface org.tio.http.mcp.schema.McpResourceContents
The URI of this resource.
getUri() - Method in class org.tio.http.mcp.schema.McpRoot
 
getUri() - Method in class org.tio.http.mcp.schema.McpTextResourceContents
 
getUri() - Method in class org.tio.http.mcp.schema.McpUnsubscribeRequest
 
getUriTemplate() - Method in class org.tio.http.mcp.schema.McpResourceTemplate
 
getUserAgent() - Method in class org.tio.http.common.HttpRequest
获取请求头中的User-Agent字段
getValue() - Method in class org.tio.http.common.Cookie
 
getVersion() - Method in class org.tio.http.common.RequestLine
 
getVersion() - Method in class org.tio.http.mcp.schema.McpImplementation
 
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
 
getWsServerConfig() - Method in class org.tio.websocket.server.WsServerStarter
 
getWsTioServerHandler() - Method in class org.tio.websocket.server.WsServerStarter
 
getWsTioServerListener() - Method in class org.tio.websocket.server.WsServerStarter
 
gzip - Static variable in class org.tio.http.common.HeaderValue.Content_Encoding
 
gzip - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Accept
 
gzip - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderValue.Encoding
 
gzip(HttpRequest, HttpResponse) - Static method in class org.tio.http.common.utils.HttpGzipUtils
gzip
gzip(HttpResponse) - Static method in class org.tio.http.common.utils.HttpGzipUtils
gzip

H

handle(McpServerSession, Object) - Method in interface org.tio.http.mcp.server.McpRequestHandler
Handles a request from the client.
handler(HttpRequest) - Method in interface org.tio.http.common.handler.HttpRequestHandler
处理请求
handler(Packet, ChannelContext) - Method in class org.tio.http.server.HttpTioServerHandler
 
handler(Packet, ChannelContext) - Method in class org.tio.websocket.server.WsTioServerHandler
 
handshake(HttpRequest, HttpResponse, ChannelContext) - Method in interface org.tio.websocket.server.handler.IWsMsgHandler
对httpResponse参数进行补充并返回,如果返回null表示不想和对方建立连接,框架会断开连接,如果返回非null,框架会把这个对象发送给对方 注:请不要在这个方法中向对方发送任何消息,因为这个时候握手还没完成,发消息会导致协议交互失败。
hashCode() - Method in class org.tio.http.common.HeaderName
 
hashCode() - Method in class org.tio.http.common.HeaderValue
 
hashCode() - Method in class org.tio.http.mcp.util.UriTemplate
 
Header() - Constructor for class org.tio.http.common.HttpMultiBodyDecoder.Header
 
HEADER_DATE_LENGTH_1 - Static variable in class org.tio.http.common.HttpResponseEncoder
 
HEADER_FIXED_LENGTH - Static variable in class org.tio.http.common.HttpResponseEncoder
 
HEADER_SERVER_LENGTH - Static variable in class org.tio.http.common.HttpResponseEncoder
 
HeaderName - Class in org.tio.http.common
 
headers - Variable in class org.tio.http.common.HttpRequest
 
headerText - Variable in enum org.tio.http.common.HttpResponseStatus
 
HeaderValue - Class in org.tio.http.common
 
HeaderValue.Cache_Control - Class in org.tio.http.common
 
HeaderValue.Connection - Class in org.tio.http.common
 
HeaderValue.Content_Encoding - Class in org.tio.http.common
 
HeaderValue.Content_Type - Class in org.tio.http.common
 
HeaderValue.Keep_Alive - Class in org.tio.http.common
 
HeaderValue.Server - Class in org.tio.http.common
 
HeaderValue.Transfer_Encoding - Class in org.tio.http.common
 
HeaderValue.Upgrade - Class in org.tio.http.common
 
Host - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
HttpConfig - Class in org.tio.http.common
 
HttpConfig() - Constructor for class org.tio.http.common.HttpConfig
 
HttpConfig(String) - Constructor for class org.tio.http.common.HttpConfig
HttpConfig
httpConfig - Variable in class org.tio.http.common.HttpRequest
 
httpConfig - Variable in class org.tio.http.server.HttpTioServerHandler
 
HttpConst - Interface in org.tio.http.common
 
HttpConst.HttpVersion - Interface in org.tio.http.common
 
HttpConst.RequestBodyFormat - Enum in org.tio.http.common
请求体的格式
HttpConst.RequestHeaderKey - Interface in org.tio.http.common
Accept-Language : zh-CN,zh;q=0.8 Sec-WebSocket-Version : 13 Sec-WebSocket-Extensions : permessage-deflate; client_max_window_bits Upgrade : websocket Host : t-io.org:9321 Accept-Encoding : gzip, deflate, sdch User-Agent : Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Origin : http://www.t-io.org:9292 Sec-WebSocket-Key : kmCL2C7q9vtNSMyHpft7lw== Connection : Upgrade Cache-Control : no-cache Pragma : no-cache
HttpConst.RequestHeaderValue - Interface in org.tio.http.common
 
HttpConst.RequestHeaderValue.Accept - Interface in org.tio.http.common
 
HttpConst.RequestHeaderValue.Connection - Interface in org.tio.http.common
 
HttpConst.RequestHeaderValue.Content_Type - Interface in org.tio.http.common
 
HttpConst.ResponseHeaderKey - Interface in org.tio.http.common
 
HttpConst.ResponseHeaderValue - Interface in org.tio.http.common
 
HttpConst.ResponseHeaderValue.Connection - Interface in org.tio.http.common
 
HttpConst.ResponseHeaderValue.Encoding - Interface in org.tio.http.common
 
HttpConst.ResponseHeaderValue.Upgrade - Interface in org.tio.http.common
 
HttpGzipUtils - Class in org.tio.http.common.utils
 
HttpMultiBodyDecoder - Class in org.tio.http.common
 
HttpMultiBodyDecoder() - Constructor for class org.tio.http.common.HttpMultiBodyDecoder
 
HttpMultiBodyDecoder.Header - Class in org.tio.http.common
 
HttpMultiBodyDecoder.MultiBodyHeaderKey - Interface in org.tio.http.common
【 Content-Disposition: form-data; name="uploadFile"; filename="" Content-Type: application/octet-stream 】 【 Content-Disposition: form-data; name="end" 】
HttpMultiBodyDecoder.Step - Enum in org.tio.http.common
 
HttpPacket - Class in org.tio.http.common
 
HttpPacket() - Constructor for class org.tio.http.common.HttpPacket
 
HttpParseUtils - Class in org.tio.http.common.utils
 
HttpRequest - Class in org.tio.http.common
 
HttpRequest(Node) - Constructor for class org.tio.http.common.HttpRequest
 
HttpRequest() - Constructor for class org.tio.http.common.HttpRequest
 
HttpRequestDecoder - Class in org.tio.http.common
http server中使用
HttpRequestDecoder() - Constructor for class org.tio.http.common.HttpRequestDecoder
 
HttpRequestFunction - Interface in org.tio.http.common.handler
http 处理器
HttpRequestHandler - Interface in org.tio.http.common.handler
http请求处理者
HttpResponse - Class in org.tio.http.common
 
HttpResponse() - Constructor for class org.tio.http.common.HttpResponse
 
HttpResponse(HttpRequest) - Constructor for class org.tio.http.common.HttpResponse
 
HttpResponse(Map<HeaderName, HeaderValue>, byte[]) - Constructor for class org.tio.http.common.HttpResponse
 
HttpResponseEncoder - Class in org.tio.http.common
http server中使用
HttpResponseStatus - Enum in org.tio.http.common
本类直接摘自baseio: https://gitee.com/generallycloud/baseio
谢谢作者整理
HttpServerStarter - Class in org.tio.http.server
 
HttpServerStarter(HttpRequestHandler) - Constructor for class org.tio.http.server.HttpServerStarter
 
HttpServerStarter(HttpConfig, HttpRequestHandler) - Constructor for class org.tio.http.server.HttpServerStarter
 
HttpServerStarter(HttpConfig, HttpRequestHandler, SynThreadPoolExecutor, ExecutorService) - Constructor for class org.tio.http.server.HttpServerStarter
 
HttpTioServerHandler - Class in org.tio.http.server
 
HttpTioServerHandler(HttpConfig, HttpRequestHandler) - Constructor for class org.tio.http.server.HttpTioServerHandler
 
HttpTioServerListener - Class in org.tio.http.server
HTTP TioServerListener
HttpTioServerListener() - Constructor for class org.tio.http.server.HttpTioServerListener
 

I

id(long) - Method in class org.tio.http.sse.SseEvent
添加 SSE "id" 行.
id(String) - Method in class org.tio.http.sse.SseEvent
添加 SSE "id" 行.
If_Modified_Since - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
initPath - Variable in class org.tio.http.common.RequestLine
 
INTERNAL_ERROR - Static variable in interface org.tio.http.jsonrpc.JsonRpcErrorCodes
Internal JSON-RPC error.
INVALID_PARAMS - Static variable in interface org.tio.http.jsonrpc.JsonRpcErrorCodes
Invalid method parameter(s).
INVALID_REQUEST - Static variable in interface org.tio.http.jsonrpc.JsonRpcErrorCodes
The JSON sent is not a valid Request object.
IpUtils - Class in org.tio.http.common.utils
 
IpUtils() - Constructor for class org.tio.http.common.utils.IpUtils
 
isAppendRequestHeaderString() - Method in class org.tio.http.common.HttpConfig
 
isClosed() - Method in class org.tio.http.common.HttpRequest
 
isForward() - Method in class org.tio.http.common.HttpRequest
 
isHandShake() - Method in class org.tio.websocket.common.WsPacket
是否是握手包
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
 
isNeedForward() - Method in class org.tio.http.common.HttpRequest
 
isPageInClasspath() - Method in class org.tio.http.common.HttpConfig
 
isProxied() - Method in class org.tio.http.common.HttpConfig
 
isSecure() - Method in class org.tio.http.common.Cookie
 
isSkipIpStat() - Method in class org.tio.http.common.HttpResponse
 
isSkipTokenStat() - Method in class org.tio.http.common.HttpResponse
 
isStaticRes() - Method in class org.tio.http.common.HttpResponse
 
isWsEof() - Method in class org.tio.websocket.common.WsPacket
 
isWsHasMask() - Method in class org.tio.websocket.common.WsPacket
 
IWsMsgHandler - Interface in org.tio.websocket.server.handler
 
IWsSubProtocolsMsgHandler - Interface in org.tio.websocket.server.handler
websocket 子协议处理器

J

JSONRPC_VERSION - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
JsonRpcError - Class in org.tio.http.jsonrpc
json rpc 异常
JsonRpcError() - Constructor for class org.tio.http.jsonrpc.JsonRpcError
 
JsonRpcErrorCodes - Interface in org.tio.http.jsonrpc
JSON-RPC Error Codes
JsonRpcMessage - Interface in org.tio.http.jsonrpc
json rpc 消息
JsonRpcNotification - Class in org.tio.http.jsonrpc
json rpc 通知
JsonRpcNotification() - Constructor for class org.tio.http.jsonrpc.JsonRpcNotification
 
JsonRpcRequest - Class in org.tio.http.jsonrpc
json rpc 请求
JsonRpcRequest() - Constructor for class org.tio.http.jsonrpc.JsonRpcRequest
 
JsonRpcResponse - Class in org.tio.http.jsonrpc
json rpc 响应
JsonRpcResponse() - Constructor for class org.tio.http.jsonrpc.JsonRpcResponse
 

K

Keep_Alive - Static variable in class org.tio.http.common.HeaderName
 
keep_alive - Static variable in class org.tio.http.common.HeaderValue.Connection
 
Keep_Alive() - Constructor for class org.tio.http.common.HeaderValue.Keep_Alive
 
keep_alive - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Connection
 
Keep_Alive - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
keep_alive - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderValue.Connection
 

L

Last_Modified - Static variable in class org.tio.http.common.HeaderName
 
Last_Modified - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
文档的最后改动时间。
LATEST_PROTOCOL_VERSION - Static variable in interface org.tio.http.mcp.schema.McpSchema
最后的协议版本
Location - Static variable in class org.tio.http.common.HeaderName
 
Location - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
表示客户应当到哪里去提取文档。
logstr() - Method in class org.tio.http.common.HttpRequest
 
logstr() - Method in class org.tio.http.common.HttpResponse
 
logstr() - Method in class org.tio.websocket.common.WsPacket
 

M

matchesTemplate(String) - Method in class org.tio.http.mcp.util.UriTemplate
Checks if a given URI matches the compiled template pattern.
MAX_AGE_60 - Static variable in class org.tio.http.common.HeaderValue.Cache_Control
 
MAX_BODY_LENGTH - Static variable in class org.tio.websocket.common.WsPacket
最多接受的1024 * 512(半M)数据
MAX_FORWARD_COUNT - Static variable in class org.tio.http.common.HttpConfig
最大重定向次数
MAX_LENGTH_OF_BOUNDARY - Static variable in class org.tio.http.common.HttpConfig
文件上传时,boundary值的最大长度
MAX_LENGTH_OF_HEADER - Static variable in class org.tio.http.common.HttpConfig
头部,最多有多少字节,默认:24K
MAX_LENGTH_OF_HEADER_LINE - Static variable in class org.tio.http.common.HttpConfig
头部,每行最大的字节数,默认:8K
MAX_LENGTH_OF_MULTI_BODY - Static variable in class org.tio.http.common.HttpConfig
文件上传时,体的最大长度(默认值2M)
MAX_LENGTH_OF_MULTI_HEADER - Static variable in class org.tio.http.common.HttpConfig
文件上传时,头部的最大长度
MAX_LENGTH_OF_POST_BODY - Static variable in class org.tio.http.common.HttpConfig
POST体的最大长度默认值(2M)
MAX_LENGTH_OF_REQUEST_LINE - Static variable in class org.tio.http.common.HttpConfig
请求行的最大长度,默认:8K
maxForwardCount - Variable in class org.tio.http.common.HttpConfig
 
maxLengthOfHeader - Variable in class org.tio.http.common.HttpConfig
头部,最多有多少字节
maxLengthOfHeaderLine - Variable in class org.tio.http.common.HttpConfig
头部,每行最大的字节数
maxLengthOfRequestLine - Variable in class org.tio.http.common.HttpConfig
请求行的最大长度
McpAnnotated - Interface in org.tio.http.mcp.schema
Resource Interfaces Base for objects that include optional annotations for the client.
McpAnnotations - Class in org.tio.http.mcp.schema
Optional annotations for the client.
McpAnnotations() - Constructor for class org.tio.http.mcp.schema.McpAnnotations
 
McpBlobResourceContents - Class in org.tio.http.mcp.schema
Binary contents of a resource.
McpBlobResourceContents() - Constructor for class org.tio.http.mcp.schema.McpBlobResourceContents
 
McpCallToolRequest - Class in org.tio.http.mcp.schema
mcp call tool 请求
McpCallToolRequest() - Constructor for class org.tio.http.mcp.schema.McpCallToolRequest
 
McpCallToolResult - Class in org.tio.http.mcp.schema
mcp call tool 回复
McpCallToolResult() - Constructor for class org.tio.http.mcp.schema.McpCallToolResult
 
McpClientCapabilities - Class in org.tio.http.mcp.schema
mcp 客户端信息
McpClientCapabilities() - Constructor for class org.tio.http.mcp.schema.McpClientCapabilities
 
McpContent - Interface in org.tio.http.mcp.schema
mcp 内容
McpEmbeddedResource - Class in org.tio.http.mcp.schema
 
McpEmbeddedResource() - Constructor for class org.tio.http.mcp.schema.McpEmbeddedResource
 
McpGetPromptRequest - Class in org.tio.http.mcp.schema
mcp 提示词请求
McpGetPromptRequest() - Constructor for class org.tio.http.mcp.schema.McpGetPromptRequest
 
McpGetPromptResult - Class in org.tio.http.mcp.schema
mcp 提示词回复
McpGetPromptResult() - Constructor for class org.tio.http.mcp.schema.McpGetPromptResult
 
McpImageContent - Class in org.tio.http.mcp.schema
mcp 图片内容
McpImageContent() - Constructor for class org.tio.http.mcp.schema.McpImageContent
 
McpImplementation - Class in org.tio.http.mcp.schema
mcp 信息
McpImplementation() - Constructor for class org.tio.http.mcp.schema.McpImplementation
 
McpImplementation(String, String) - Constructor for class org.tio.http.mcp.schema.McpImplementation
 
McpInitializeRequest - Class in org.tio.http.mcp.schema
mcp init 请求
McpInitializeRequest() - Constructor for class org.tio.http.mcp.schema.McpInitializeRequest
 
McpInitializeResult - Class in org.tio.http.mcp.schema
mcp 请求回复
McpInitializeResult() - Constructor for class org.tio.http.mcp.schema.McpInitializeResult
 
McpJsonSchema - Class in org.tio.http.mcp.schema
mcp json Schema
McpJsonSchema() - Constructor for class org.tio.http.mcp.schema.McpJsonSchema
 
McpListResourcesResult - Class in org.tio.http.mcp.schema
mcp 列表资源回复
McpListResourcesResult() - Constructor for class org.tio.http.mcp.schema.McpListResourcesResult
 
McpListResourceTemplatesResult - Class in org.tio.http.mcp.schema
mcp 资源列表模板回复
McpListResourceTemplatesResult() - Constructor for class org.tio.http.mcp.schema.McpListResourceTemplatesResult
 
McpListRootsResult - Class in org.tio.http.mcp.schema
 
McpListRootsResult() - Constructor for class org.tio.http.mcp.schema.McpListRootsResult
 
McpListToolsResult - Class in org.tio.http.mcp.schema
mcp tools 回复
McpListToolsResult() - Constructor for class org.tio.http.mcp.schema.McpListToolsResult
 
McpListToolsResult(List<McpTool>, String) - Constructor for class org.tio.http.mcp.schema.McpListToolsResult
 
McpLoggingCapabilities - Class in org.tio.http.mcp.schema
mcp 日志信息
McpLoggingCapabilities() - Constructor for class org.tio.http.mcp.schema.McpLoggingCapabilities
 
McpPrompt - Class in org.tio.http.mcp.schema
mcp 提示词
McpPrompt() - Constructor for class org.tio.http.mcp.schema.McpPrompt
 
McpPromptArgument - Class in org.tio.http.mcp.schema
mcp prompt 参数
McpPromptArgument() - Constructor for class org.tio.http.mcp.schema.McpPromptArgument
 
McpPromptCapabilities - Class in org.tio.http.mcp.schema
mcp 提示词信息
McpPromptCapabilities() - Constructor for class org.tio.http.mcp.schema.McpPromptCapabilities
 
McpPromptMessage - Class in org.tio.http.mcp.schema
mcp 提示词消息
McpPromptMessage() - Constructor for class org.tio.http.mcp.schema.McpPromptMessage
 
McpPromptSpecification - Class in org.tio.http.mcp.server
mcp 提示词处理
McpPromptSpecification(McpPrompt, BiFunction<McpServerSession, McpGetPromptRequest, McpGetPromptResult>) - Constructor for class org.tio.http.mcp.server.McpPromptSpecification
 
McpReadResourceRequest - Class in org.tio.http.mcp.schema
mcp 资源读取请求
McpReadResourceRequest() - Constructor for class org.tio.http.mcp.schema.McpReadResourceRequest
 
McpReadResourceResult - Class in org.tio.http.mcp.schema
mcp 读取资源回复
McpReadResourceResult() - Constructor for class org.tio.http.mcp.schema.McpReadResourceResult
 
McpRequest - Interface in org.tio.http.mcp.schema
mcp 请求
McpRequestHandler<T> - Interface in org.tio.http.mcp.server
A handler for client requests.
McpResource - Class in org.tio.http.mcp.schema
A known resource that the server is capable of reading.
McpResource() - Constructor for class org.tio.http.mcp.schema.McpResource
 
McpResourceCapabilities - Class in org.tio.http.mcp.schema
mcp 资源信息
McpResourceCapabilities() - Constructor for class org.tio.http.mcp.schema.McpResourceCapabilities
 
McpResourceContents - Interface in org.tio.http.mcp.schema
The contents of a specific resource or sub-resource.
McpResourceSpecification - Class in org.tio.http.mcp.server
资源定义
McpResourceSpecification() - Constructor for class org.tio.http.mcp.server.McpResourceSpecification
 
McpResourceSpecification(McpResource, BiFunction<McpServerSession, McpReadResourceRequest, McpReadResourceResult>) - Constructor for class org.tio.http.mcp.server.McpResourceSpecification
 
McpResourceTemplate - Class in org.tio.http.mcp.schema
Resource templates allow servers to expose parameterized resources using URI templates.
McpResourceTemplate() - Constructor for class org.tio.http.mcp.schema.McpResourceTemplate
 
McpResourceTemplateSpecification - Class in org.tio.http.mcp.server
 
McpResourceTemplateSpecification(McpResourceTemplate, BiFunction<McpServerSession, McpReadResourceRequest, McpReadResourceResult>) - Constructor for class org.tio.http.mcp.server.McpResourceTemplateSpecification
 
McpRole - Enum in org.tio.http.mcp.schema
mcp 角色
McpRoot - Class in org.tio.http.mcp.schema
mcp root
McpRoot() - Constructor for class org.tio.http.mcp.schema.McpRoot
 
McpRootCapabilities - Class in org.tio.http.mcp.schema
mcp root 信息
McpRootCapabilities() - Constructor for class org.tio.http.mcp.schema.McpRootCapabilities
 
McpSampling - Class in org.tio.http.mcp.schema
mcp sampling
McpSampling() - Constructor for class org.tio.http.mcp.schema.McpSampling
 
McpSchema - Interface in org.tio.http.mcp.schema
mcp 定义 mcp 协议地址
McpServer - Class in org.tio.http.mcp.server
mcp 服务
McpServer() - Constructor for class org.tio.http.mcp.server.McpServer
 
McpServer(String, String) - Constructor for class org.tio.http.mcp.server.McpServer
 
McpServerCapabilities - Class in org.tio.http.mcp.schema
mcp 服务信息
McpServerCapabilities() - Constructor for class org.tio.http.mcp.schema.McpServerCapabilities
 
McpServerSession - Class in org.tio.http.mcp.server
mcp 服务端 session,注意:先写死 sse,没必要整那么复杂,先玩会了后面再调整
McpServerSession(String, SseEmitter) - Constructor for class org.tio.http.mcp.server.McpServerSession
 
McpSubscribeRequest - Class in org.tio.http.mcp.schema
Sent from the client to request resources/updated notifications from the server whenever a particular resource changes.
McpSubscribeRequest() - Constructor for class org.tio.http.mcp.schema.McpSubscribeRequest
 
McpTextContent - Class in org.tio.http.mcp.schema
mcp 文本内容
McpTextContent() - Constructor for class org.tio.http.mcp.schema.McpTextContent
 
McpTextContent(String) - Constructor for class org.tio.http.mcp.schema.McpTextContent
 
McpTextContent(List<McpRole>, Double, String) - Constructor for class org.tio.http.mcp.schema.McpTextContent
 
McpTextResourceContents - Class in org.tio.http.mcp.schema
Text contents of a resource.
McpTextResourceContents() - Constructor for class org.tio.http.mcp.schema.McpTextResourceContents
 
McpTool - Class in org.tio.http.mcp.schema
mcp tool
McpTool() - Constructor for class org.tio.http.mcp.schema.McpTool
 
McpToolCapabilities - Class in org.tio.http.mcp.schema
mcp tool 信息
McpToolCapabilities() - Constructor for class org.tio.http.mcp.schema.McpToolCapabilities
 
McpToolSpecification - Class in org.tio.http.mcp.server
mcp tool 定义
McpToolSpecification(McpTool, BiFunction<McpServerSession, Map<String, Object>, McpCallToolResult>) - Constructor for class org.tio.http.mcp.server.McpToolSpecification
 
McpUnsubscribeRequest - Class in org.tio.http.mcp.schema
mcp 取消订阅请求
McpUnsubscribeRequest() - Constructor for class org.tio.http.mcp.schema.McpUnsubscribeRequest
 
MESSAGE_EVENT_TYPE - Static variable in class org.tio.http.mcp.server.McpServerSession
Event type for JSON-RPC messages sent through the SSE connection.
Method - Enum in org.tio.http.common
 
method - Variable in class org.tio.http.common.RequestLine
 
METHOD_INITIALIZE - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_LOGGING_SET_LEVEL - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_NOT_FOUND - Static variable in interface org.tio.http.jsonrpc.JsonRpcErrorCodes
The method does not exist / is not available.
METHOD_NOTIFICATION_INITIALIZED - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_NOTIFICATION_MESSAGE - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_NOTIFICATION_PROMPTS_LIST_CHANGED - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_NOTIFICATION_RESOURCES_LIST_CHANGED - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_NOTIFICATION_ROOTS_LIST_CHANGED - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_NOTIFICATION_TOOLS_LIST_CHANGED - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_PING - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_PROMPT_GET - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_PROMPT_LIST - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_RESOURCES_LIST - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_RESOURCES_READ - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_RESOURCES_SUBSCRIBE - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_RESOURCES_TEMPLATES_LIST - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_RESOURCES_UNSUBSCRIBE - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_ROOTS_LIST - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_SAMPLING_CREATE_MESSAGE - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_TOOLS_CALL - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
METHOD_TOOLS_LIST - Static variable in interface org.tio.http.mcp.schema.McpSchema
 
MINIMUM_HEADER_LENGTH - Static variable in class org.tio.websocket.common.WsPacket
 
multipart_form_data - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Content_Type
文件上传

N

name - Variable in class org.tio.http.common.HeaderName
 
name(String) - Method in class org.tio.http.sse.SseEvent
添加 SSE "event" 行.
no_cache - Static variable in class org.tio.http.common.HeaderValue.Cache_Control
 
NULL_RESPONSE - Static variable in class org.tio.http.common.HttpResponse
 

O

onAfterConnected(ChannelContext, boolean, boolean) - Method in class org.tio.websocket.server.WsTioServerListener
 
onAfterHandshaked(HttpRequest, HttpResponse, ChannelContext) - Method in interface org.tio.websocket.server.handler.IWsMsgHandler
握手成功后触发该方法
onAfterSent(ChannelContext, Packet, boolean) - Method in class org.tio.http.server.HttpTioServerListener
 
onBytes(WsRequest, byte[], ChannelContext) - Method in interface org.tio.websocket.server.handler.IWsMsgHandler
当收到Opcode.BINARY消息时,执行该方法。
onClose(WsRequest, byte[], ChannelContext) - Method in interface org.tio.websocket.server.handler.IWsMsgHandler
当收到Opcode.CLOSE时,执行该方法,业务层在该方法中一般不需要写什么逻辑,空着就好
onText(WsRequest, String, ChannelContext) - Method in interface org.tio.websocket.server.handler.IWsMsgHandler
当收到Opcode.TEXT消息时,执行该方法。
Opcode - Enum in org.tio.websocket.common
 
org.tio.http.common - package org.tio.http.common
 
org.tio.http.common.handler - package org.tio.http.common.handler
 
org.tio.http.common.utils - package org.tio.http.common.utils
 
org.tio.http.jsonrpc - package org.tio.http.jsonrpc
 
org.tio.http.mcp.schema - package org.tio.http.mcp.schema
 
org.tio.http.mcp.server - package org.tio.http.mcp.server
 
org.tio.http.mcp.util - package org.tio.http.mcp.util
 
org.tio.http.server - package org.tio.http.server
 
org.tio.http.sse - package org.tio.http.sse
 
org.tio.websocket.common - package org.tio.websocket.common
 
org.tio.websocket.server - package org.tio.websocket.server
 
org.tio.websocket.server.handler - package org.tio.websocket.server.handler
 
Origin - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 

P

PARSE_ERROR - Static variable in interface org.tio.http.jsonrpc.JsonRpcErrorCodes
Invalid JSON was received by the server.
parseBody(HttpMultiBodyDecoder.Header, HttpRequest, ByteBuffer, String, String, HttpConfig) - Static method in class org.tio.http.common.HttpMultiBodyDecoder
 
parseBodyFormat(HttpRequest, Map<String, String>) - Static method in class org.tio.http.common.HttpRequestDecoder
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 Content-Type : application/x-www-form-urlencoded; charset=UTF-8
parseHeader(List<String>, HttpMultiBodyDecoder.Header, ChannelContext) - Static method in class org.tio.http.common.HttpMultiBodyDecoder
【 Content-Disposition: form-data; name="uploadFile"; filename="" Content-Type: application/octet-stream 】 【 Content-Disposition: form-data; name="end" 】
parseHeaderLine(ByteBuffer, Map<String, String>, int, HttpConfig) - Static method in class org.tio.http.common.HttpRequestDecoder
解析请求头的每一行
parseRequestLine(ByteBuffer, HttpConfig) - Static method in class org.tio.http.common.HttpRequestDecoder
parse request line(the first line)
path - Variable in class org.tio.http.common.RequestLine
 
Pragma - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
prompts(Map<String, McpPromptSpecification>) - Method in class org.tio.http.mcp.server.McpServer
Registers multiple prompts with their handlers using a Map.
prompts(List<McpPromptSpecification>) - Method in class org.tio.http.mcp.server.McpServer
Registers multiple prompts with their handlers using a List.
prompts(McpPromptSpecification...) - Method in class org.tio.http.mcp.server.McpServer
Registers multiple prompts with their handlers using varargs.
protocol - Variable in class org.tio.http.common.RequestLine
 

Q

queryString - Variable in class org.tio.http.common.RequestLine
 

R

reconnectTime(long) - Method in class org.tio.http.sse.SseEvent
添加 SSE "retry" 行.
Referer - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Refresh - Static variable in class org.tio.http.common.HeaderName
 
Refresh - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
表示浏览器应该在多少时间之后刷新文档,以秒计。
removeAttribute(String) - Method in class org.tio.http.common.HttpPacket
 
removeHeader(String, String) - Method in class org.tio.http.common.HttpRequest
 
REQUEST_KEY - Static variable in class org.tio.http.server.HttpTioServerHandler
 
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
 
resources(Map<String, McpResourceSpecification>) - Method in class org.tio.http.mcp.server.McpServer
Registers multiple resources with their handlers using a Map.
resources(List<McpResourceSpecification>) - Method in class org.tio.http.mcp.server.McpServer
Registers multiple resources with their handlers using a List.
resources(McpResourceSpecification...) - Method in class org.tio.http.mcp.server.McpServer
Registers multiple resources with their handlers using varargs.
resourceTemplates(List<McpResourceTemplateSpecification>) - Method in class org.tio.http.mcp.server.McpServer
Sets the resource templates that define patterns for dynamic resource access.
resourceTemplates(McpResourceTemplateSpecification...) - Method in class org.tio.http.mcp.server.McpServer
Sets the resource templates using varargs for convenience.
resp404(HttpRequest, RequestLine) - Method in interface org.tio.http.common.handler.HttpRequestHandler
响应404
resp500(HttpRequest, RequestLine, Throwable) - Method in interface org.tio.http.common.handler.HttpRequestHandler
响应500
responseLine - Variable in enum org.tio.http.common.HttpResponseStatus
 
responseLineBinary - Variable in enum org.tio.http.common.HttpResponseStatus
 
rootsChangeHandler(BiConsumer<McpServerSession, List<McpRoot>>) - Method in class org.tio.http.mcp.server.McpServer
Registers a consumer that will be notified when the list of roots changes.
rootsChangeHandlers(List<BiConsumer<McpServerSession, List<McpRoot>>>) - Method in class org.tio.http.mcp.server.McpServer
Registers multiple consumers that will be notified when the list of roots changes.
rootsChangeHandlers(BiConsumer<McpServerSession, List<McpRoot>>...) - Method in class org.tio.http.mcp.server.McpServer
Registers multiple consumers that will be notified when the list of roots changes using varargs.

S

searchByRegex(String, Pattern) - 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_Protocol - Static variable in class org.tio.http.common.HeaderName
 
Sec_Websocket_Protocol - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Sec_WebSocket_Version - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
send(Object) - Method in class org.tio.http.sse.SseEmitter
发送 sse 事件
send(String, Object) - Method in class org.tio.http.sse.SseEmitter
发送 sse 事件
send(String, String, Object) - Method in class org.tio.http.sse.SseEmitter
发送 sse 事件
send(long, String, Object) - Method in class org.tio.http.sse.SseEmitter
发送 sse 事件
send(SseEvent) - Method in class org.tio.http.sse.SseEmitter
发送 sse 事件
sendHeartbeat() - Method in class org.tio.http.mcp.server.McpServer
发送心跳
sendHeartbeat() - Method in class org.tio.http.mcp.server.McpServerSession
发送心跳
sendMessage(JsonRpcMessage) - Method in class org.tio.http.mcp.server.McpServerSession
发送消息
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
服务器名字。
SERVER_INFO - Static variable in class org.tio.http.common.HeaderValue.Server
 
SERVER_INFO - Static variable in interface org.tio.http.common.HttpConst
服务信息
serverInfo(McpImplementation) - Method in class org.tio.http.mcp.server.McpServer
Sets the server implementation information that will be shared with clients during connection initialization.
serverInfo(String, String) - Method in class org.tio.http.mcp.server.McpServer
Sets the server implementation information using name and version strings.
SET_COOKIE - Static variable in class org.tio.http.common.HeaderName
 
Set_Cookie - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
setAdditionalProperties(Boolean) - Method in class org.tio.http.mcp.schema.McpJsonSchema
 
setAnnotations(McpAnnotations) - Method in class org.tio.http.mcp.schema.McpResource
 
setAnnotations(McpAnnotations) - Method in class org.tio.http.mcp.schema.McpResourceTemplate
 
setAppendRequestHeaderString(boolean) - Method in class org.tio.http.common.HttpConfig
 
setArguments(Object) - Method in class org.tio.http.mcp.schema.McpCallToolRequest
 
setArguments(Map<String, Object>) - Method in class org.tio.http.mcp.schema.McpGetPromptRequest
 
setArguments(List<McpPromptArgument>) - Method in class org.tio.http.mcp.schema.McpPrompt
 
setAttribute(String, Serializable) - Method in class org.tio.http.common.HttpPacket
设置属性
setAudience(List<McpRole>) - Method in class org.tio.http.mcp.schema.McpAnnotations
 
setAudience(List<McpRole>) - Method in class org.tio.http.mcp.schema.McpImageContent
 
setAudience(List<McpRole>) - Method in class org.tio.http.mcp.schema.McpTextContent
 
setBlob(String) - Method in class org.tio.http.mcp.schema.McpBlobResourceContents
 
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
 
setBytes(byte[]) - Method in class org.tio.http.common.Cookie
 
setCapabilities(McpClientCapabilities) - Method in class org.tio.http.mcp.schema.McpInitializeRequest
 
setCapabilities(McpServerCapabilities) - Method in class org.tio.http.mcp.schema.McpInitializeResult
 
setChannelContext(ChannelContext) - Method in class org.tio.http.common.HttpRequest
 
setCharset(Charset) - Method in class org.tio.http.common.HttpConfig
 
setCharset(Charset) - Method in class org.tio.http.common.HttpRequest
 
setCharset(Charset) - Method in class org.tio.http.common.HttpResponse
 
setCheckHost(boolean) - Method in class org.tio.http.common.HttpConfig
 
setClientInfo(McpImplementation) - Method in class org.tio.http.mcp.schema.McpInitializeRequest
 
setClosed(boolean) - Method in class org.tio.http.common.HttpRequest
 
setCode(int) - Method in class org.tio.http.jsonrpc.JsonRpcError
 
setCompatible1_0(boolean) - Method in class org.tio.http.common.HttpConfig
 
setConnection(String) - Method in class org.tio.http.common.HttpRequest
 
setContent(List<McpContent>) - Method in class org.tio.http.mcp.schema.McpCallToolResult
 
setContent(McpContent) - Method in class org.tio.http.mcp.schema.McpPromptMessage
 
setContentDisposition(String) - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
setContentLength(int) - Method in class org.tio.http.common.HttpRequest
 
setContents(List<McpResourceContents>) - Method in class org.tio.http.mcp.schema.McpReadResourceResult
 
setContentType(String) - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
setCookies(List<Cookie>) - Method in class org.tio.http.common.HttpResponse
 
setCreateTime(long) - Method in class org.tio.http.common.HttpRequest
 
setData(byte[]) - Method in class org.tio.http.common.UploadFile
 
setData(Object) - Method in class org.tio.http.jsonrpc.JsonRpcError
 
setData(String) - Method in class org.tio.http.mcp.schema.McpImageContent
 
setDescription(String) - Method in class org.tio.http.mcp.schema.McpGetPromptResult
 
setDescription(String) - Method in class org.tio.http.mcp.schema.McpPrompt
 
setDescription(String) - Method in class org.tio.http.mcp.schema.McpPromptArgument
 
setDescription(String) - Method in class org.tio.http.mcp.schema.McpResource
 
setDescription(String) - Method in class org.tio.http.mcp.schema.McpResourceTemplate
 
setDescription(String) - Method in class org.tio.http.mcp.schema.McpTool
 
setDomain(String) - Method in class org.tio.http.common.Cookie
 
setError(JsonRpcError) - Method in class org.tio.http.jsonrpc.JsonRpcResponse
 
setError(Boolean) - Method in class org.tio.http.mcp.schema.McpCallToolResult
 
setExperimental(Map<String, Object>) - Method in class org.tio.http.mcp.schema.McpClientCapabilities
 
setExperimental(Map<String, Object>) - Method in class org.tio.http.mcp.schema.McpServerCapabilities
 
setExpires(String) - Method in class org.tio.http.common.Cookie
 
setFilename(String) - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
setForward(boolean) - Method in class org.tio.http.common.HttpRequest
 
setHandShake(boolean) - Method in class org.tio.websocket.common.WsPacket
 
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
 
setHttpConfig(HttpConfig) - Method in class org.tio.http.common.HttpRequest
 
setHttpOnly(boolean) - Method in class org.tio.http.common.Cookie
 
setHttpRequestPacket(HttpRequest) - Method in class org.tio.http.common.HttpResponse
 
setId(Object) - Method in class org.tio.http.jsonrpc.JsonRpcRequest
 
setId(Object) - Method in class org.tio.http.jsonrpc.JsonRpcResponse
 
setInitPath(String) - Method in class org.tio.http.common.RequestLine
 
setInputSchema(McpJsonSchema) - Method in class org.tio.http.mcp.schema.McpTool
 
setInstructions(String) - Method in class org.tio.http.mcp.schema.McpInitializeResult
 
setJsonrpc(String) - Method in class org.tio.http.jsonrpc.JsonRpcNotification
 
setJsonrpc(String) - Method in class org.tio.http.jsonrpc.JsonRpcRequest
 
setJsonrpc(String) - Method in class org.tio.http.jsonrpc.JsonRpcResponse
 
setLastModified(HeaderValue) - Method in class org.tio.http.common.HttpResponse
 
setLastParts(List<byte[]>) - Method in class org.tio.websocket.common.WsSessionContext
 
setListChanged(Boolean) - Method in class org.tio.http.mcp.schema.McpPromptCapabilities
 
setListChanged(Boolean) - Method in class org.tio.http.mcp.schema.McpResourceCapabilities
 
setListChanged(Boolean) - Method in class org.tio.http.mcp.schema.McpRootCapabilities
 
setListChanged(Boolean) - Method in class org.tio.http.mcp.schema.McpToolCapabilities
 
setLogging(McpLoggingCapabilities) - Method in class org.tio.http.mcp.schema.McpServerCapabilities
 
setMap(Map<String, String>) - Method in class org.tio.http.common.HttpMultiBodyDecoder.Header
 
setMaxAge(Long) - Method in class org.tio.http.common.Cookie
 
setMaxForwardCount(int) - Method in class org.tio.http.common.HttpConfig
 
setMaxLengthOfHeader(int) - Method in class org.tio.http.common.HttpConfig
 
setMaxLengthOfHeaderLine(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
 
setMaxLengthOfRequestLine(int) - Method in class org.tio.http.common.HttpConfig
 
setMessage(String) - Method in class org.tio.http.jsonrpc.JsonRpcError
 
setMessages(List<McpPromptMessage>) - Method in class org.tio.http.mcp.schema.McpGetPromptResult
 
setMethod(Method) - Method in class org.tio.http.common.RequestLine
 
setMethod(String) - Method in class org.tio.http.jsonrpc.JsonRpcNotification
 
setMethod(String) - Method in class org.tio.http.jsonrpc.JsonRpcRequest
 
setMimeType(String) - Method in class org.tio.http.mcp.schema.McpBlobResourceContents
 
setMimeType(String) - Method in class org.tio.http.mcp.schema.McpImageContent
 
setMimeType(String) - Method in class org.tio.http.mcp.schema.McpResource
 
setMimeType(String) - Method in class org.tio.http.mcp.schema.McpResourceTemplate
 
setMimeType(String) - Method in class org.tio.http.mcp.schema.McpTextResourceContents
 
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.http.mcp.schema.McpCallToolRequest
 
setName(String) - Method in class org.tio.http.mcp.schema.McpGetPromptRequest
 
setName(String) - Method in class org.tio.http.mcp.schema.McpImplementation
 
setName(String) - Method in class org.tio.http.mcp.schema.McpPrompt
 
setName(String) - Method in class org.tio.http.mcp.schema.McpPromptArgument
 
setName(String) - Method in class org.tio.http.mcp.schema.McpResource
 
setName(String) - Method in class org.tio.http.mcp.schema.McpResourceTemplate
 
setName(String) - Method in class org.tio.http.mcp.schema.McpRoot
 
setName(String) - Method in class org.tio.http.mcp.schema.McpTool
 
setNeedForward(boolean) - Method in class org.tio.http.common.HttpRequest
 
setNextCursor(String) - Method in class org.tio.http.mcp.schema.McpListResourcesResult
 
setNextCursor(String) - Method in class org.tio.http.mcp.schema.McpListResourceTemplatesResult
 
setNextCursor(String) - Method in class org.tio.http.mcp.schema.McpListToolsResult
 
setOutputSchema(McpJsonSchema) - Method in class org.tio.http.mcp.schema.McpTool
 
setPageInClasspath(boolean) - Method in class org.tio.http.common.HttpConfig
 
setParams(Map<String, Object[]>) - Method in class org.tio.http.common.HttpRequest
 
setParams(Map<String, Object>) - Method in class org.tio.http.jsonrpc.JsonRpcNotification
 
setParams(Object) - Method in class org.tio.http.jsonrpc.JsonRpcRequest
 
setPath(String) - Method in class org.tio.http.common.Cookie
 
setPath(String) - Method in class org.tio.http.common.RequestLine
譬如http://www.163.com/user/get?
setPriority(Double) - Method in class org.tio.http.mcp.schema.McpAnnotations
 
setPriority(Double) - Method in class org.tio.http.mcp.schema.McpImageContent
 
setPriority(Double) - Method in class org.tio.http.mcp.schema.McpTextContent
 
setPrompts(McpPromptCapabilities) - Method in class org.tio.http.mcp.schema.McpServerCapabilities
 
setProperties(Map<String, Object>) - Method in class org.tio.http.mcp.schema.McpJsonSchema
 
setProtocol(String) - Method in class org.tio.http.common.RequestLine
 
setProtocolVersion(String) - Method in class org.tio.http.mcp.schema.McpInitializeRequest
 
setProtocolVersion(String) - Method in class org.tio.http.mcp.schema.McpInitializeResult
 
setProxied(boolean) - Method in class org.tio.http.common.HttpConfig
 
setQueryString(String) - Method in class org.tio.http.common.RequestLine
譬如http://www.163.com/user/get?
setReadHandler(BiFunction<McpServerSession, McpReadResourceRequest, McpReadResourceResult>) - Method in class org.tio.http.mcp.server.McpResourceSpecification
 
setRemote(Node) - Method in class org.tio.http.common.HttpRequest
 
setRequestLine(RequestLine) - Method in class org.tio.http.common.HttpRequest
 
setRequired(List<String>) - Method in class org.tio.http.mcp.schema.McpJsonSchema
 
setRequired(Boolean) - Method in class org.tio.http.mcp.schema.McpPromptArgument
 
setResource(McpResource) - Method in class org.tio.http.mcp.server.McpResourceSpecification
 
setResources(List<McpResource>) - Method in class org.tio.http.mcp.schema.McpListResourcesResult
 
setResources(McpResourceCapabilities) - Method in class org.tio.http.mcp.schema.McpServerCapabilities
 
setResourceTemplates(List<McpResourceTemplate>) - Method in class org.tio.http.mcp.schema.McpListResourceTemplatesResult
 
setRespForBlackIp(HttpResponse) - Method in class org.tio.http.common.HttpConfig
 
setResult(Object) - Method in class org.tio.http.jsonrpc.JsonRpcResponse
 
setReturnDirect(Boolean) - Method in class org.tio.http.mcp.schema.McpTool
 
setRole(McpRole) - Method in class org.tio.http.mcp.schema.McpPromptMessage
 
setRoots(McpRootCapabilities) - Method in class org.tio.http.mcp.schema.McpClientCapabilities
 
setRoots(List<McpRoot>) - Method in class org.tio.http.mcp.schema.McpListRootsResult
 
setSampling(McpSampling) - Method in class org.tio.http.mcp.schema.McpClientCapabilities
 
setSecure(boolean) - Method in class org.tio.http.common.Cookie
 
setServerInfo(String) - Method in class org.tio.http.common.HttpConfig
 
setServerInfo(McpImplementation) - Method in class org.tio.http.mcp.schema.McpInitializeResult
 
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
 
setStaticRes(boolean) - Method in class org.tio.http.common.HttpResponse
 
setStatus(HttpResponseStatus) - Method in class org.tio.http.common.HttpResponse
 
setStructuredContent(Object) - Method in class org.tio.http.mcp.schema.McpCallToolResult
 
setSubscribe(Boolean) - Method in class org.tio.http.mcp.schema.McpResourceCapabilities
 
setText(String) - Method in class org.tio.http.mcp.schema.McpTextContent
 
setText(String) - Method in class org.tio.http.mcp.schema.McpTextResourceContents
 
setToken(String) - Method in class org.tio.websocket.common.WsSessionContext
 
setTools(List<McpTool>) - Method in class org.tio.http.mcp.schema.McpListToolsResult
 
setTools(McpToolCapabilities) - Method in class org.tio.http.mcp.schema.McpServerCapabilities
 
setType(String) - Method in class org.tio.http.mcp.schema.McpJsonSchema
 
setUri(String) - Method in class org.tio.http.mcp.schema.McpBlobResourceContents
 
setUri(String) - Method in class org.tio.http.mcp.schema.McpReadResourceRequest
 
setUri(String) - Method in class org.tio.http.mcp.schema.McpResource
 
setUri(String) - Method in class org.tio.http.mcp.schema.McpRoot
 
setUri(String) - Method in class org.tio.http.mcp.schema.McpTextResourceContents
 
setUri(String) - Method in class org.tio.http.mcp.schema.McpUnsubscribeRequest
 
setUriTemplate(String) - Method in class org.tio.http.mcp.schema.McpResourceTemplate
 
setValue(String) - Method in class org.tio.http.common.Cookie
 
setVersion(String) - Method in class org.tio.http.common.RequestLine
 
setVersion(String) - Method in class org.tio.http.mcp.schema.McpImplementation
 
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
 
SseEmitter - Class in org.tio.http.sse
sse 发射器
sseEndpoint(HttpRequest) - Method in class org.tio.http.mcp.server.McpServer
sse endpoint
SseEvent - Class in org.tio.http.sse
sse 报文
SseEvent() - Constructor for class org.tio.http.sse.SseEvent
 
sseMessageEndpoint(HttpRequest) - Method in class org.tio.http.mcp.server.McpServer
sse message endpoint
start(String, int) - Method in class org.tio.http.server.HttpServerStarter
 
start(String, int) - Method in class org.tio.websocket.server.WsServerStarter
 
status - Variable in enum org.tio.http.common.HttpResponseStatus
 
stop() - Method in class org.tio.http.server.HttpServerStarter
 
stop() - Method in class org.tio.websocket.server.WsServerStarter
 

T

TEXT_EVENT_STREAM - Static variable in class org.tio.http.common.HeaderValue.Content_Type
 
TEXT_HTML - Static variable in class org.tio.http.common.HeaderValue.Content_Type
 
TEXT_PLAIN - Static variable in class org.tio.http.common.HeaderValue.Content_Type
 
text_plain - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Content_Type
普通文本,一般会是json或是xml
TIMEOUT_10_MAX_20 - Static variable in class org.tio.http.common.HeaderValue.Keep_Alive
 
tool(McpTool, BiFunction<McpServerSession, Map<String, Object>, McpCallToolResult>) - Method in class org.tio.http.mcp.server.McpServer
Adds a single tool with its implementation handler to the server.
tools(List<McpToolSpecification>) - Method in class org.tio.http.mcp.server.McpServer
Adds multiple tools with their handlers to the server using a List.
tools(McpToolSpecification...) - Method in class org.tio.http.mcp.server.McpServer
Adds multiple tools with their handlers to the server using varargs.
toString() - Method in class org.tio.http.common.Cookie
 
toString() - Method in class org.tio.http.common.HeaderName
 
toString() - Method in class org.tio.http.common.HeaderValue
 
toString() - Method in class org.tio.http.common.HttpRequest
 
toString() - Method in class org.tio.http.common.HttpResponse
 
toString() - Method in class org.tio.http.common.RequestLine
 
toString() - Method in class org.tio.http.jsonrpc.JsonRpcError
 
toString() - Method in class org.tio.http.jsonrpc.JsonRpcNotification
 
toString() - Method in class org.tio.http.jsonrpc.JsonRpcRequest
 
toString() - Method in class org.tio.http.jsonrpc.JsonRpcResponse
 
toString() - Method in class org.tio.http.mcp.schema.McpAnnotations
 
toString() - Method in class org.tio.http.mcp.schema.McpBlobResourceContents
 
toString() - Method in class org.tio.http.mcp.schema.McpCallToolRequest
 
toString() - Method in class org.tio.http.mcp.schema.McpCallToolResult
 
toString() - Method in class org.tio.http.mcp.schema.McpClientCapabilities
 
toString() - Method in class org.tio.http.mcp.schema.McpGetPromptRequest
 
toString() - Method in class org.tio.http.mcp.schema.McpGetPromptResult
 
toString() - Method in class org.tio.http.mcp.schema.McpImageContent
 
toString() - Method in class org.tio.http.mcp.schema.McpImplementation
 
toString() - Method in class org.tio.http.mcp.schema.McpInitializeRequest
 
toString() - Method in class org.tio.http.mcp.schema.McpInitializeResult
 
toString() - Method in class org.tio.http.mcp.schema.McpJsonSchema
 
toString() - Method in class org.tio.http.mcp.schema.McpListResourcesResult
 
toString() - Method in class org.tio.http.mcp.schema.McpListResourceTemplatesResult
 
toString() - Method in class org.tio.http.mcp.schema.McpListRootsResult
 
toString() - Method in class org.tio.http.mcp.schema.McpListToolsResult
 
toString() - Method in class org.tio.http.mcp.schema.McpPrompt
 
toString() - Method in class org.tio.http.mcp.schema.McpPromptArgument
 
toString() - Method in class org.tio.http.mcp.schema.McpPromptCapabilities
 
toString() - Method in class org.tio.http.mcp.schema.McpPromptMessage
 
toString() - Method in class org.tio.http.mcp.schema.McpReadResourceRequest
 
toString() - Method in class org.tio.http.mcp.schema.McpReadResourceResult
 
toString() - Method in class org.tio.http.mcp.schema.McpResource
 
toString() - Method in class org.tio.http.mcp.schema.McpResourceCapabilities
 
toString() - Method in class org.tio.http.mcp.schema.McpResourceTemplate
 
toString() - Method in class org.tio.http.mcp.schema.McpRoot
 
toString() - Method in class org.tio.http.mcp.schema.McpRootCapabilities
 
toString() - Method in class org.tio.http.mcp.schema.McpServerCapabilities
 
toString() - Method in class org.tio.http.mcp.schema.McpTextContent
 
toString() - Method in class org.tio.http.mcp.schema.McpTextResourceContents
 
toString() - Method in class org.tio.http.mcp.schema.McpTool
 
toString() - Method in class org.tio.http.mcp.schema.McpToolCapabilities
 
toString() - Method in class org.tio.http.mcp.schema.McpUnsubscribeRequest
 
toString() - Method in class org.tio.http.mcp.server.McpServerSession
 
toString() - Method in class org.tio.http.mcp.util.UriTemplate
Returns the original template string.
toString() - Method in class org.tio.http.sse.SseEvent
 
toUrlEncodedString(String) - Method in class org.tio.http.common.RequestLine
用来编码用的 "GET /json?
Transfer_Encoding - Static variable in class org.tio.http.common.HeaderName
 
Transfer_Encoding() - Constructor for class org.tio.http.common.HeaderValue.Transfer_Encoding
 
Transfer_Encoding - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
分块传输

U

updateWebSocketProtocol(HttpRequest) - Method in class org.tio.websocket.server.WsTioServerHandler
本方法改编自baseio: baseio
感谢开源作者的付出
Upgrade - Static variable in class org.tio.http.common.HeaderName
 
Upgrade - Static variable in class org.tio.http.common.HeaderValue.Connection
 
Upgrade() - Constructor for class org.tio.http.common.HeaderValue.Upgrade
 
Upgrade - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 
Upgrade - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderValue.Connection
 
Upgrade - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderKey
 
Upgrade - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderValue.Connection
 
UploadFile - Class in org.tio.http.common
 
UploadFile() - Constructor for class org.tio.http.common.UploadFile
 
UriTemplate - Class in org.tio.http.mcp.util
A utility class for validating and matching URI templates.
UriTemplate(String) - Constructor for class org.tio.http.mcp.util.UriTemplate
Constructor to create a new UriTemplate instance.
User_Agent - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
 

V

V1_0 - Static variable in interface org.tio.http.common.HttpConst.HttpVersion
 
V1_1 - Static variable in interface org.tio.http.common.HttpConst.HttpVersion
 
value - Variable in class org.tio.http.common.HeaderValue
 
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.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.mcp.schema.McpRole
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
 
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.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.mcp.schema.McpRole
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.
version - Variable in class org.tio.http.common.RequestLine
 

W

WebSocket - Static variable in class org.tio.http.common.HeaderValue.Upgrade
 
WebSocket - Static variable in interface org.tio.http.common.HttpConst.ResponseHeaderValue.Upgrade
 
WS_SESSION_CONTEXT_KEY - Static variable in class org.tio.websocket.common.WsSessionContext
 
WsPacket - Class in org.tio.websocket.common
 
WsPacket() - Constructor for class org.tio.websocket.common.WsPacket
 
WsPacket(byte[]) - Constructor for class org.tio.websocket.common.WsPacket
 
WsRequest - Class in org.tio.websocket.common
 
WsRequest() - Constructor for class org.tio.websocket.common.WsRequest
 
WsResponse - Class in org.tio.websocket.common
 
WsResponse() - Constructor for class org.tio.websocket.common.WsResponse
 
WsServerDecoder - Class in org.tio.websocket.common
 
WsServerEncoder - Class in org.tio.websocket.common
参考了baseio: https://gitee.com/generallycloud/baseio com.generallycloud.nio.codec.http11.WebSocketProtocolEncoder
WsServerStarter - Class in org.tio.websocket.server
 
WsServerStarter(IWsMsgHandler) - Constructor for class org.tio.websocket.server.WsServerStarter
 
WsServerStarter(IWsMsgHandler, SynThreadPoolExecutor, ThreadPoolExecutor) - Constructor for class org.tio.websocket.server.WsServerStarter
 
WsServerStarter(HttpConfig, IWsMsgHandler) - Constructor for class org.tio.websocket.server.WsServerStarter
 
WsServerStarter(HttpConfig, IWsMsgHandler, SynThreadPoolExecutor, ThreadPoolExecutor) - Constructor for class org.tio.websocket.server.WsServerStarter
 
WsSessionContext - Class in org.tio.websocket.common
 
WsSessionContext() - Constructor for class org.tio.websocket.common.WsSessionContext
 
WsTioServerHandler - Class in org.tio.websocket.server
 
WsTioServerHandler(HttpConfig, IWsMsgHandler) - Constructor for class org.tio.websocket.server.WsTioServerHandler
 
WsTioServerListener - Class in org.tio.websocket.server
 
WsTioServerListener() - Constructor for class org.tio.websocket.server.WsTioServerListener
 

X

X_Requested_With - Static variable in interface org.tio.http.common.HttpConst.RequestHeaderKey
值为XMLHttpRequest则为Ajax
A B C D E F G H I J K L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 2025. All rights reserved.