Class AsyncListenerWrapper

java.lang.Object
org.apache.felix.http.jakartawrappers.AsyncListenerWrapper
All Implemented Interfaces:
jakarta.servlet.AsyncListener, EventListener

public class AsyncListenerWrapper extends Object implements jakarta.servlet.AsyncListener
Async listener wrapper
  • Constructor Details

    • AsyncListenerWrapper

      public AsyncListenerWrapper(@NotNull javax.servlet.AsyncListener c)
      Create new listener
      Parameters:
      c - Wrapped listener
  • Method Details

    • onComplete

      public void onComplete(jakarta.servlet.AsyncEvent event) throws IOException
      Specified by:
      onComplete in interface jakarta.servlet.AsyncListener
      Throws:
      IOException
    • onTimeout

      public void onTimeout(jakarta.servlet.AsyncEvent event) throws IOException
      Specified by:
      onTimeout in interface jakarta.servlet.AsyncListener
      Throws:
      IOException
    • onError

      public void onError(jakarta.servlet.AsyncEvent event) throws IOException
      Specified by:
      onError in interface jakarta.servlet.AsyncListener
      Throws:
      IOException
    • onStartAsync

      public void onStartAsync(jakarta.servlet.AsyncEvent event) throws IOException
      Specified by:
      onStartAsync in interface jakarta.servlet.AsyncListener
      Throws:
      IOException