## Uses of Interface
org.apache.http.concurrent.FutureCallback

- Packages that use FutureCallback
  Package | Description
  --- | ---
  org.apache.http.concurrent | Common concurrency components.
  org.apache.http.impl.nio.pool | Basic implementations for interfaces in `org.apache.http.nio.pool`.
  org.apache.http.nio.pool | Asynchronous (non-blocking) connection pool components.
  org.apache.http.nio.protocol | Asynchronous HTTP protocol handlers based on the non-blocking I/O model.
  org.apache.http.pool | Synchronous (blocking) connection pool components.

- - ### Uses of FutureCallback in org.apache.http.concurrent

    Constructors in org.apache.http.concurrent with parameters of type FutureCallback
    Constructor and Description
    `BasicFuture(FutureCallback<T> callback)`

  - ### Uses of FutureCallback in org.apache.http.impl.nio.pool

    Methods in org.apache.http.impl.nio.pool with parameters of type FutureCallback
    Modifier and Type | Method and Description
    --- | ---
    `Future<BasicNIOPoolEntry>` | BasicNIOConnPool.`lease(HttpHost route, Object state, FutureCallback<BasicNIOPoolEntry> callback)`

  - ### Uses of FutureCallback in org.apache.http.nio.pool

    Methods in org.apache.http.nio.pool with parameters of type FutureCallback
    Modifier and Type | Method and Description
    --- | ---
    `Future<E>` | AbstractNIOConnPool.`lease(T route, Object state, FutureCallback<E> callback)`
    `Future<E>` | AbstractNIOConnPool.`lease(T route, Object state, long connectTimeout, long leaseTimeout, TimeUnit tunit, FutureCallback<E> callback)`
    `Future<E>` | AbstractNIOConnPool.`lease(T route, Object state, long connectTimeout, TimeUnit tunit, FutureCallback<E> callback)`

  - ### Uses of FutureCallback in org.apache.http.nio.protocol

    Methods in org.apache.http.nio.protocol with parameters of type FutureCallback
    Modifier and Type | Method and Description
    --- | ---
    `<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> Future<T>` | HttpAsyncRequester.`execute(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, ConnPool<HttpHost,E> connPool, HttpContext context, FutureCallback<T> callback)` Initiates asynchronous HTTP request execution.
    `<T,E extends PoolEntry<HttpHost,NHttpClientConnection>> Future<T>` | HttpAsyncRequester.`execute(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, E poolEntry, ConnPool<HttpHost,E> connPool, HttpContext context, FutureCallback<T> callback)` Initiates asynchronous HTTP request execution.
    `<T> Future<T>` | HttpAsyncRequester.`execute(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, NHttpClientConnection conn, HttpContext context, FutureCallback<T> callback)` Initiates asynchronous HTTP request execution.

    Constructors in org.apache.http.nio.protocol with parameters of type FutureCallback
    Constructor and Description
    `BasicAsyncClientExchangeHandler(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, FutureCallback<T> callback, HttpContext localContext, NHttpClientConnection conn, HttpProcessor httppocessor, ConnectionReuseStrategy connReuseStrategy)` Creates new instance of BasicAsyncRequestExecutionHandler.
    `BasicAsyncRequestExecutionHandler(HttpAsyncRequestProducer requestProducer, HttpAsyncResponseConsumer<T> responseConsumer, FutureCallback<T> callback, HttpContext localContext, HttpProcessor httppocessor, ConnectionReuseStrategy reuseStrategy, HttpParams params)` Deprecated.

  - ### Uses of FutureCallback in org.apache.http.pool

    Methods in org.apache.http.pool with parameters of type FutureCallback
    Modifier and Type | Method and Description
    --- | ---
    `Future<E>` | AbstractConnPool.`lease(T route, Object state, FutureCallback<E> callback)` Attempts to lease a connection for the given route and with the given state from the pool.
    `Future<E>` | ConnPool.`lease(T route, Object state, FutureCallback<E> callback)` Attempts to lease a connection for the given route and with the given state from the pool.

Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.