Class NioReadListenerImpl

  • All Implemented Interfaces:
    EventListener, javax.servlet.ReadListener

    public final class NioReadListenerImpl
    extends Object
    implements javax.servlet.ReadListener
    • Constructor Detail

      • NioReadListenerImpl

        public NioReadListenerImpl​(NioReadEntity entity,
                                   javax.servlet.ServletInputStream in)
    • Method Detail

      • onDataAvailable

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

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

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