Class SwiftPreventKeepAliveStrategy
java.lang.Object
org.apache.http.impl.DefaultConnectionReuseStrategy
org.apache.http.impl.client.DefaultClientConnectionReuseStrategy
fr.gouv.vitam.common.storage.swift.SwiftPreventKeepAliveStrategy
- All Implemented Interfaces:
org.apache.http.ConnectionReuseStrategy
public class SwiftPreventKeepAliveStrategy
extends org.apache.http.impl.client.DefaultClientConnectionReuseStrategy
-
Field Summary
Fields inherited from class org.apache.http.impl.client.DefaultClientConnectionReuseStrategy
INSTANCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
keepAlive
(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) Methods inherited from class org.apache.http.impl.DefaultConnectionReuseStrategy
createTokenIterator
-
Constructor Details
-
SwiftPreventKeepAliveStrategy
public SwiftPreventKeepAliveStrategy()
-
-
Method Details
-
keepAlive
public boolean keepAlive(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) - Specified by:
keepAlive
in interfaceorg.apache.http.ConnectionReuseStrategy
- Overrides:
keepAlive
in classorg.apache.http.impl.client.DefaultClientConnectionReuseStrategy
-