public class LenientHttpResponseParser extends DefaultHttpResponseParser
| Constructor and Description |
|---|
LenientHttpResponseParser(Http1Config h1Config)
Creates new instance of DefaultHttpResponseParser.
|
LenientHttpResponseParser(LineParser lineParser,
HttpResponseFactory<ClassicHttpResponse> responseFactory,
Http1Config h1Config)
Creates new instance of DefaultHttpResponseParser.
|
| Modifier and Type | Method and Description |
|---|---|
protected ClassicHttpResponse |
createMessage(CharArrayBuffer buffer) |
createConnectionClosedException, parse, parseHeaders, parseHeaderspublic LenientHttpResponseParser(LineParser lineParser, HttpResponseFactory<ClassicHttpResponse> responseFactory, Http1Config h1Config)
lineParser - the line parser. If null
BasicLineParser.INSTANCE will be used.responseFactory - HTTP response factory. If null
DefaultClassicHttpResponseFactory.INSTANCE
will be used.h1Config - HTTP/1.1 parameters. If null. Http1Config.DEFAULT will be used.public LenientHttpResponseParser(Http1Config h1Config)
h1Config - HTTP/1.1 parameters. If null. Http1Config.DEFAULT will be used.protected ClassicHttpResponse createMessage(CharArrayBuffer buffer) throws IOException
createMessage in class DefaultHttpResponseParserIOExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.