public interface AsyncClientHttpEngine extends ClientHttpEngine
Modifier and Type | Interface and Description |
---|---|
static interface |
AsyncClientHttpEngine.ResultExtractor<T>
Interface for extracting a result out of a ClientResponse
|
Modifier and Type | Method and Description |
---|---|
<T> Future<T> |
submit(ClientInvocation request,
boolean buffered,
InvocationCallback<T> callback,
AsyncClientHttpEngine.ResultExtractor<T> extractor)
Submits an asynchronous request.
|
close, getHostnameVerifier, getSslContext, invoke
<T> Future<T> submit(ClientInvocation request, boolean buffered, InvocationCallback<T> callback, AsyncClientHttpEngine.ResultExtractor<T> extractor)
T
- typerequest
- Requestbuffered
- buffer the response?callback
- Optional callback receiving the result, which is run inside the io-thread. may be null.extractor
- ResultExtractor for extracting a result out of a ClientResponse. Is run inside the io-threadCopyright © 2019 JBoss by Red Hat. All rights reserved.