Processor泛型接口

来源:互联网 发布:装修找熟人好不好知乎 编辑:程序博客网 时间:2024/04/29 10:16

该接口定义了所有协议处理请求的公共方法

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. */@Deprecatedorg.apache.coyote.http11.upgrade.UpgradeInbound getUpgradeInbound();/** * @deprecated Will be removed in Tomcat 8.0.x. */@DeprecatedSocketState 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);


0 0
原创粉丝点击