Class ChainedFutureCallback<T>

  • All Implemented Interfaces:
    org.apache.http.concurrent.FutureCallback<T>

    class ChainedFutureCallback<T>
    extends java.lang.Object
    implements org.apache.http.concurrent.FutureCallback<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.http.concurrent.BasicFuture<T> wrapped  
    • Constructor Summary

      Constructors 
      Constructor Description
      ChainedFutureCallback​(org.apache.http.concurrent.BasicFuture<T> delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancelled()  
      void completed​(T result)  
      void failed​(java.lang.Exception ex)  
      • Methods inherited from class java.lang.Object

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

      • wrapped

        private final org.apache.http.concurrent.BasicFuture<T> wrapped
    • Constructor Detail

      • ChainedFutureCallback

        public ChainedFutureCallback​(org.apache.http.concurrent.BasicFuture<T> delegate)
    • Method Detail

      • completed

        public void completed​(T result)
        Specified by:
        completed in interface org.apache.http.concurrent.FutureCallback<T>
      • failed

        public void failed​(java.lang.Exception ex)
        Specified by:
        failed in interface org.apache.http.concurrent.FutureCallback<T>
      • cancelled

        public void cancelled()
        Specified by:
        cancelled in interface org.apache.http.concurrent.FutureCallback<T>