public interface AsyncClientHandler
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<ClientResponse> |
handle(ClientRequest r,
FutureListener<ClientResponse> l)
Invoke an asynchronous client request.
|
java.util.concurrent.Future<ClientResponse> handle(ClientRequest r, FutureListener<ClientResponse> l)
r
- the client request.l
- the future listener to receive a completed Future with the
client response.Copyright © 2016 Oracle Corporation. All Rights Reserved.