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

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


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

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

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


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

相关文章:

  • 2021-06-10
  • 2021-12-17
  • 2021-07-28
  • 2021-12-18
  • 2021-11-04
  • 2021-07-31
  • 2021-08-05
猜你喜欢
  • 2022-01-19
  • 2021-11-13
  • 2021-10-27
  • 2021-06-19
  • 2021-07-17
  • 2021-07-21
  • 2021-06-23
相关资源
相似解决方案