org.apache.http.impl.conn
Class DefaultResponseParser

java.lang.Object
  extended by org.apache.http.impl.io.AbstractMessageParser<HttpMessage>
      extended by org.apache.http.impl.conn.DefaultResponseParser
All Implemented Interfaces:
HttpMessageParser<HttpMessage>

Deprecated. (4.2) use DefaultHttpResponseParser

@Deprecated
@Contract(threading=SAFE_CONDITIONAL)
public class DefaultResponseParser
extends AbstractMessageParser<HttpMessage>

Default HTTP response parser implementation.

The following parameters can be used to customize the behavior of this class:

Since:
4.0

Field Summary
 
Fields inherited from class org.apache.http.impl.io.AbstractMessageParser
lineParser
 
Constructor Summary
DefaultResponseParser(SessionInputBuffer buffer, LineParser parser, HttpResponseFactory responseFactory, HttpParams params)
          Deprecated.  
 
Method Summary
protected  int getMaxGarbageLines(HttpParams params)
          Deprecated.  
protected  HttpMessage parseHead(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
 

Constructor Detail

DefaultResponseParser

public DefaultResponseParser(SessionInputBuffer buffer,
                             LineParser parser,
                             HttpResponseFactory responseFactory,
                             HttpParams params)
Deprecated. 
Method Detail

getMaxGarbageLines

protected int getMaxGarbageLines(HttpParams params)
Deprecated. 

parseHead

protected HttpMessage parseHead(SessionInputBuffer sessionBuffer)
                         throws IOException,
                                HttpException
Deprecated. 
Specified by:
parseHead in class AbstractMessageParser<HttpMessage>
Throws:
IOException
HttpException


Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.