Skip to Content
Author's profile photo Former Member

Tomcat6的Connector中protocol可选的协议

基于HTTP协议的Connector:

protocol=”HTTP/1.1″

protocol=”org.apache.coyote.http11.Http11NioProtocol”

protocol=”org.apache.coyote.http11.Http11AprProtocol

protocolHandlerClassName=”org.apache.coyote.http11.Http11Protocol”  默认

protocolHandlerClassName=”org.apache.coyote.http11.Http11NioProtocol”
protocolHandlerClassName=”org.apache.coyote.http11.Http11AprProtocol” 如果有安装APR


基于AJP协议的Connector:(基于该协议可以和其它server集成使用)

protocol=”AJP/1.3″

protocolHandlerClassName=”org.apache.coyote.ajp.AjpAprProtocol

protocolHandlerClassName=”org.apache.coyote.ajp.AjpProtocol“,支持executor,但不支持压缩

protocolHandlerClassName=”org.apache.jk.server.JkCoyoteHandler” 默认,不支持executor

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.