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 |
getName()
Get the header name.
|
String |
getValue()
Get the header value.
|
String[] |
getValues()
Get the comma separated value as an array.
|
String |
toString()
Get the String representation of the header.
|
public String getName()
public String getValue()
public String[] getValues()
public void addValue(String value)
value - the value to addCopyright © 2020 Microsoft Corporation. All rights reserved.