Java Code Examples for org.apache.catalina.Valve#isAsyncSupported()
The following examples show how to use
org.apache.catalina.Valve#isAsyncSupported() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StandardPipeline.java From Tomcat8-Source-Read with MIT License | 5 votes |
@Override public boolean isAsyncSupported() { Valve valve = (first!=null)?first:basic; boolean supported = true; while (supported && valve!=null) { supported = supported & valve.isAsyncSupported(); valve = valve.getNext(); } return supported; }
Example 2
Source File: StandardPipeline.java From Tomcat8-Source-Read with MIT License | 5 votes |
@Override public void findNonAsyncValves(Set<String> result) { Valve valve = (first!=null) ? first : basic; while (valve != null) { if (!valve.isAsyncSupported()) { result.add(valve.getClass().getName()); } valve = valve.getNext(); } }
Example 3
Source File: StandardPipeline.java From Tomcat7.0.67 with Apache License 2.0 | 5 votes |
@Override public boolean isAsyncSupported() { Valve valve = (first!=null)?first:basic; boolean supported = true; while (supported && valve!=null) { supported = supported & valve.isAsyncSupported(); valve = valve.getNext(); } return supported; }