public class Header extends Object
Used to configure responses.
Modifier and Type | Field and Description |
---|---|
protected int |
code |
protected List<HeaderPart> |
parts |
Constructor and Description |
---|
Header() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getCode()
Get the status code of the header
|
List<HeaderPart> |
getPart()
Get the header parts of the header
|
int |
hashCode() |
void |
setCode(int value)
Set the status code of the header
|
void |
setPart(List<HeaderPart> list)
Set the header parts of the header
|
protected int code
protected List<HeaderPart> parts
public int getCode()
public void setCode(int value)
value
- The status code of the headerpublic List<HeaderPart> getPart()
public void setPart(List<HeaderPart> list)
list
- The header parts of the headerCopyright © 2016. All Rights Reserved.