Methods Summary |
---|
public java.lang.Object | clone()
// buffer is considered immutable
// no need to make a copy of it
return super.clone();
|
public org.apache.http.util.CharArrayBuffer | getBuffer()
return this.buffer;
|
public org.apache.http.HeaderElement[] | getElements()
ParserCursor cursor = new ParserCursor(0, this.buffer.length());
cursor.updatePos(this.valuePos);
return BasicHeaderValueParser.DEFAULT
.parseElements(this.buffer, cursor);
|
public java.lang.String | getName()
return this.name;
|
public java.lang.String | getValue()
return this.buffer.substringTrimmed(this.valuePos, this.buffer.length());
|
public int | getValuePos()
return this.valuePos;
|
public java.lang.String | toString()
return this.buffer.toString();
|