public class TimeScopedHttpClientCache extends HttpClientCache
HttpClientCache
, caching the HttpClient
s for the amoun of time given in the
constructor.public TimeScopedHttpClientCache(long duration, @NonNull TimeUnit unit)
HttpClient
for the given duration.duration
- The number of time units to store the HttpClient
s.unit
- The TimeUnit
the duration is given in.Copyright © 2018 SAP SE. All rights reserved.