Class ServletServerStream.GrpcWriteListener

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

    private final class ServletServerStream.GrpcWriteListener
    extends java.lang.Object
    implements javax.servlet.WriteListener
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private GrpcWriteListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
    • Constructor Detail

      • GrpcWriteListener

        private GrpcWriteListener()
    • Method Detail

      • onError

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

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