AsyncListenerWrapper (Apache Tomcat 11.0.6 API Documentation)
Description: declaration: package: org.apache.catalina.core, class: AsyncListenerWrapper

# Class AsyncListenerWrapper

java.lang.Object
org.apache.catalina.core.AsyncListenerWrapper

public class AsyncListenerWrapper extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AsyncListenerWrapper()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `fireOnComplete(AsyncEvent event)`
  `void`
  `fireOnError(AsyncEvent event)`
  `void`
  `fireOnStartAsync(AsyncEvent event)`
  `void`
  `fireOnTimeout(AsyncEvent event)`
  `AsyncListener`
  `getListener()`
  `void`
  `setListener(AsyncListener listener)`
  `void`
  `setServletRequest(ServletRequest servletRequest)`
  `void`
  `setServletResponse(ServletResponse servletResponse)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AsyncListenerWrapper

    public AsyncListenerWrapper()

- ## Method Details

  - ### fireOnStartAsync

    public void fireOnStartAsync(AsyncEvent event) throws IOException
    Throws:
      `IOException`

  - ### fireOnComplete

    public void fireOnComplete(AsyncEvent event) throws IOException
    Throws:
      `IOException`

  - ### fireOnTimeout

    public void fireOnTimeout(AsyncEvent event) throws IOException
    Throws:
      `IOException`

  - ### fireOnError

    public void fireOnError(AsyncEvent event) throws IOException
    Throws:
      `IOException`

  - ### getListener

    public AsyncListener getListener()

  - ### setListener

    public void setListener(AsyncListener listener)

  - ### setServletRequest

    public void setServletRequest(ServletRequest servletRequest)

  - ### setServletResponse

    public void setServletResponse(ServletResponse servletResponse)