public class HeaderPart extends Object
Used to configure responses.
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected String |
value |
Constructor and Description |
---|
HeaderPart() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName()
Get the name of the header element
|
String |
getValue()
Get the value of the header element
|
int |
hashCode() |
void |
setName(String name)
Set the name of the header element
|
void |
setValue(String value)
Set the value of the header element
|
public String getName()
public void setName(String name)
name
- The name of the header elementpublic String getValue()
public void setValue(String value)
value
- The value of the header elementCopyright © 2016. All Rights Reserved.