< prev index next >

src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/MultiMapResult.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -33,22 +33,22 @@
 /**
  * A {@link java.util.Map} containing the result of a HTTP/2 request and multi-response.
  * {@Incubating}
  * <p>
  * This is one possible implementation of the aggregate result type {@code <U>} returned
- * from {@link HttpClient#sendAsync(HttpRequest,MultiProcessor) }.
+ * from {@link HttpClient#sendAsync(HttpRequest,HttpResponse.MultiSubscriber) }.
  * The map is indexed by {@link HttpRequest} and each value is a
  * {@link java.util.concurrent.CompletableFuture}&lt;
  * {@link HttpResponse}{@code <V>}&gt;
  * <p>
  * A {@code MultiMapResult} is obtained from an invocation such as the one shown below:
  * <p>
  * {@link CompletableFuture}&lt;{@code MultiMapResult<V>}&gt;
  * {@link HttpClient#sendAsync(HttpRequest,
- * HttpResponse.MultiProcessor) HttpClient.sendAsync(}{@link
- * HttpResponse.MultiProcessor#asMap(java.util.function.Function)
- * MultiProcessor.asMap(Function)})
+ * HttpResponse.MultiSubscriber) HttpClient.sendAsync(}{@link
+ * HttpResponse.MultiSubscriber#asMap(java.util.function.Function)
+ * MultiSubscriber.asMap(Function)})
  *
  * @param <V> the response body type for all responses
  */
 public class MultiMapResult<V> implements Map<HttpRequest,CompletableFuture<HttpResponse<V>>> {
     private final Map<HttpRequest,CompletableFuture<HttpResponse<V>>> map;

@@ -115,6 +115,5 @@
     @Override
     public Set<Entry<HttpRequest, CompletableFuture<HttpResponse<V>>>> entrySet() {
         return map.entrySet();
     }
 }
-
< prev index next >