public class HttpHeader extends Object
| Constructor and Description |
|---|
HttpHeader(String name,
String value)
Create a HttpHeader instance using the provided name and value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(String value)
Add a new value to the end of the Header.
|
String |
name()
Get the header name.
|
String |
toString()
Get the String representation of the header.
|
String |
value()
Get the header value.
|
String[] |
values()
Get the comma separated value as an array.
|
public String name()
public String value()
public String[] values()
public void addValue(String value)
value - the value to addCopyright © 2019 Microsoft Corporation. All rights reserved.