Home
last modified time | relevance | path

Searched refs:reuseStrategy (Results 1 – 5 of 5) sorted by relevance

/external/apache-http/src/org/apache/http/impl/client/
DAbstractHttpClient.java101 private ConnectionReuseStrategy reuseStrategy; field in AbstractHttpClient
267 if (reuseStrategy == null) { in getConnectionReuseStrategy()
268 reuseStrategy = createConnectionReuseStrategy(); in getConnectionReuseStrategy()
270 return reuseStrategy; in getConnectionReuseStrategy()
274 public synchronized void setReuseStrategy(final ConnectionReuseStrategy reuseStrategy) { in setReuseStrategy() argument
275 this.reuseStrategy = reuseStrategy; in setReuseStrategy()
DDefaultRequestDirector.java127 protected final ConnectionReuseStrategy reuseStrategy; field in DefaultRequestDirector
231 this.reuseStrategy = reustrat; in DefaultRequestDirector()
482 reuse = reuseStrategy.keepAlive(response, context); in execute()
783 if (this.reuseStrategy.keepAlive(response, context)) { in createTunnelToTarget()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DRegularFileTest.java57 for (ReuseStrategy reuseStrategy : EnumSet.allOf(ReuseStrategy.class)) { in suite()
58 TestSuite suiteForReuseStrategy = new TestSuite(reuseStrategy.toString()); in suite()
70 TestConfiguration state = new TestConfiguration(blockSize, cacheSize, reuseStrategy); in suite()
122 private final ReuseStrategy reuseStrategy; field in RegularFileTest.TestConfiguration
126 public TestConfiguration(int blockSize, int cacheSize, ReuseStrategy reuseStrategy) { in TestConfiguration() argument
129 this.reuseStrategy = reuseStrategy; in TestConfiguration()
131 if (reuseStrategy != ReuseStrategy.NEW_DISK) { in TestConfiguration()
142 if (reuseStrategy == ReuseStrategy.NEW_DISK) { in createRegularFile()
149 switch (reuseStrategy) { in tearDown()
167 return reuseStrategy + " [" + blockSize + ", " + cacheSize + "]"; in toString()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DDefaultRequestDirector.java148 protected final ConnectionReuseStrategy reuseStrategy; field in DefaultRequestDirector
260 this.reuseStrategy = reustrat; in DefaultRequestDirector()
533 reuse = reuseStrategy.keepAlive(response, context); in execute()
815 if (this.reuseStrategy.keepAlive(response, context)) { in createTunnelToTarget()
/external/apache-http/api/
Dcurrent.txt2601 field @Deprecated protected final org.apache.http.ConnectionReuseStrategy reuseStrategy;