Class WriteListenerImpl

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.WriteListener

    public class WriteListenerImpl
    extends java.lang.Object
    implements javax.servlet.WriteListener
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.slf4j.Logger LOGGER  
    • Constructor Summary

      Constructors 
      Constructor Description
      WriteListenerImpl​(javax.servlet.ServletOutputStream sos, java.util.Queue q, javax.servlet.AsyncContext c)  
    • Method Summary

      Modifier and Type Method Description
      void onError​(java.lang.Throwable t)  
      void onWritePossible()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        protected static org.slf4j.Logger LOGGER
    • Constructor Detail

      • WriteListenerImpl

        public WriteListenerImpl​(javax.servlet.ServletOutputStream sos,
                                 java.util.Queue q,
                                 javax.servlet.AsyncContext c)
    • Method Detail

      • onWritePossible

        public void onWritePossible()
                             throws java.io.IOException
        Specified by:
        onWritePossible in interface javax.servlet.WriteListener
        Throws:
        java.io.IOException
      • onError

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