Tabnine Logo
FilterDef.getAsyncSupported
Code IndexAdd Tabnine to your IDE (free)

How to use
getAsyncSupported
method
in
org.apache.tomcat.util.descriptor.web.FilterDef

Best Java code snippets using org.apache.tomcat.util.descriptor.web.FilterDef.getAsyncSupported (Showing top 17 results out of 315)

origin: org.apache.tomcat/tomcat-catalina

  /**
   * Identifies the Filters, if any, in this FilterChain that do not support
   * async.
   *
   * @param result The Set to which the fully qualified class names of each
   *               Filter in this FilterChain that does not support async will
   *               be added
   */
  public void findNonAsyncFilters(Set<String> result) {
    for (int i = 0; i < n ; i++) {
      ApplicationFilterConfig filter = filters[i];
      if ("false".equalsIgnoreCase(filter.getFilterDef().getAsyncSupported())) {
        result.add(filter.getFilterClass());
      }
    }
  }
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

  /**
   * Identifies the Filters, if any, in this FilterChain that do not support
   * async.
   *
   * @param result The Set to which the fully qualified class names of each
   *               Filter in this FilterChain that does not support async will
   *               be added
   */
  public void findNonAsyncFilters(Set<String> result) {
    for (int i = 0; i < n ; i++) {
      ApplicationFilterConfig filter = filters[i];
      if ("false".equalsIgnoreCase(filter.getFilterDef().getAsyncSupported())) {
        result.add(filter.getFilterClass());
      }
    }
  }
}
origin: codefollower/Tomcat-Research

private static boolean mergeFilter(FilterDef src, FilterDef dest,
    boolean failOnConflict) {
  if (dest.getAsyncSupported() == null) {
    dest.setAsyncSupported(src.getAsyncSupported());
  } else if (src.getAsyncSupported() != null) {
    if (failOnConflict &&
        !src.getAsyncSupported().equals(dest.getAsyncSupported())) {
      return false;
origin: org.apache.tomcat/tomcat-util-scan

private static boolean mergeFilter(FilterDef src, FilterDef dest,
    boolean failOnConflict) {
  if (dest.getAsyncSupported() == null) {
    dest.setAsyncSupported(src.getAsyncSupported());
  } else if (src.getAsyncSupported() != null) {
    if (failOnConflict &&
        !src.getAsyncSupported().equals(dest.getAsyncSupported())) {
      return false;
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

private static boolean mergeFilter(FilterDef src, FilterDef dest,
    boolean failOnConflict) {
  if (dest.getAsyncSupported() == null) {
    dest.setAsyncSupported(src.getAsyncSupported());
  } else if (src.getAsyncSupported() != null) {
    if (failOnConflict &&
        !src.getAsyncSupported().equals(dest.getAsyncSupported())) {
      return false;
origin: org.apache.tomcat/tomcat-catalina

  filterConfig.getFilterDef().getAsyncSupported())) {
request.setAttribute(Globals.ASYNC_SUPPORTED_ATTR, Boolean.FALSE);
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

  filterConfig.getFilterDef().getAsyncSupported())) {
request.setAttribute(Globals.ASYNC_SUPPORTED_ATTR, Boolean.FALSE);
origin: codefollower/Tomcat-Research

  filterConfig.getFilterDef().getAsyncSupported())) {
request.setAttribute(Globals.ASYNC_SUPPORTED_ATTR,
    Boolean.FALSE);
origin: org.apache.tomcat/tomcat-catalina

if (filterDef.getAsyncSupported() == null) {
  filterDef
      .setAsyncSupported(evp.getValue().stringifyValue());
origin: codefollower/Tomcat-Research

    filterDef.getFilterClass());
appendElement(sb, INDENT4, "async-supported",
    filterDef.getAsyncSupported());
for (Map.Entry<String, String> param :
    filterDef.getParameterMap().entrySet()) {
origin: codefollower/Tomcat-Research

if (filterDef.getAsyncSupported() == null) {
  filterDef
      .setAsyncSupported(evp.getValue().stringifyValue());
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

if (filterDef.getAsyncSupported() == null) {
  filterDef
      .setAsyncSupported(evp.getValue().stringifyValue());
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

filterDef.getAsyncSupported());
origin: org.apache.tomcat/tomcat-util-scan

filterDef.getAsyncSupported());
origin: org.apache.tomcat/tomcat-catalina

if (filter.getAsyncSupported() == null) {
  filter.setAsyncSupported("false");
origin: codefollower/Tomcat-Research

if (filter.getAsyncSupported() == null) {
  filter.setAsyncSupported("false");
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

if (filter.getAsyncSupported() == null) {
  filter.setAsyncSupported("false");
org.apache.tomcat.util.descriptor.webFilterDefgetAsyncSupported

Popular methods of FilterDef

  • <init>
  • setFilterName
  • setFilterClass
  • getFilterName
  • setAsyncSupported
  • addInitParameter
    Add an initialization parameter to the set of parameters associated with this filter.
  • getDescription
  • getFilterClass
  • setDisplayName
  • setFilter
  • getParameterMap
  • setDescription
  • getParameterMap,
  • setDescription,
  • getDisplayName,
  • getFilter,
  • getLargeIcon,
  • getSmallIcon,
  • setLargeIcon,
  • setSmallIcon,
  • toString

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JPanel (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now