HTTP+XML协议栈
2023-01-11 19:39:25 7 举报
HTTP+XML协议栈流程图
作者其他创作
大纲/内容
HttpRequestEncoder
messageReceived 方法收到的就是解码后的HttpXmlRequest对象,打印输出
HttpXmlResponseDecoder
HttpXmlServerHandler
HttpXmlServer
HttpResponseEncoder
HttpRequestDecoder
channelActive方法将HttpXmlReuest发送给HttpRequestEncoder
font color=\"#323232\
负责将一个HTTP请求消息的多个部分合并成一条完整的HTTP信息
HttpXmlResponseEncoderfont color=\"#323232\
HttpXmlResponseEncoder
xml解码器,实现HTTP+XML请求消息的自动解码
HTTP编码器
TCP链接
HttpObjectAggregator
根据POJO对象,构造HttpXmlResponse对象,返回
HttpResponseDecoder
messageReceived 收到服务端返回的信息后,打印处理,看信息是否正确
HTTP解码器
HttpXmlClientHandler
HttpXmlClient
HttpXmlRequestEncoder
HttpXmlRequestDecoder
channel
0 条评论
回复 删除
下一页