本文整理了Java中org.apache.catalina.connector.Request.getFilterChain
方法的一些代码示例,展示了Request.getFilterChain
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.getFilterChain
方法的具体详情如下:
包路径:org.apache.catalina.connector.Request
类名称:Request
方法名:getFilterChain
[英]Get filter chain associated with the request.
[中]获取与请求关联的筛选器链。
代码示例来源:origin: org.glassfish.main.security/websecurity
public FilterChain getFilterChain() {
return httpRequest.getFilterChain();
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Get filter chain associated with the request.
*/
public ApplicationFilterChain getFilterChain() {
if (request == null) {
throw new IllegalStateException(
sm.getString("requestFacade.nullRequest"));
}
return request.getFilterChain();
}
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Get filter chain associated with the request.
*/
public ApplicationFilterChain getFilterChain() {
if (request == null) {
throw MESSAGES.nullRequestFacade();
}
return request.getFilterChain();
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
private Set<String> getNonAsyncClassNames() {
Set<String> result = new HashSet<>();
Wrapper wrapper = getWrapper();
if (!wrapper.isAsyncSupported()) {
result.add(wrapper.getServletClass());
}
FilterChain filterChain = getFilterChain();
if (filterChain instanceof ApplicationFilterChain) {
((ApplicationFilterChain) filterChain).findNonAsyncFilters(result);
} else {
result.add(sm.getString("coyoteRequest.filterAsyncSupportUnknown"));
}
Container c = wrapper;
while (c != null) {
c.getPipeline().findNonAsyncValves(result);
c = c.getParent();
}
return result;
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
private Set<String> getNonAsyncClassNames() {
Set<String> result = new HashSet<>();
Wrapper wrapper = getWrapper();
if (!wrapper.isAsyncSupported()) {
result.add(wrapper.getServletClass());
}
FilterChain filterChain = getFilterChain();
if (filterChain instanceof ApplicationFilterChain) {
((ApplicationFilterChain) filterChain).findNonAsyncFilters(result);
} else {
result.add(sm.getString("coyoteRequest.filterAsyncSupportUnknown"));
}
Container c = wrapper;
while (c != null) {
c.getPipeline().findNonAsyncValves(result);
c = c.getParent();
}
return result;
}
代码示例来源:origin: tomcat/catalina
if ((securityManager == null) && (request instanceof Request)) {
Request req = (Request) request;
filterChain = (ApplicationFilterChain) req.getFilterChain();
if (filterChain == null) {
filterChain = new ApplicationFilterChain();
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
filterChain = (ApplicationFilterChain) req.getFilterChain();
if (filterChain == null) {
filterChain = new ApplicationFilterChain();
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
filterChain = (ApplicationFilterChain) req.getFilterChain();
if (filterChain == null) {
filterChain = new ApplicationFilterChain();
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
filterChain = (ApplicationFilterChain) req.getFilterChain();
if (filterChain == null) {
filterChain = new ApplicationFilterChain();
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
filterChain = (ApplicationFilterChain) req.getFilterChain();
if (filterChain == null) {
filterChain = new ApplicationFilterChain();
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
filterChain = (ApplicationFilterChain) req.getFilterChain();
if (filterChain == null) {
filterChain = new ApplicationFilterChain();
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
filterChain = (ApplicationFilterChain) req.getFilterChain();
if (filterChain == null) {
filterChain = new ApplicationFilterChain();
代码示例来源:origin: codefollower/Tomcat-Research
filterChain = (ApplicationFilterChain) req.getFilterChain();
if (filterChain == null) {
filterChain = new ApplicationFilterChain();
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
filterChain = (ApplicationFilterChain) req.getFilterChain();
if (filterChain == null) {
filterChain = new ApplicationFilterChain();
代码示例来源:origin: org.jboss.web/jbossweb
(ApplicationFilterChain) request.getFilterChain();
代码示例来源:origin: codefollower/Tomcat-Research
(ApplicationFilterChain) request.getFilterChain();
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
(ApplicationFilterChain) request.getFilterChain();
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
(ApplicationFilterChain) request.getFilterChain();
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
(ApplicationFilterChain) request.getFilterChain();
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
(ApplicationFilterChain) request.getFilterChain();
内容来源于网络,如有侵权,请联系作者删除!