FileDocCategorySizeDatePackage
ConnConnectionPNames.javaAPI DocAndroid 1.5 API2499Wed May 06 22:41:10 BST 2009org.apache.http.conn.params

ConnConnectionPNames

public interface ConnConnectionPNames
Parameter names for connections in HttpConn.
version
$Revision: 576068 $
since
4.0

Fields Summary
public static final String
MAX_STATUS_LINE_GARBAGE
Defines the maximum number of ignorable lines before we expect a HTTP response's status line.

With HTTP/1.1 persistent connections, the problem arises that broken scripts could return a wrong Content-Length (there are more bytes sent than specified). Unfortunately, in some cases, this cannot be detected after the bad response, but only before the next one. So HttpClient must be able to skip those surplus lines this way.

This parameter expects a value of type {@link Integer}. 0 disallows all garbage/empty lines before the status line. Use {@link java.lang.Integer#MAX_VALUE} for unlimited (default in lenient mode).

Constructors Summary
Methods Summary