Class HttpRequest.FlushOperation<V>

  • Type Parameters:
    V -
    All Implemented Interfaces:
    java.util.concurrent.Callable<V>
    Enclosing class:
    HttpRequest

    protected abstract static class HttpRequest.FlushOperation<V>
    extends HttpRequest.Operation<V>
    Class that and ensures a Flushable gets flushed with proper exception handling.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.Flushable flushable  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected FlushOperation​(java.io.Flushable flushable)
      Create flush operation
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void done()
      Operation complete callback
      • Methods inherited from class java.lang.Object

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

      • flushable

        private final java.io.Flushable flushable
    • Constructor Detail

      • FlushOperation

        protected FlushOperation​(java.io.Flushable flushable)
        Create flush operation
        Parameters:
        flushable -