src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/MultiMapResult.java
branchhttp-client-branch
changeset 55763 634d8e14c172
parent 47216 71c04702a3d5
child 55780 d4b5b95da972
equal deleted inserted replaced
55762:e947a3a50a95 55763:634d8e14c172
    42  * <p>
    42  * <p>
    43  * A {@code MultiMapResult} is obtained from an invocation such as the one shown below:
    43  * A {@code MultiMapResult} is obtained from an invocation such as the one shown below:
    44  * <p>
    44  * <p>
    45  * {@link CompletableFuture}&lt;{@code MultiMapResult<V>}&gt;
    45  * {@link CompletableFuture}&lt;{@code MultiMapResult<V>}&gt;
    46  * {@link HttpClient#sendAsync(HttpRequest,
    46  * {@link HttpClient#sendAsync(HttpRequest,
    47  * HttpResponse.MultiProcessor) HttpClient.sendAsync(}{@link
    47  * HttpResponse.MultiSubscriber) HttpClient.sendAsync(}{@link
    48  * HttpResponse.MultiProcessor#asMap(java.util.function.Function)
    48  * HttpResponse.MultiSubscriber#asMap(java.util.function.Function)
    49  * MultiProcessor.asMap(Function)})
    49  * MultiProcessor.asMap(Function)})
    50  *
    50  *
    51  * @param <V> the response body type for all responses
    51  * @param <V> the response body type for all responses
    52  */
    52  */
    53 public class MultiMapResult<V> implements Map<HttpRequest,CompletableFuture<HttpResponse<V>>> {
    53 public class MultiMapResult<V> implements Map<HttpRequest,CompletableFuture<HttpResponse<V>>> {
   115     @Override
   115     @Override
   116     public Set<Entry<HttpRequest, CompletableFuture<HttpResponse<V>>>> entrySet() {
   116     public Set<Entry<HttpRequest, CompletableFuture<HttpResponse<V>>>> entrySet() {
   117         return map.entrySet();
   117         return map.entrySet();
   118     }
   118     }
   119 }
   119 }
   120