public interface LineParser
| Modifier and Type | Method and Description | 
|---|---|
| Header | parseHeader(CharArrayBuffer buffer)Parses a header from the given buffer containing one line of text. | 
| RequestLine | parseRequestLine(CharArrayBuffer buffer)Parses a request line from the given buffer containing one line of text. | 
| StatusLine | parseStatusLine(CharArrayBuffer buffer)Parses a status line from the given buffer containing one line of text. | 
RequestLine parseRequestLine(CharArrayBuffer buffer) throws ParseException
buffer - a buffer holding a line to parseParseException - in case of a parse errorStatusLine parseStatusLine(CharArrayBuffer buffer) throws ParseException
buffer - a buffer holding a line to parseParseException - in case of a parse errorHeader parseHeader(CharArrayBuffer buffer) throws ParseException
buffer - a buffer holding the full header line.ParseException - in case of a parse errorCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.