socket-->socketwrapper-->socketprocessor-->
Http11Processor
--------------------解析请求行
if (!inputBuffer.parseRequestLine(keptAlive, protocol.getConnectionTimeout(), protocol.getKeepAliveTimeout())) {
------------------解析请求头
inputBuffer.parseHeaders()
Http11Protocol-->ProtocolHandle
-------------------init()
-------------------start()
------------------pause(),stop(),destory()
--------------------addSslHostConfig()
-------------------addUpgradeProtocol
-------------------create(String protocol)//根据协议i返回对应的协议实例
if("HTTP/1.1".eaquls(protocol))
return new org.apache.coyote.http11.Http11NioProtocol()
if("HTTP/1.1".eaquls(protocol))
return new new org.apache.coyote.http11.AjpNioProtocol()
else
Class clazz = class.forname(protocol)
return (ProtocolHandle)clazz..getConstructor().newInstance()
Coyote/http11/*,//http1.1协议相关处理