DefaultHttpResponseParser@Deprecated public class HttpResponseParser extends AbstractMessageParser
NHttpMessageParser implementation
for HttpResponses.
The following parameters can be used to customize the behavior of this class:
lineParser| Constructor and Description |
|---|
HttpResponseParser(SessionInputBuffer buffer,
LineParser parser,
HttpResponseFactory responseFactory,
HttpParams params)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected HttpMessage |
createMessage(CharArrayBuffer buffer)
Deprecated.
Creates
HttpMessage instance based on the content of the input
buffer containing the first line of the incoming HTTP message. |
fillBuffer, parse, resetpublic HttpResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, HttpParams params)
protected HttpMessage createMessage(CharArrayBuffer buffer) throws HttpException, ParseException
AbstractMessageParserHttpMessage instance based on the content of the input
buffer containing the first line of the incoming HTTP message.createMessage in class AbstractMessageParserbuffer - the line buffer.HttpException - in case of HTTP protocol violationParseException - in case of a parse error.Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.