Package javax.servlet

Interface WriteListener

  • All Superinterfaces:
    EventListener

    public interface WriteListener
    extends EventListener
    The WriteListener API.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Method Detail

      • onError

        void onError​(Throwable throwable)
        Called when an error is detected.
        Parameters:
        throwable - the throwable.
      • onWritePossible

        void onWritePossible()
                      throws IOException
        Called when a write is possible.
        Throws:
        IOException - when an I/O error occurs.