return dpu(FutureData.wrap(stream));
}
public FutureData<Dpu> dpu(FutureData<Stream> streamFuture) {
final FutureData<Dpu> future = new FutureData<Dpu>();
final Dpu dpu = new Dpu();
//
final FutureResponse<Stream> response = new FutureResponse<Stream>() {
public void apply(Stream stream) {
URI uri = newParams().put("hash", stream.hash()).forURL(config.newAPIEndpointURI(DPU));
Request request = config.http().GET(uri, new PageReader(newRequestCallback(future, dpu, config)));