Package org.apache.http.message
Class BasicHeader
- java.lang.Object
 - 
- org.apache.http.message.BasicHeader
 
 
- 
- 
Constructor Summary
Constructors Constructor Description BasicHeader(java.lang.String name, java.lang.String value)Constructor with name and value 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()HeaderElement[]getElements()Parses the value.java.lang.StringgetName()Get the name of the Header.java.lang.StringgetValue()Get the value of the Header.java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getName
public java.lang.String getName()
Description copied from interface:HeaderGet the name of the Header. 
- 
getValue
public java.lang.String getValue()
Description copied from interface:HeaderGet the value of the Header. 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
getElements
public HeaderElement[] getElements() throws ParseException
Description copied from interface:HeaderParses the value.- Specified by:
 getElementsin interfaceHeader- Returns:
 - an array of 
HeaderElemententries, may be empty, but is nevernull - Throws:
 ParseException- in case of a parsing error
 
- 
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException- Throws:
 java.lang.CloneNotSupportedException
 
 - 
 
 -