public final class JavaNetHeaders extends Object
Modifier and Type | Method and Description |
---|---|
static Map<String,List<String>> |
toMultimap(Headers headers,
String valueForNullKey)
Returns an immutable map containing each field to its list of values.
|
public static Map<String,List<String>> toMultimap(Headers headers, String valueForNullKey)
valueForNullKey
- the request line for requests, or the status line for responses. If
non-null, this value is mapped to the null key.Copyright © 2017. All Rights Reserved.