if (cachedValue != null) {
// cached value found -> write it
if (this.logger.isDebugEnabled()) {
this.logger.debug("Write cache value to output stream: " + cachedValue);
}
cachedValue.writeTo(this.cachingOutputStream.getOutputStream());
if (!cachedValue.isValid(this.cacheKey)) {
if (this.logger.isDebugEnabled()) {
this.logger.debug("Cached value is not up to date. Delegating to " + this.cacheRefreshManager);
}