Searched refs:reuseStrategy (Results 1 – 5 of 5) sorted by relevance
101 private ConnectionReuseStrategy reuseStrategy; field in AbstractHttpClient267 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() argument275 this.reuseStrategy = reuseStrategy; in setReuseStrategy()
127 protected final ConnectionReuseStrategy reuseStrategy; field in DefaultRequestDirector231 this.reuseStrategy = reustrat; in DefaultRequestDirector()482 reuse = reuseStrategy.keepAlive(response, context); in execute()783 if (this.reuseStrategy.keepAlive(response, context)) { in createTunnelToTarget()
57 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.TestConfiguration126 public TestConfiguration(int blockSize, int cacheSize, ReuseStrategy reuseStrategy) { in TestConfiguration() argument129 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()
148 protected final ConnectionReuseStrategy reuseStrategy; field in DefaultRequestDirector260 this.reuseStrategy = reustrat; in DefaultRequestDirector()533 reuse = reuseStrategy.keepAlive(response, context); in execute()815 if (this.reuseStrategy.keepAlive(response, context)) { in createTunnelToTarget()
2601 field @Deprecated protected final org.apache.http.ConnectionReuseStrategy reuseStrategy;