/** * {@inheritDoc} * The default behavior of this method is to call cleanUp() on the wrapped webResponse object. */ @Override public void cleanUp() { wrappedWebResponse_.cleanUp(); }
/** * {@inheritDoc} * The default behavior of this method is to call cleanUp() on the wrapped webResponse object. */ @Override public void cleanUp() { wrappedWebResponse_.cleanUp(); }
/** * Clears the cache. */ public void clear() { synchronized (entries_) { for (final Entry entry : entries_.values()) { if (entry.response_ != null) { entry.response_.cleanUp(); } } entries_.clear(); } } }
/** * Clears the cache. */ public void clear() { synchronized (entries_) { for (final Entry entry : entries_.values()) { if (entry.response_ != null) { entry.response_.cleanUp(); } } entries_.clear(); } } }
/** * Truncates the cache to the maximal number of entries. */ protected void deleteOverflow() { synchronized (entries_) { while (entries_.size() > maxSize_) { final Entry oldestEntry = Collections.min(entries_.values()); entries_.remove(oldestEntry.key_); if (oldestEntry.response_ != null) { oldestEntry.response_.cleanUp(); } } } }
/** * Truncates the cache to the maximal number of entries. */ protected void deleteOverflow() { synchronized (entries_) { while (entries_.size() > maxSize_) { final Entry oldestEntry = Collections.min(entries_.values()); entries_.remove(oldestEntry.key_); if (oldestEntry.response_ != null) { oldestEntry.response_.cleanUp(); } } } }
/** * {@inheritDoc} */ @Override public void cleanUp() { if (getWebClient().getCache().getCachedResponse(webResponse_.getWebRequest()) == null) { webResponse_.cleanUp(); } }
/** * {@inheritDoc} */ @Override public void cleanUp() { if (getWebClient().getCache().getCachedResponse(webResponse_.getWebRequest()) == null) { webResponse_.cleanUp(); } }
/** * Cleans up this page. */ @Override public void cleanUp() { if (getEnclosingWindow().getWebClient().getCache().getCachedResponse(webResponse_.getWebRequest()) == null) { webResponse_.cleanUp(); } }
/** * Cleans up this page. */ @Override public void cleanUp() { if (getEnclosingWindow().getWebClient().getCache().getCachedResponse(webResponse_.getWebRequest()) == null) { webResponse_.cleanUp(); } }
response.cleanUp();
response.cleanUp();