T - The type of MessageHeaders.public interface HttpMessageParser<T extends MessageHeaders>
| Modifier and Type | Method and Description |
|---|---|
T |
parse(SessionInputBuffer buffer,
InputStream inputStream)
Generates an instance of
MessageHeaders from the given input stream.. |
T parse(SessionInputBuffer buffer, InputStream inputStream) throws IOException, HttpException
MessageHeaders from the given input stream..buffer - Session input bufferinputStream - Input streamnull if the input stream has been
closed by the opposite endpoint.IOException - in case of an I/O errorHttpException - in case of HTTP protocol violationCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.