UrlRequestCallbacks.CallbackAndResponseFuturePair

Stay organized with collections Save and categorize content based on your preferences.
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
Future<CronetResponse<ResponseBodyT>>

Inherited Method Summary

Public Methods

public CallbackT getCallback ()

public Future<CronetResponse<ResponseBodyT>> getFuture ()