Class ReadListenerWrapper

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

public class ReadListenerWrapper extends Object implements jakarta.servlet.ReadListener
Read listener
  • Constructor Details

    • ReadListenerWrapper

      public ReadListenerWrapper(@NotNull javax.servlet.ReadListener listener)
      Create new lister
      Parameters:
      listener - Wrapped listener
  • Method Details

    • onDataAvailable

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

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

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