Registration.Dynamic (Apache Tomcat 7.0.104 API Documentation)

javax.servlet

## Interface Registration.Dynamic

- All Superinterfaces:
    Registration
  All Known Subinterfaces:
    FilterRegistration.Dynamic, ServletRegistration.Dynamic
  All Known Implementing Classes:
    ApplicationFilterRegistration, ApplicationServletRegistration
  Enclosing interface:
    Registration

      public static interface Registration.Dynamic
      extends Registration

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface javax.servlet.Registration

      `Registration.Dynamic`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setAsyncSupported(boolean isAsyncSupported)` Mark this Servlet/Filter as supported asynchronous processing.

    - ### Methods inherited from interface javax.servlet.Registration

      `getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters`

- - ### Method Detail

    - #### setAsyncSupported

          void setAsyncSupported(boolean isAsyncSupported)

      Mark this Servlet/Filter as supported asynchronous processing.
      Parameters:
        `isAsyncSupported` - Should this Servlet/Filter support asynchronous processing
      Throws:
        `IllegalStateException` - if the ServletContext associated with this registration has already been initialised

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.