public class DefaultHttpResponseParser
extends org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpResponse>
Constructor and Description |
---|
DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer)
Creates new instance of DefaultHttpResponseParser.
|
DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer,
org.apache.http.message.LineParser parser,
org.apache.http.HttpResponseFactory responseFactory,
org.apache.http.params.HttpParams params)
|
DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer,
org.apache.http.message.LineParser lineParser,
org.apache.http.HttpResponseFactory responseFactory,
org.apache.http.config.MessageConstraints constraints)
Creates new instance of DefaultHttpResponseParser.
|
DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer,
org.apache.http.config.MessageConstraints constraints)
Creates new instance of DefaultHttpResponseParser.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.http.HttpResponse |
parseHead(org.apache.http.io.SessionInputBuffer sessionBuffer) |
protected boolean |
reject(org.apache.http.util.CharArrayBuffer line,
int count) |
@Deprecated public DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer, org.apache.http.message.LineParser parser, org.apache.http.HttpResponseFactory responseFactory, org.apache.http.params.HttpParams params)
public DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer, org.apache.http.message.LineParser lineParser, org.apache.http.HttpResponseFactory responseFactory, org.apache.http.config.MessageConstraints constraints)
buffer
- the session input buffer.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 DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer, org.apache.http.config.MessageConstraints constraints)
buffer
- the session input buffer.constraints
- the message constraints. If null
MessageConstraints.DEFAULT
will be used.public DefaultHttpResponseParser(org.apache.http.io.SessionInputBuffer buffer)
buffer
- the session input buffer.protected org.apache.http.HttpResponse parseHead(org.apache.http.io.SessionInputBuffer sessionBuffer) throws IOException, org.apache.http.HttpException
parseHead
in class org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpResponse>
IOException
org.apache.http.HttpException
protected boolean reject(org.apache.http.util.CharArrayBuffer line, int count)
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.