org.apache.http.impl
Class NoConnectionReuseStrategyHC4

java.lang.Object
  extended by org.apache.http.impl.NoConnectionReuseStrategyHC4
All Implemented Interfaces:
org.apache.http.ConnectionReuseStrategy

@Immutable
public class NoConnectionReuseStrategyHC4
extends java.lang.Object
implements org.apache.http.ConnectionReuseStrategy

A strategy that never re-uses a connection.

Since:
4.0

Field Summary
static NoConnectionReuseStrategyHC4 INSTANCE
           
 
Constructor Summary
NoConnectionReuseStrategyHC4()
           
 
Method Summary
 boolean keepAlive(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final NoConnectionReuseStrategyHC4 INSTANCE
Constructor Detail

NoConnectionReuseStrategyHC4

public NoConnectionReuseStrategyHC4()
Method Detail

keepAlive

public boolean keepAlive(org.apache.http.HttpResponse response,
                         org.apache.http.protocol.HttpContext context)
Specified by:
keepAlive in interface org.apache.http.ConnectionReuseStrategy