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
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.
|
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 IOException, org.apache.http.HttpException
parseHead
in class org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpMessage>
IOException
org.apache.http.HttpException
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.