Class DefaultResultCallback<T>

java.lang.Object
org.apache.http.impl.nio.client.DefaultResultCallback<T>
All Implemented Interfaces:
ResultCallback<T>

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

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

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

    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(Exception ex, org.apache.http.nio.protocol.HttpAsyncRequestExecutionHandler<T> handler)
    Deprecated.
     
    boolean
    Deprecated.
     

    Methods inherited from class java.lang.Object

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

    • future

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

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

    • DefaultResultCallback

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

    • 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(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>
    • isDone

      public boolean isDone()
      Deprecated.
      Specified by:
      isDone in interface ResultCallback<T>