Class ChunkedTransferServlet.StatusListener

java.lang.Object
io.antmedia.servlet.ChunkedTransferServlet.StatusListener
All Implemented Interfaces:
jakarta.servlet.AsyncListener, EventListener
Enclosing class:
ChunkedTransferServlet

public static class ChunkedTransferServlet.StatusListener extends Object implements jakarta.servlet.AsyncListener
  • Field Details

    • filepath

      String filepath
    • timeoutOrErrorExist

      boolean timeoutOrErrorExist
  • Constructor Details

    • StatusListener

      public StatusListener(String filepath)
  • Method Details

    • onTimeout

      public void onTimeout(jakarta.servlet.AsyncEvent event) throws IOException
      Specified by:
      onTimeout 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
    • onError

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

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

      public boolean isTimeoutOrErrorExist()