Class HttpRequest.Operation<V>

  • Type Parameters:
    V -
    All Implemented Interfaces:
    java.util.concurrent.Callable<V>
    Direct Known Subclasses:
    HttpRequest.CloseOperation, HttpRequest.FlushOperation
    Enclosing class:
    HttpRequest

    protected abstract static class HttpRequest.Operation<V>
    extends java.lang.Object
    implements java.util.concurrent.Callable<V>
    Operation that handles executing a callback once complete and handling nested exceptions
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Operation()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      V call()  
      protected abstract void done()
      Operation complete callback
      protected abstract V run()
      Run operation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait