Basic implementation for parsing header values into elements.
Instances of this class are stateless and thread-safe.
Derived classes are expected to maintain these properties.
author: B.C.
Interface for formatting elements of the HEAD section of an HTTP message.
This is the complement to
LineParser .
There are individual methods for formatting a request line, a
status line, or a header line.
Basic parser for lines in the head section of an HTTP message.
There are individual methods for parsing a request line, a
status line, or a header line.
The lines to parse are passed in memory, the parser does not depend
on any specific IO mechanism.
Instances of this class are stateless and thread-safe.
Derived classes MUST maintain these properties.
Note: This class was created by refactoring parsing code located in
various other classes.
Interface for formatting elements of a header value.
This is the complement to
HeaderValueParser .
Instances of this interface are expected to be stateless and thread-safe.
All formatting methods accept an optional buffer argument.
If a buffer is passed in, the formatted element will be appended
and the modified buffer is returned.
Interface for formatting elements of the HEAD section of an HTTP message.
This is the complement to
LineParser .
There are individual methods for formatting a request line, a
status line, or a header line.