AsyncContextCallback (Apache Tomcat 8.5.43 API Documentation)

org.apache.coyote

## Interface AsyncContextCallback

- All Known Implementing Classes:
    AsyncContextImpl

      public interface AsyncContextCallback

  Provides a mechanism for the Coyote connectors to communicate with the `AsyncContext`. It is implemented in this manner so that the org.apache.coyote package does not have a dependency on the org.apache.catalina package.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `fireOnComplete()`
    `boolean` | `isAvailable()` Reports if the web application associated with this async request is available.

- - ### Method Detail

    - #### fireOnComplete

          void fireOnComplete()

    - #### isAvailable

          boolean isAvailable()

      Reports if the web application associated with this async request is available.
      Returns:
        `true` if the associated web application is available, otherwise `false`

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