DefaultHttpResponseParser
@Deprecated
@Contract(threading=SAFE_CONDITIONAL)
public class DefaultResponseParser
extends org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpMessage>
The following parameters can be used to customize the behavior of this class:
CoreConnectionPNames.MAX_HEADER_COUNT
CoreConnectionPNames.MAX_LINE_LENGTH
ConnConnectionPNames.MAX_STATUS_LINE_GARBAGE
Modifier and Type | Field and Description |
---|---|
private org.apache.http.util.CharArrayBuffer |
lineBuf
Deprecated.
|
private org.apache.commons.logging.Log |
log
Deprecated.
|
private int |
maxGarbageLines
Deprecated.
|
private org.apache.http.HttpResponseFactory |
responseFactory
Deprecated.
|
Constructor and Description |
---|
DefaultResponseParser(org.apache.http.io.SessionInputBuffer buffer,
org.apache.http.message.LineParser parser,
org.apache.http.HttpResponseFactory responseFactory,
org.apache.http.params.HttpParams params)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getMaxGarbageLines(org.apache.http.params.HttpParams params)
Deprecated.
|
protected org.apache.http.HttpMessage |
parseHead(org.apache.http.io.SessionInputBuffer sessionBuffer)
Deprecated.
|
private final org.apache.commons.logging.Log log
private final org.apache.http.HttpResponseFactory responseFactory
private final org.apache.http.util.CharArrayBuffer lineBuf
private final int maxGarbageLines
public DefaultResponseParser(org.apache.http.io.SessionInputBuffer buffer, org.apache.http.message.LineParser parser, org.apache.http.HttpResponseFactory responseFactory, org.apache.http.params.HttpParams params)
protected int getMaxGarbageLines(org.apache.http.params.HttpParams params)
protected org.apache.http.HttpMessage parseHead(org.apache.http.io.SessionInputBuffer sessionBuffer) throws java.io.IOException, org.apache.http.HttpException
parseHead
in class org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpMessage>
java.io.IOException
org.apache.http.HttpException