public class HTTPHeader extends Object
| Constructor and Description |
|---|
HTTPHeader() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name in HTTP header.
|
String |
value()
Get the value in HTTP header.
|
HTTPHeader |
withName(String name)
Set the name in HTTP header.
|
HTTPHeader |
withValue(String value)
Set the value in HTTP header.
|
public String name()
public HTTPHeader withName(String name)
name - the name value to setpublic String value()
public HTTPHeader withValue(String value)
value - the value value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/