Code example for CharArrayBuffer

Methods: length, substringTrimmed

0
    public String getName() {
        return this.name;
    } 
 
    public String getValue() {
        return this.buffer.substringTrimmed(this.valuePos, this.buffer.length());
    } 
 
    public HeaderElement[] getElements() throws ParseException {
        ParserCursor cursor = new ParserCursor(0, this.buffer.length());
        cursor.updatePos(this.valuePos);
        return BasicHeaderValueParser.DEFAULT
            .parseElements(this.buffer, cursor);
    } 
 
    public int getValuePos() { 
        return this.valuePos;
    } 
 
    public CharArrayBuffer getBuffer() {
        return this.buffer;