Class DefaultResultCallback<T>

  • All Implemented Interfaces:
    ResultCallback<T>

    @Deprecated
    class DefaultResultCallback<T>
    extends java.lang.Object
    implements ResultCallback<T>
    Deprecated.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.http.concurrent.BasicFuture<T> future
      Deprecated.
       
      private java.util.Queue<org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<?>> queue
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultResultCallback​(org.apache.http.concurrent.BasicFuture<T> future, java.util.Queue<org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<?>> queue)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void cancelled​(org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
      Deprecated.
       
      void completed​(T result, org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
      Deprecated.
       
      void failed​(java.lang.Exception ex, org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
      Deprecated.
       
      boolean isDone()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • future

        private final org.apache.http.concurrent.BasicFuture<T> future
        Deprecated.
      • queue

        private final java.util.Queue<org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<?>> queue
        Deprecated.
    • Constructor Detail

      • DefaultResultCallback

        DefaultResultCallback​(org.apache.http.concurrent.BasicFuture<T> future,
                              java.util.Queue<org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<?>> queue)
        Deprecated.
    • Method Detail

      • completed

        public void completed​(T result,
                              org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
        Deprecated.
        Specified by:
        completed in interface ResultCallback<T>
      • failed

        public void failed​(java.lang.Exception ex,
                           org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
        Deprecated.
        Specified by:
        failed in interface ResultCallback<T>
      • cancelled

        public void cancelled​(org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
        Deprecated.
        Specified by:
        cancelled in interface ResultCallback<T>