public class HTTPByteBufferAnalyzer extends Object
Constructor and Description |
---|
HTTPByteBufferAnalyzer()
Constructor for the HTTPAnalyzer object
|
Modifier and Type | Method and Description |
---|---|
void |
parse(ByteBuffer b,
Response r,
boolean preview)
Parses HTTP response in a
ByteBuffer which must be Buffer.flip() ed before
this method invocation. |
public HTTPByteBufferAnalyzer()
public void parse(ByteBuffer b, Response r, boolean preview) throws HTTPParserException
ByteBuffer
which must be Buffer.flip()
ed before
this method invocation.
WARNING! This method may modify the original buffer if the data is transfered as chunked and the mode of
operation IS NOT preview. In such a case, the original buffer should not be used.b
- Description of the Parameterr
- Description of the Parameterpreview
- false iff the method must process data, otherwise just headers are processedHTTPParserException
- Description of the ExceptionCopyright © 2016 Egothor. All Rights Reserved.