public class LenientHttpResponseParser
extends org.apache.hc.core5.http.impl.io.DefaultHttpResponseParser
Constructor and Description |
---|
LenientHttpResponseParser(org.apache.hc.core5.http.config.Http1Config h1Config)
Creates new instance of DefaultHttpResponseParser.
|
LenientHttpResponseParser(org.apache.hc.core5.http.message.LineParser lineParser,
org.apache.hc.core5.http.HttpResponseFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseFactory,
org.apache.hc.core5.http.config.Http1Config h1Config)
Creates new instance of DefaultHttpResponseParser.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.hc.core5.http.ClassicHttpResponse |
createMessage(org.apache.hc.core5.util.CharArrayBuffer buffer) |
public LenientHttpResponseParser(org.apache.hc.core5.http.message.LineParser lineParser, org.apache.hc.core5.http.HttpResponseFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseFactory, org.apache.hc.core5.http.config.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(org.apache.hc.core5.http.config.Http1Config h1Config)
h1Config
- HTTP/1.1 parameters. If null
. Http1Config.DEFAULT
will be used.protected org.apache.hc.core5.http.ClassicHttpResponse createMessage(org.apache.hc.core5.util.CharArrayBuffer buffer) throws IOException
createMessage
in class org.apache.hc.core5.http.impl.io.DefaultHttpResponseParser
IOException
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.