Package javax.servlet

Interface ReadListener

  • All Superinterfaces:
    EventListener

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

      • onAllDataRead

        void onAllDataRead()
                    throws IOException
        Called when all data has been read.
        Throws:
        IOException - when an I/O error occurs.
      • onDataAvailable

        void onDataAvailable()
                      throws IOException
        Called when data is available.
        Throws:
        IOException - when an I/O error occurs.
      • onError

        void onError​(Throwable throwable)
        Called when an error occurs.
        Parameters:
        throwable - the throwable.