@NotThreadSafe
public class LenientHttpResponseParser
extends org.apache.hc.core5.http.impl.io.DefaultHttpResponseParser
| Constructor and Description |
|---|
LenientHttpResponseParser(org.apache.hc.core5.http.message.LineParser lineParser,
org.apache.hc.core5.http.HttpResponseFactory responseFactory,
org.apache.hc.core5.http.config.MessageConstraints constraints)
Creates new instance of DefaultHttpResponseParser.
|
LenientHttpResponseParser(org.apache.hc.core5.http.config.MessageConstraints constraints)
Creates new instance of DefaultHttpResponseParser.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hc.core5.http.HttpResponse |
createMessage(org.apache.hc.core5.util.CharArrayBuffer buffer) |
createConnectionClosedExceptionpublic LenientHttpResponseParser(org.apache.hc.core5.http.message.LineParser lineParser,
org.apache.hc.core5.http.HttpResponseFactory responseFactory,
org.apache.hc.core5.http.config.MessageConstraints constraints)
lineParser - the line parser. If null
BasicLineParser.INSTANCE will be used.responseFactory - HTTP response factory. If null
DefaultHttpResponseFactory.INSTANCE will be used.constraints - the message constraints. If null
MessageConstraints.DEFAULT will be used.public LenientHttpResponseParser(org.apache.hc.core5.http.config.MessageConstraints constraints)
constraints - the message constraints. If null
MessageConstraints.DEFAULT will be used.protected org.apache.hc.core5.http.HttpResponse createMessage(org.apache.hc.core5.util.CharArrayBuffer buffer)
throws IOException
createMessage in class org.apache.hc.core5.http.impl.io.DefaultHttpResponseParserIOExceptionCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.