Class HttpHeaderParser
java.lang.Object
org.apache.tomcat.util.http.parser.HttpHeaderParser
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static enum
static enum
-
Constructor Summary
ConstructorDescriptionHttpHeaderParser
(HttpHeaderParser.HeaderDataSource source, MimeHeaders headers, boolean tolerantEol) -
Method Summary
-
Constructor Details
-
HttpHeaderParser
public HttpHeaderParser(HttpHeaderParser.HeaderDataSource source, MimeHeaders headers, boolean tolerantEol)
-
-
Method Details
-
recycle
public void recycle() -
parseHeader
Parse an HTTP header.- Returns:
- One of
HttpHeaderParser.HeaderParseStatus.NEED_MORE_DATA
,HttpHeaderParser.HeaderParseStatus.HAVE_MORE_HEADERS
orHttpHeaderParser.HeaderParseStatus.DONE
. - Throws:
IOException
- If an error occurs during the parsing of the headers
-