本文整理了Java中org.apache.catalina.Wrapper.getAsyncSupported()
方法的一些代码示例,展示了Wrapper.getAsyncSupported()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wrapper.getAsyncSupported()
方法的具体详情如下:
包路径:org.apache.catalina.Wrapper
类名称:Wrapper
方法名:getAsyncSupported
[英]Return the async supported value.
[中]返回异步支持的值。
代码示例来源:origin: org.jboss.web/jbossweb
.append(wrapper.getServletClass()).append("] ").append(wrapper.getAsyncSupported() ? "[A]" : "")
.append("\r\n");
代码示例来源:origin: jboss.web/jbossweb
.append(wrapper.getServletClass()).append("] ").append(wrapper.getAsyncSupported() ? "[A]" : "")
.append("\r\n");
代码示例来源:origin: org.jboss.web/jbossweb
public boolean isAsyncSupported() {
int filterChainCount = currentFilterChain + 1;
for (int i = 0; i < filterChainCount; i++) {
ApplicationFilterChain filterChain = filterChains.get(i);
int n = filterChain.getFilterCount();
int pos = filterChain.getPointer();
int lastFilter = pos;
if (pos == n + 1) {
lastFilter = n;
}
for (int j = 0; j < lastFilter; j++) {
if (!filterChain.getFilters()[j].getFilterDef().getAsyncSupported()) {
return false;
}
}
if (pos == n + 1) {
if (!filterChain.getWrapper().getAsyncSupported()) {
return false;
}
}
}
return true;
}
代码示例来源:origin: jboss.web/jbossweb
public boolean isAsyncSupported() {
int filterChainCount = currentFilterChain + 1;
for (int i = 0; i < filterChainCount; i++) {
ApplicationFilterChain filterChain = filterChains.get(i);
int n = filterChain.getFilterCount();
int pos = filterChain.getPointer();
int lastFilter = pos;
if (pos == n + 1) {
lastFilter = n;
}
for (int j = 0; j < lastFilter; j++) {
if (!filterChain.getFilters()[j].getFilterDef().getAsyncSupported()) {
return false;
}
}
if (pos == n + 1) {
if (!filterChain.getWrapper().getAsyncSupported()) {
return false;
}
}
}
return true;
}
内容来源于网络,如有侵权,请联系作者删除!