org.apache.http.impl.io.AbstractMessageParser
Message parser base class.
Known Direct Subclasses
Summary
Fields
Public Constructors
Public Methods
Protected Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Fields
Public Constructors
Public Methods
public
static
Header[]
parseHeaders(SessionInputBuffer inbuffer, int maxHeaderCount, int maxLineLen, LineParser parser)
Parses HTTP headers from the data receiver stream according to the generic
format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3.
Parameters
| inbuffer
| Session input buffer |
| maxHeaderCount
| maximum number of headers allowed. If the number
of headers received from the data stream exceeds maxCount value, an
IOException will be thrown. Setting this parameter to a negative value
or zero will disable the check. |
| maxLineLen
| maximum number of characters for a header line,
including the continuation lines |
Protected Methods