@Immutable public class BasicHeader extends Object implements Header, Cloneable, Serializable
Header.| Constructor and Description |
|---|
BasicHeader(String name,
String value)
Constructor with name and value
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
HeaderElement[] |
getElements()
Parses the value.
|
String |
getName()
Get the name of the Header.
|
String |
getValue()
Get the value of the Header.
|
String |
toString() |
public String getName()
Headerpublic String getValue()
Headerpublic HeaderElement[] getElements() throws ParseException
HeadergetElements in interface HeaderHeaderElement entries, may be empty, but is never nullParseExceptionpublic Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2005–2013 The Apache Software Foundation. All rights reserved.