public static class**UrlRequestCallbacks.CallbackAndResponseFuturePair** extends Object  
A named pair-like structure encapsulating Cronet callbacks and associated response futures.

The request should be used to pass to`CronetEngine.newUrlRequest()`, the future will contain the response to the request.  

### Public Method Summary

|------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| CallbackT                                                                                                                                                        | [getCallback](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/apihelpers/UrlRequestCallbacks.CallbackAndResponseFuturePair.html#getCallback())() |
| Future\<[CronetResponse](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/apihelpers/CronetResponse.html)\<ResponseBodyT\>\> | [getFuture](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/apihelpers/UrlRequestCallbacks.CallbackAndResponseFuturePair.html#getFuture())()     |

### Inherited Method Summary

From class java.lang.Object  

|------------------|---------------------------|
| Object           | clone()                   |
| boolean          | equals(Object arg0)       |
| void             | finalize()                |
| final Class\<?\> | getClass()                |
| int              | hashCode()                |
| final void       | notify()                  |
| final void       | notifyAll()               |
| String           | toString()                |
| final void       | wait(long arg0, int arg1) |
| final void       | wait(long arg0)           |
| final void       | wait()                    |

## Public Methods

#### public CallbackT**getCallback**()

<br />

#### public Future\<[CronetResponse](https://developer.android.com/develop/connectivity/cronet/reference/org/chromium/net/apihelpers/CronetResponse.html)\<ResponseBodyT\>\>**getFuture**()

<br />