public class StandardHttpHeaders extends Object implements HttpHeaders
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_LENGTH |
static String |
CONTENT_TYPE |
static String |
EXPECT |
static String |
EXPECT_CONTINUE |
| Constructor and Description |
|---|
StandardHttpHeaders() |
StandardHttpHeaders(Map<String,List<String>> headers) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<String>> |
headers()
Returns a Map containing a list of String values for each Header.
|
List<String> |
headers(String key)
Returns a List of all the Header String values for the provided key/name.
|
public static final String CONTENT_TYPE
public static final String CONTENT_LENGTH
public static final String EXPECT
public static final String EXPECT_CONTINUE
public List<String> headers(String key)
HttpHeadersheaders in interface HttpHeaderskey - The header key/name for which to provide the values.public Map<String,List<String>> headers()
HttpHeadersheaders in interface HttpHeadersCopyright © 2015–2022 Red Hat. All rights reserved.