该接口定义了所有协议处理请求的公共方法
Executor getExecutor();
SocketState process(SocketWrapper<S> socketWrapper) throws IOException;
SocketState event(SocketStatus status) throws IOException;
SocketState asyncDispatch(SocketStatus status);
SocketState asyncPostProcess();
/**
* @deprecated Will be removed in Tomcat 8.0.x.
*/
@Deprecated
org.apache.coyote.http11.upgrade.UpgradeInbound getUpgradeInbound();
/**
* @deprecated Will be removed in Tomcat 8.0.x.
*/
@Deprecated
SocketState upgradeDispatch() throws IOException;
HttpUpgradeHandler getHttpUpgradeHandler();
SocketState upgradeDispatch(SocketStatus status) throws IOException;
void errorDispatch();
boolean isComet();
boolean isAsync();
boolean isUpgrade();
Request getRequest();
void recycle(boolean socketClosing);
void setSslSupport(SSLSupport sslSupport);