Class AsyncContextTest.TestCreateListener2Listener

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

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

    • TestCreateListener2Listener

      public TestCreateListener2Listener() throws jakarta.servlet.ServletException
      Constructor.
      Throws:
      jakarta.servlet.ServletException - when constructor is called.
  • 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