|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.message.BasicHeader
@Immutable public class BasicHeader
Basic implementation of Header
.
Constructor Summary | |
---|---|
BasicHeader(String name,
String value)
Constructor with name and value |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BasicHeader(String name, String value)
name
- the header namevalue
- the header valueMethod Detail |
---|
public String getName()
Header
getName
in interface Header
null
public String getValue()
Header
getValue
in interface Header
null
public String toString()
toString
in class Object
public HeaderElement[] getElements() throws ParseException
Header
getElements
in interface Header
HeaderElement
entries, may be empty, but is never null
ParseException
- in case of a parsing errorpublic Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |