Modifier and Type | Method | Description |
---|---|---|
static <V> HttpResponse.MultiProcessor<MultiMapResult<V>,V> |
HttpResponse.MultiProcessor.asMap(Function<HttpRequest,Optional<HttpResponse.BodyHandler<V>>> pushHandler) |
Returns a general purpose handler for multi responses.
|
static <V> HttpResponse.MultiProcessor<MultiMapResult<V>,V> |
HttpResponse.MultiProcessor.asMap(Function<HttpRequest,Optional<HttpResponse.BodyHandler<V>>> pushHandler,
boolean completion) |
Returns a general purpose handler for multi responses.
|
Modifier and Type | Method | Description |
---|---|---|
abstract <U,T> CompletableFuture<U> |
HttpClient.sendAsync(HttpRequest req,
HttpResponse.MultiProcessor<U,T> multiProcessor) |
Sends the given request asynchronously using this client and the given
multi response handler.
|
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b158-1