public class HttpHeader extends Object
| Constructor and Description |
|---|
HttpHeader(String name,
String value)
Create a new HttpHeader using the provided name and value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(String value)
Add another value to the end of this Header.
|
String |
name()
Get the name of this Header.
|
String |
toString()
Get the String representation of this HttpHeader.
|
String |
value()
Get the value of this Header.
|
String[] |
values()
Get the values of this Header that are separated by a comma.
|
public String name()
public String value()
public String[] values()
public void addValue(String value)
value - The value to add to the end of this Header./**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/