org.apache.http.impl.client
Class DefaultClientConnectionReuseStrategy

java.lang.Object
  extended by org.apache.http.impl.DefaultConnectionReuseStrategy
      extended by org.apache.http.impl.client.DefaultClientConnectionReuseStrategy
All Implemented Interfaces:
ConnectionReuseStrategy

public class DefaultClientConnectionReuseStrategy
extends DefaultConnectionReuseStrategy


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

Field Detail

INSTANCE

public static final DefaultClientConnectionReuseStrategy INSTANCE
Constructor Detail

DefaultClientConnectionReuseStrategy

public DefaultClientConnectionReuseStrategy()
Method Detail

keepAlive

public boolean keepAlive(HttpResponse response,
                         HttpContext context)
Specified by:
keepAlive in interface ConnectionReuseStrategy
Overrides:
keepAlive in class DefaultConnectionReuseStrategy


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