public class FutureResponse extends Object
| Constructor and Description |
|---|
FutureResponse(ResponseCallback responseCallback) |
| Modifier and Type | Method and Description |
|---|---|
Response |
getResult() |
Response |
getResult(int timeout) |
void |
set(Response result) |
public FutureResponse(ResponseCallback responseCallback)
public Response getResult() throws IOException
IOExceptionpublic Response getResult(int timeout) throws IOException
IOExceptionpublic void set(Response result)
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.