public interface NHttpMessageParser<T extends MessageHeaders>
| Modifier and Type | Method and Description |
|---|---|
T |
parse(SessionInputBuffer buffer,
boolean endOfStream)
Attempts to parse a complete message head from the content of the
internal buffer.
|
void |
reset()
Resets the parser.
|
void reset()
T parse(SessionInputBuffer buffer, boolean endOfStream) throws IOException, HttpException
null.buffer - session input buffer.endOfStream - end of stream flagnull otherwise.IOException - in case of an I/O error.HttpException - in case the HTTP message is malformed or
violates the HTTP protocol.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.