org.apache.http.impl.conn
Class DefaultResponseParser
java.lang.Object
org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpMessage>
org.apache.http.impl.conn.DefaultResponseParser
- All Implemented Interfaces:
- org.apache.http.io.HttpMessageParser<org.apache.http.HttpMessage>
Deprecated. (4.2) use DefaultHttpResponseParser
@Deprecated
@Contract(threading=SAFE_CONDITIONAL)
public class DefaultResponseParser
- extends org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpMessage>
Default HTTP response parser implementation.
The following parameters can be used to customize the behavior of this
class:
- Since:
- 4.0
Fields inherited from class org.apache.http.impl.io.AbstractMessageParser |
lineParser |
Constructor Summary |
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. |
Method Summary |
protected int |
getMaxGarbageLines(org.apache.http.params.HttpParams params)
Deprecated. |
protected org.apache.http.HttpMessage |
parseHead(org.apache.http.io.SessionInputBuffer sessionBuffer)
Deprecated. |
Methods inherited from class org.apache.http.impl.io.AbstractMessageParser |
parse, parseHeaders, parseHeaders |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultResponseParser
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)
- Deprecated.
getMaxGarbageLines
protected int getMaxGarbageLines(org.apache.http.params.HttpParams params)
- Deprecated.
parseHead
protected org.apache.http.HttpMessage parseHead(org.apache.http.io.SessionInputBuffer sessionBuffer)
throws IOException,
org.apache.http.HttpException
- Deprecated.
- Specified by:
parseHead
in class org.apache.http.impl.io.AbstractMessageParser<org.apache.http.HttpMessage>
- Throws:
IOException
org.apache.http.HttpException
Copyright © 1999–2019 The Apache Software Foundation. All rights reserved.