FileDocCategorySizeDatePackage
NoConnectionReuseStrategy.javaAPI DocAndroid 1.5 API2303Wed May 06 22:41:10 BST 2009org.apache.http.impl

NoConnectionReuseStrategy

public class NoConnectionReuseStrategy extends Object implements ConnectionReuseStrategy
A strategy that never re-uses a connection.
author
Roland Weber
version
$Revision: 502684 $
since
4.0

Fields Summary
Constructors Summary
Methods Summary
public booleankeepAlive(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)

        if (response == null) {
            throw new IllegalArgumentException("HTTP response may not be null");
        }
        if (context == null) {
            throw new IllegalArgumentException("HTTP context may not be null");
        }

        return false;