MultiMapResult (Java SE 10 & JDK 10 )
Keywords: jdk.incubator.http.MultiMapResult class

Module jdk.incubator.httpclient
Package jdk.incubator.http

## Class MultiMapResult<V>

- java.lang.Object
- - jdk.incubator.http.MultiMapResult<V>

- Type Parameters:
    `V` - the response body type for all responses
  All Implemented Interfaces:
    `Map<HttpRequest,CompletableFuture<HttpResponse<V>>>`

      public class MultiMapResult<V>
      extends Object
      implements Map<HttpRequest,CompletableFuture<HttpResponse<V>>>

  A `Map` containing the result of a HTTP/2 request and multi-response.
  Incubating Feature. Will be removed in a future release.

  This is one possible implementation of the aggregate result type `<U>` returned from `HttpClient.sendAsync(HttpRequest,HttpResponse.MultiSubscriber)`. The map is indexed by `HttpRequest` and each value is a `CompletableFuture`< `HttpResponse``<V>`>

  A `MultiMapResult` is obtained from an invocation such as the one shown below:

  `CompletableFuture`<`MultiMapResult<V>`> `HttpClient.sendAsync(``MultiSubscriber.asMap(Function)`)

- - ### Nested Class Summary

    - ### Nested classes/interfaces declared in interface java.util.Map

      `Map.Entry<K,V>`

  - ### Method Summary

    - ### Methods declared in interface java.util.Map

      `clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values`

    - ### Methods declared in class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`