Class ReadListenerTest.TestOnAllDataReadReadListener

java.lang.Object
cloud.piranha.core.tests.ReadListenerTest.TestOnAllDataReadReadListener
All Implemented Interfaces:
jakarta.servlet.ReadListener, EventListener
Enclosing class:
ReadListenerTest

public static class ReadListenerTest.TestOnAllDataReadReadListener extends Object implements jakarta.servlet.ReadListener
  • Constructor Details

    • TestOnAllDataReadReadListener

      public TestOnAllDataReadReadListener(WebApplication webApplication)
      Constructor.
      Parameters:
      webApplication - the web application.
  • Method Details

    • onAllDataRead

      public void onAllDataRead() throws IOException
      Specified by:
      onAllDataRead in interface jakarta.servlet.ReadListener
      Throws:
      IOException
    • onDataAvailable

      public void onDataAvailable() throws IOException
      Specified by:
      onDataAvailable in interface jakarta.servlet.ReadListener
      Throws:
      IOException
    • onError

      public void onError(Throwable t)
      Specified by:
      onError in interface jakarta.servlet.ReadListener