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