`
阿凡提学计算机
  • 浏览: 40246 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类

Tomcat源码解读--代码走读之(四十八中的2-3)setAsyncSupported(五十一)

 
阅读更多

request.setAsyncSupported(connector.getService().getContainer().getPipeline().isAsyncSupported())

1、其中connector.getService().getContainer().getPipeline().isAsyncSupported()的方法内容如下。



 

是走StandardPipelineisAsyncSupported方法,其中basicStandardEngineValue其中里面的asyncSupported属性为true是在构建对象的时候设置的。

2、setAsyncSupported代码比较简单,设置值为true。



 

  • 大小: 17.9 KB
  • 大小: 4.3 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics