Class AsyncContextTest.TestCreateListenerListener

java.lang.Object
cloud.piranha.core.tests.AsyncContextTest.TestCreateListenerListener
All Implemented Interfaces:
jakarta.servlet.AsyncListener, EventListener
Enclosing class:
AsyncContextTest

public static class AsyncContextTest.TestCreateListenerListener extends Object implements jakarta.servlet.AsyncListener
Listener that is used by testCreateListener.
  • Constructor Details

    • TestCreateListenerListener

      public TestCreateListenerListener()
  • 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